policy/engine jdk11 upgrades
[policy/engine.git] / POLICY-SDK-APP / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine
4   ================================================================================
5   Copyright (C) 2017-2018, 2020 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.6.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.6.0</epsdk.version>
69         <springframework.version>4.3.24.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         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/CSS/**/*,src/main/webapp/app/policyApp/libs.bower_components/**/*</sonar.exclusions>
75     </properties>
76     <dependencies>
77         <dependency>
78             <groupId>org.powermock</groupId>
79             <artifactId>powermock-api-mockito2</artifactId>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>ch.qos.logback</groupId>
84             <artifactId>logback-classic</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>com.h2database</groupId>
88             <artifactId>h2</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <dependency>
92             <groupId>org.onap.portal.sdk</groupId>
93             <artifactId>epsdk-core</artifactId>
94             <version>${epsdk.version}</version>
95             <exclusions>
96                 <exclusion>
97                     <groupId>mysql</groupId>
98                     <artifactId>mysql-connector-java</artifactId>
99                 </exclusion>
100                 <exclusion>
101                     <groupId>com.thoughtworks.xstream</groupId>
102                     <artifactId>xstream</artifactId>
103                 </exclusion>
104                 <!-- Added exclusions to fix issue with duplicate jars of different versions -->
105                 <exclusion>
106                     <groupId>org.springframework</groupId>
107                     <artifactId>spring-core</artifactId>
108                 </exclusion>
109                 <exclusion>
110                     <groupId>org.springframework</groupId>
111                     <artifactId>spring-web</artifactId>
112                 </exclusion>
113                 <exclusion>
114                     <groupId>org.springframework</groupId>
115                     <artifactId>spring-webmvc</artifactId>
116                 </exclusion>
117             </exclusions>
118         </dependency>
119         <!-- Spring -->
120         <dependency>
121             <groupId>org.springframework</groupId>
122             <artifactId>spring-core</artifactId>
123             <version>${springframework.version}</version>
124             <exclusions>
125                 <exclusion>
126                     <groupId>commons-logging</groupId>
127                     <artifactId>commons-logging</artifactId>
128                 </exclusion>
129             </exclusions>
130         </dependency>
131         <dependency>
132             <groupId>org.springframework</groupId>
133             <artifactId>spring-test</artifactId>
134             <version>${springframework.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.springframework</groupId>
138             <artifactId>spring-web</artifactId>
139             <version>${springframework.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>org.springframework</groupId>
143             <artifactId>spring-webmvc</artifactId>
144             <version>${springframework.version}</version>
145         </dependency>
146         <dependency>
147             <groupId>org.springframework</groupId>
148             <artifactId>spring-tx</artifactId>
149             <version>${springframework.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>org.springframework</groupId>
153             <artifactId>spring-context-support</artifactId>
154             <version>${springframework.version}</version>
155         </dependency>
156         <!-- Hibernate -->
157         <dependency>
158             <groupId>org.hibernate</groupId>
159             <artifactId>hibernate-core</artifactId>
160             <version>${hibernate.version}</version>
161         </dependency>
162         <dependency>
163             <groupId>org.hibernate</groupId>
164             <artifactId>hibernate-validator</artifactId>
165             <version>5.4.2.Final</version>
166         </dependency>
167         <!-- Javax Mail -->
168         <dependency>
169                 <groupId>com.sun.mail</groupId>
170                 <artifactId>javax.mail</artifactId>
171             <version>1.6.2</version>
172         </dependency>
173         <!-- Mapper -->
174         <dependency>
175             <groupId>com.fasterxml.jackson.core</groupId>
176             <artifactId>jackson-annotations</artifactId>
177             <version>${jackson.version}</version>
178         </dependency>
179         <dependency>
180             <groupId>com.fasterxml.jackson.core</groupId>
181             <artifactId>jackson-core</artifactId>
182             <version>${jackson.version}</version>
183         </dependency>
184         <dependency>
185             <groupId>com.fasterxml.jackson.module</groupId>
186             <artifactId>jackson-module-jaxb-annotations</artifactId>
187             <version>${jackson.version}</version>
188         </dependency>
189         <dependency>
190             <groupId>com.fasterxml.jackson.module</groupId>
191             <artifactId>jackson-module-jsonSchema</artifactId>
192             <version>${jackson.version}</version>
193         </dependency>
194         <dependency>
195             <groupId>com.fasterxml.jackson.dataformat</groupId>
196             <artifactId>jackson-dataformat-xml</artifactId>
197             <version>${jackson.version}</version>
198         </dependency>
199         <dependency>
200             <groupId>com.google.code.gson</groupId>
201             <artifactId>gson</artifactId>
202         </dependency>
203         <!-- Elastic Search -->
204         <dependency>
205             <groupId>org.elasticsearch</groupId>
206             <artifactId>elasticsearch</artifactId>
207             <version>${elasticsearch.version}</version>
208         </dependency>
209         <dependency>
210             <groupId>org.json</groupId>
211             <artifactId>json</artifactId>
212             <version>20160212</version>
213         </dependency>
214         <dependency>
215             <groupId>io.searchbox</groupId>
216             <artifactId>jest</artifactId>
217             <version>2.0.0</version>
218             <exclusions>
219                 <exclusion>
220                     <groupId>commons-logging</groupId>
221                     <artifactId>commons-logging</artifactId>
222                 </exclusion>
223                 <exclusion>
224                     <groupId>org.apache.httpcomponents</groupId>
225                     <artifactId>httpclient</artifactId>
226                 </exclusion>
227             </exclusions>
228         </dependency>
229         <dependency>
230             <groupId>org.onap.policy.engine</groupId>
231             <artifactId>ONAP-PDP</artifactId>
232             <version>${project.version}</version>
233             <exclusions>
234                 <exclusion>
235                     <groupId>commons-logging</groupId>
236                     <artifactId>commons-logging</artifactId>
237                 </exclusion>
238                 <exclusion>
239                     <groupId>org.apache.httpcomponents</groupId>
240                     <artifactId>httpcore</artifactId>
241                 </exclusion>
242                 <exclusion>
243                     <groupId>com.att.aft</groupId>
244                     <artifactId>dme2</artifactId>
245                 </exclusion>
246             </exclusions>
247         </dependency>
248         <dependency>
249             <groupId>org.apache.commons</groupId>
250             <artifactId>commons-compress</artifactId>
251             <version>${commons.compress.version}</version>
252         </dependency>
253         <dependency>
254             <groupId>args4j</groupId>
255             <artifactId>args4j</artifactId>
256             <version>2.32</version>
257         </dependency>
258         <dependency>
259             <groupId>org.apache.poi</groupId>
260             <artifactId>poi</artifactId>
261             <version>3.17</version>
262         </dependency>
263         <dependency>
264             <groupId>org.apache.poi</groupId>
265             <artifactId>poi-ooxml</artifactId>
266             <version>3.17</version>
267         </dependency>
268         <!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans -->
269         <dependency>
270             <groupId>com.esotericsoftware.yamlbeans</groupId>
271             <artifactId>yamlbeans</artifactId>
272             <version>1.08</version>
273         </dependency>           
274         <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
275         <dependency>
276             <groupId>org.yaml</groupId>
277             <artifactId>snakeyaml</artifactId>
278         </dependency>
279         <dependency>
280             <groupId>org.apache.tomcat</groupId>
281             <artifactId>tomcat-jdbc</artifactId>
282             <version>8.0.24</version>
283         </dependency>
284         <dependency>
285             <groupId>org.apache.tomcat</groupId>
286             <artifactId>tomcat-dbcp</artifactId>
287             <version>8.5.9</version>
288         </dependency>
289     </dependencies>
290 </project>