Divided codes into service/logic and controller layers.
Change-Id: I8f5f2fe11862bb23e011585561ea18a1b9e43cb6
diff --git a/full/pom.xml b/full/pom.xml
index ae87426..d4aca6e 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -70,9 +70,38 @@
<compilerVersion>${java.version}</compilerVersion>
<source>${java.version}</source>
<target>${java.version}</target>
+ <processors>
+ <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
+ <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
+ </processors>
</configuration>
</plugin>
-
+ <!-- <plugin>
+ <groupId>org.bsc.maven</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ <version>2.2.4</version>
+ <executions>
+ <execution>
+ <id>process</id>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <processors>
+ <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor,org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
+ </processors>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>5.2.12.Final</version>
+ </dependency>
+ </dependencies>
+ </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@@ -172,14 +201,20 @@
<artifactId>unboundid-ldapsdk</artifactId>
<version>3.2.1</version>
</dependency>
-
+
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.1.8.Final</version>
</dependency>
-
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>5.2.12.Final</version>
+ <scope>provided</scope>
+ </dependency>
+
<!-- MySql -->
<dependency>
<groupId>mysql</groupId>
@@ -212,7 +247,7 @@
<artifactId>spring-tx</artifactId>
<version>${spring-framework.version}</version>
</dependency>
-
+
<!-- Flyway -->
<dependency>
<groupId>org.flywaydb</groupId>