add hibernate JPA libraries in base 55/7755/2
authorJorge Hernandez <jh1730@att.com>
Wed, 16 Aug 2017 17:41:11 +0000 (12:41 -0500)
committerJorge Hernandez <jh1730@att.com>
Wed, 16 Aug 2017 17:44:59 +0000 (12:44 -0500)
To make feature development easier for DB-enabled features

Change-Id: I7f69ecfbbfb9eaac92f698bdb787ce881eec39f0
Issue-ID: POLICY-96
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-management/pom.xml
pom.xml

index e319660..b01668b 100644 (file)
            <groupId>org.mariadb.jdbc</groupId>
            <artifactId>mariadb-java-client</artifactId>
        </dependency>
-        
+
+       <dependency>
+           <groupId>org.hibernate</groupId>
+           <artifactId>hibernate-core</artifactId>
+       </dependency>
+
+       <dependency>
+           <groupId>org.hibernate.common</groupId>
+           <artifactId>hibernate-commons-annotations</artifactId>
+       </dependency>
+                       
   </dependencies>
 
 </project>
diff --git a/pom.xml b/pom.xml
index 81d41c3..d866230 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,8 @@
                <junit.version>4.12</junit.version>
                <eclipselink.version>2.6.4</eclipselink.version>
                <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version>
+               <hibernate.core.version>5.2.10.Final</hibernate.core.version>
+               <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
                
                <sonar.plugin.version>3.2</sonar.plugin.version>
                <jacoco.plugin.version>0.7.9</jacoco.plugin.version>
                            <artifactId>mariadb-java-client</artifactId>
                            <version>${mariadb.jdbc.version}</version>
                        </dependency>
+                       <dependency>
+                           <groupId>org.hibernate</groupId>
+                           <artifactId>hibernate-core</artifactId>
+                           <version>${hibernate.core.version}</version>
+                       </dependency>
+                       <dependency>
+                           <groupId>org.hibernate.common</groupId>
+                           <artifactId>hibernate-commons-annotations</artifactId>
+                           <version>${hibernate.commons.annotations.version}</version>
+                       </dependency>                   
                </dependencies>
        </dependencyManagement>