use hibernate and breakup dbdao and papservlet
[policy/engine.git] / POLICY-SDK-APP / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine
4   ================================================================================
5   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21     <modelVersion>4.0.0</modelVersion>
22     <parent>
23         <groupId>org.onap.policy.engine</groupId>
24         <artifactId>PolicyEngineSuite</artifactId>
25         <version>1.4.0-SNAPSHOT</version>
26     </parent>
27     <artifactId>POLICY-SDK-APP</artifactId>
28     <packaging>war</packaging>
29     <build>
30         <plugins>
31             <plugin>
32                 <artifactId>maven-war-plugin</artifactId>
33                 <configuration>
34                     <attachClasses>true</attachClasses>
35                     <!-- <warSourceDirectory>WebContent</warSourceDirectory> -->
36                     <failOnMissingWebXml>false</failOnMissingWebXml>
37                 </configuration>
38             </plugin>
39             <plugin>
40                 <artifactId>maven-compiler-plugin</artifactId>
41                 <configuration>
42                     <source>1.8</source>
43                     <target>1.8</target>
44                 </configuration>
45             </plugin>
46             <plugin>
47                 <groupId>org.apache.maven.plugins</groupId>
48                 <artifactId>maven-surefire-plugin</artifactId>
49                 <configuration>
50                     <skipTests>${skiptests}</skipTests>
51                     <includes>
52                         <include>**/Test*.java</include>
53                         <include>**/*Test.java</include>
54                         <include>**/*TestCase.java</include>
55                     </includes>
56                     <additionalClasspathElements>
57                         <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
58                     </additionalClasspathElements>
59                     <systemPropertyVariables>
60                         <container.classpath>classpath:</container.classpath>
61                     </systemPropertyVariables>
62                 </configuration>
63             </plugin>
64         </plugins>
65     </build>
66     <properties>
67         <encoding>UTF-8</encoding>
68         <epsdk.version>2.4.0</epsdk.version>
69         <springframework.version>4.2.0.RELEASE</springframework.version>
70         <hibernate.version>4.3.11.Final</hibernate.version>
71         <logback.version>1.2.3</logback.version>
72         <skipassembly>true</skipassembly>
73         <skiptests>false</skiptests>
74         <!-- When ONAP brings back Javascript requirement for code coverage, let's move back to this exclusion. Keeping for reference. -->
75         <!-- sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/CSS/**/*,src/main/webapp/app/policyApp/libs.bower_components/**/*</sonar.exclusions -->
76         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/**/*</sonar.exclusions>
77     </properties>
78     <dependencies>
79         <dependency>
80             <groupId>ch.qos.logback</groupId>
81             <artifactId>logback-classic</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>com.h2database</groupId>
85             <artifactId>h2</artifactId>
86             <scope>test</scope>
87         </dependency>
88         <dependency>
89             <groupId>org.onap.portal.sdk</groupId>
90             <artifactId>epsdk-core</artifactId>
91             <version>${epsdk.version}</version>
92             <exclusions>
93                 <exclusion>
94                     <groupId>mysql</groupId>
95                     <artifactId>mysql-connector-java</artifactId>
96                 </exclusion>
97                 <exclusion>
98                     <groupId>com.thoughtworks.xstream</groupId>
99                     <artifactId>xstream</artifactId>
100                 </exclusion>
101                 <!-- Added exclusions to fix issue with duplicate jars of different versions -->
102                 <exclusion>
103                     <groupId>org.springframework</groupId>
104                     <artifactId>spring-core</artifactId>
105                 </exclusion>
106                 <exclusion>
107                     <groupId>org.springframework</groupId>
108                     <artifactId>spring-web</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>org.springframework</groupId>
112                     <artifactId>spring-webmvc</artifactId>
113                 </exclusion>
114             </exclusions>
115         </dependency>
116         <!-- Spring -->
117         <dependency>
118             <groupId>org.springframework</groupId>
119             <artifactId>spring-core</artifactId>
120             <version>${springframework.version}</version>
121             <exclusions>
122                 <exclusion>
123                     <groupId>commons-logging</groupId>
124                     <artifactId>commons-logging</artifactId>
125                 </exclusion>
126             </exclusions>
127         </dependency>
128         <dependency>
129             <groupId>org.springframework</groupId>
130             <artifactId>spring-test</artifactId>
131             <version>${springframework.version}</version>
132         </dependency>
133         <dependency>
134             <groupId>org.springframework</groupId>
135             <artifactId>spring-web</artifactId>
136             <version>${springframework.version}</version>
137         </dependency>
138         <dependency>
139             <groupId>org.springframework</groupId>
140             <artifactId>spring-webmvc</artifactId>
141             <version>${springframework.version}</version>
142         </dependency>
143         <dependency>
144             <groupId>org.springframework</groupId>
145             <artifactId>spring-tx</artifactId>
146             <version>${springframework.version}</version>
147         </dependency>
148         <dependency>
149             <groupId>org.springframework</groupId>
150             <artifactId>spring-context-support</artifactId>
151             <version>${springframework.version}</version>
152         </dependency>
153         <!-- Hibernate -->
154         <dependency>
155             <groupId>org.hibernate</groupId>
156             <artifactId>hibernate-core</artifactId>
157             <version>${hibernate.version}</version>
158         </dependency>
159         <dependency>
160             <groupId>org.hibernate</groupId>
161             <artifactId>hibernate-validator</artifactId>
162             <version>5.4.2.Final</version>
163         </dependency>
164         <!-- Javax Mail -->
165         <dependency>
166                 <groupId>com.sun.mail</groupId>
167                 <artifactId>javax.mail</artifactId>
168             <version>1.6.2</version>
169         </dependency>
170         <!-- Mapper -->
171         <dependency>
172             <groupId>com.fasterxml.jackson.core</groupId>
173             <artifactId>jackson-annotations</artifactId>
174             <version>${jackson.version}</version>
175         </dependency>
176         <dependency>
177             <groupId>com.fasterxml.jackson.core</groupId>
178             <artifactId>jackson-core</artifactId>
179             <version>${jackson.version}</version>
180         </dependency>
181         <dependency>
182             <groupId>com.fasterxml.jackson.module</groupId>
183             <artifactId>jackson-module-jaxb-annotations</artifactId>
184             <version>${jackson.version}</version>
185         </dependency>
186         <dependency>
187             <groupId>com.fasterxml.jackson.module</groupId>
188             <artifactId>jackson-module-jsonSchema</artifactId>
189             <version>${jackson.version}</version>
190         </dependency>
191         <dependency>
192             <groupId>com.fasterxml.jackson.dataformat</groupId>
193             <artifactId>jackson-dataformat-xml</artifactId>
194             <version>${jackson.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>com.google.code.gson</groupId>
198             <artifactId>gson</artifactId>
199         </dependency>
200         <!-- Elastic Search -->
201         <dependency>
202             <groupId>org.elasticsearch</groupId>
203             <artifactId>elasticsearch</artifactId>
204             <version>${elasticsearch.version}</version>
205         </dependency>
206         <dependency>
207             <groupId>org.json</groupId>
208             <artifactId>json</artifactId>
209             <version>20160212</version>
210         </dependency>
211         <dependency>
212             <groupId>io.searchbox</groupId>
213             <artifactId>jest</artifactId>
214             <version>2.0.0</version>
215             <exclusions>
216                 <exclusion>
217                     <groupId>commons-logging</groupId>
218                     <artifactId>commons-logging</artifactId>
219                 </exclusion>
220                 <exclusion>
221                     <groupId>org.apache.httpcomponents</groupId>
222                     <artifactId>httpclient</artifactId>
223                 </exclusion>
224             </exclusions>
225         </dependency>
226         <dependency>
227             <groupId>org.onap.policy.engine</groupId>
228             <artifactId>ONAP-PDP</artifactId>
229             <version>${project.version}</version>
230             <exclusions>
231                 <exclusion>
232                     <groupId>commons-logging</groupId>
233                     <artifactId>commons-logging</artifactId>
234                 </exclusion>
235                 <exclusion>
236                     <groupId>org.apache.httpcomponents</groupId>
237                     <artifactId>httpcore</artifactId>
238                 </exclusion>
239                 <exclusion>
240                     <groupId>com.att.aft</groupId>
241                     <artifactId>dme2</artifactId>
242                 </exclusion>
243             </exclusions>
244         </dependency>
245         <dependency>
246             <groupId>org.apache.commons</groupId>
247             <artifactId>commons-compress</artifactId>
248             <version>${commons.compress.version}</version>
249         </dependency>
250         <dependency>
251             <groupId>args4j</groupId>
252             <artifactId>args4j</artifactId>
253             <version>2.32</version>
254         </dependency>
255         <dependency>
256             <groupId>org.apache.poi</groupId>
257             <artifactId>poi</artifactId>
258             <version>3.17</version>
259         </dependency>
260         <dependency>
261             <groupId>org.apache.poi</groupId>
262             <artifactId>poi-ooxml</artifactId>
263             <version>3.17</version>
264         </dependency>
265         <!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans -->
266         <dependency>
267             <groupId>com.esotericsoftware.yamlbeans</groupId>
268             <artifactId>yamlbeans</artifactId>
269             <version>1.08</version>
270         </dependency>           
271         <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
272         <dependency>
273             <groupId>org.yaml</groupId>
274             <artifactId>snakeyaml</artifactId>
275             <version>1.16</version>
276         </dependency>
277         <dependency>
278             <groupId>org.apache.tomcat</groupId>
279             <artifactId>tomcat-jdbc</artifactId>
280             <version>8.0.24</version>
281         </dependency>
282         <dependency>
283             <groupId>org.apache.tomcat</groupId>
284             <artifactId>tomcat-dbcp</artifactId>
285             <version>8.5.9</version>
286         </dependency>
287     </dependencies>
288 </project>