diff --git a/pom.xml b/pom.xml
index f90ced80e071fe3df8c0cc715c7538ef7fb43483..3cb03881bef221e957843a53ecd2a96eed3af908 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,9 +67,9 @@
 
 		<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
 		<dependency>
-		    <groupId>org.hibernate</groupId>
-		    <artifactId>hibernate-core</artifactId>
-		    <version>5.4.30.Final</version>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-core</artifactId>
+			<version>5.4.30.Final</version>
 		</dependency>
 		<dependency>
 			<groupId>org.hibernate</groupId>
@@ -77,7 +77,7 @@
 			<scope>provided</scope>
 			<version>5.4.30.Final</version>
 		</dependency>
-		
+
 		<!-- https://mvnrepository.com/artifact/org.apache.derby/derby -->
 		<dependency>
 			<groupId>org.apache.derby</groupId>
@@ -96,32 +96,49 @@
 			<artifactId>derbytools</artifactId>
 			<version>10.15.2.0</version>
 		</dependency>
-		
+
 		<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
 		<dependency>
-		    <groupId>javax.annotation</groupId>
-		    <artifactId>javax.annotation-api</artifactId>
-		    <version>1.3.2</version>
+			<groupId>javax.annotation</groupId>
+			<artifactId>javax.annotation-api</artifactId>
+			<version>1.3.2</version>
 		</dependency>
-		
-				
+
+
 	</dependencies>
 	<build>
 		<plugins>
 			<plugin>
-	            <groupId>org.apache.maven.plugins</groupId>
-	            <artifactId>maven-compiler-plugin</artifactId>
-	            <version>3.8.1</version>
-	            <configuration>
-	            	<annotationProcessorPaths>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>3.8.1</version>
+				<configuration>
+					<annotationProcessorPaths>
 						<path>
 							<groupId>org.projectlombok</groupId>
 							<artifactId>lombok</artifactId>
 							<version>1.18.20</version>
 						</path>
+						<path>
+							<groupId>org.hibernate</groupId>
+							<artifactId>hibernate-jpamodelgen</artifactId>
+							<version>5.4.30.Final</version>
+						</path>
 					</annotationProcessorPaths>
-	            </configuration>
-	        </plugin>
+					
+					<compilerArguments>
+					
+						<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
+					
+					</compilerArguments>
+				</configuration>
+				<executions>
+					<execution>
+						<id>process</id>
+						<phase>generate-sources</phase>
+					</execution>
+				</executions>
+			</plugin>
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>build-helper-maven-plugin</artifactId>
@@ -141,29 +158,6 @@
 					</execution>
 				</executions>
 			</plugin>
-			 <plugin>
-		        <groupId>org.bsc.maven</groupId>
-		        <artifactId>maven-processor-plugin</artifactId>
-		        <executions>
-		            <execution>
-		                <id>process</id>
-		                <goals>
-		                    <goal>process</goal>
-		                </goals>
-		                <phase>generate-sources</phase>
-		                <configuration>
-		                    <!-- source output directory -->
-		                    <outputDirectory>target/generated-sources/annotations</outputDirectory>
-		                    <processors>
-		                        <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
-		                    </processors>
-		                    <overwrite>true</overwrite>
-		                </configuration>
-		            </execution>
-		        </executions>
-		    </plugin>
-			
 		</plugins>
 	</build>
-	
 </project>