Release policy/engine
[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.3</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                 <groupId>org.apache.maven.plugins</groupId>
41                 <artifactId>maven-surefire-plugin</artifactId>
42                 <configuration>
43                     <skipTests>${skiptests}</skipTests>
44                     <includes>
45                         <include>**/Test*.java</include>
46                         <include>**/*Test.java</include>
47                         <include>**/*TestCase.java</include>
48                     </includes>
49                     <additionalClasspathElements>
50                         <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
51                     </additionalClasspathElements>
52                     <systemPropertyVariables>
53                         <container.classpath>classpath:</container.classpath>
54                     </systemPropertyVariables>
55                 </configuration>
56             </plugin>
57         </plugins>
58     </build>
59     <properties>
60         <encoding>UTF-8</encoding>
61         <epsdk.version>2.6.0</epsdk.version>
62         <springframework.version>4.3.24.RELEASE</springframework.version>
63         <hibernate.version>4.3.11.Final</hibernate.version>
64         <logback.version>1.2.3</logback.version>
65         <skipassembly>true</skipassembly>
66         <skiptests>false</skiptests>
67         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/CSS/**/*,src/main/webapp/app/policyApp/libs.bower_components/**/*</sonar.exclusions>
68     </properties>
69     <dependencies>
70         <dependency>
71             <groupId>org.powermock</groupId>
72             <artifactId>powermock-api-mockito2</artifactId>
73             <scope>test</scope>
74         </dependency>
75         <dependency>
76             <groupId>ch.qos.logback</groupId>
77             <artifactId>logback-classic</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>com.h2database</groupId>
81             <artifactId>h2</artifactId>
82             <scope>test</scope>
83         </dependency>
84         <dependency>
85             <groupId>org.onap.portal.sdk</groupId>
86             <artifactId>epsdk-core</artifactId>
87             <version>${epsdk.version}</version>
88             <exclusions>
89                 <exclusion>
90                     <groupId>mysql</groupId>
91                     <artifactId>mysql-connector-java</artifactId>
92                 </exclusion>
93                 <exclusion>
94                     <groupId>com.thoughtworks.xstream</groupId>
95                     <artifactId>xstream</artifactId>
96                 </exclusion>
97                 <!-- Added exclusions to fix issue with duplicate jars of different versions -->
98                 <exclusion>
99                     <groupId>org.springframework</groupId>
100                     <artifactId>spring-core</artifactId>
101                 </exclusion>
102                 <exclusion>
103                     <groupId>org.springframework</groupId>
104                     <artifactId>spring-web</artifactId>
105                 </exclusion>
106                 <exclusion>
107                     <groupId>org.springframework</groupId>
108                     <artifactId>spring-webmvc</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>org.springframework</groupId>
112                     <artifactId>spring-aop</artifactId>
113                 </exclusion>
114                 <exclusion>
115                     <groupId>xalan</groupId>
116                     <artifactId>xalan</artifactId>
117                 </exclusion>
118                 <exclusion>
119                     <groupId>xml-apis</groupId>
120                     <artifactId>xml-apis-ext</artifactId>
121                 </exclusion>
122                 <exclusion>
123                     <groupId>xom</groupId>
124                     <artifactId>xom</artifactId>
125                 </exclusion>
126                 <exclusion>
127                     <groupId>xml-apis</groupId>
128                     <artifactId>xml-apis</artifactId>
129                 </exclusion>
130                 <exclusion>
131                     <groupId>org.hibernate</groupId>
132                     <artifactId>hibernate-core</artifactId>
133                 </exclusion>
134                   <exclusion>
135                     <groupId>org.aspectj</groupId>
136                     <artifactId>aspectjrt</artifactId>
137                 </exclusion>
138                 <exclusion>
139                     <groupId>org.aspectj</groupId>
140                     <artifactId>aspectjweaver</artifactId>
141                 </exclusion>
142             </exclusions>
143         </dependency>
144         <dependency>
145             <groupId>org.springframework</groupId>
146             <artifactId>spring-expression</artifactId>
147              <version>${springframework.version}</version>
148         </dependency>
149               <dependency>
150             <groupId>org.aspectj</groupId>
151             <artifactId>aspectjrt</artifactId>
152             <version>1.8.14</version>
153         </dependency>
154         <dependency>
155             <groupId>org.aspectj</groupId>
156             <artifactId>aspectjweaver</artifactId>
157             <version>1.8.14</version>
158         </dependency>
159         <!-- Spring -->
160         <dependency>
161             <groupId>org.springframework</groupId>
162             <artifactId>spring-core</artifactId>
163             <version>${springframework.version}</version>
164             <exclusions>
165                 <exclusion>
166                     <groupId>commons-logging</groupId>
167                     <artifactId>commons-logging</artifactId>
168                 </exclusion>
169             </exclusions>
170         </dependency>
171         <dependency>
172             <groupId>org.springframework</groupId>
173             <artifactId>spring-test</artifactId>
174             <version>${springframework.version}</version>
175         </dependency>
176         <dependency>
177             <groupId>org.springframework</groupId>
178             <artifactId>spring-web</artifactId>
179             <version>${springframework.version}</version>
180             <exclusions>
181                 <exclusion>
182                     <groupId>org.springframework</groupId>
183                     <artifactId>spring-expression</artifactId>
184                 </exclusion>
185             </exclusions>
186         </dependency>
187         <dependency>
188             <groupId>org.springframework</groupId>
189             <artifactId>spring-webmvc</artifactId>
190             <version>${springframework.version}</version>
191             <exclusions>
192                 <exclusion>
193                     <groupId>org.springframework</groupId>
194                     <artifactId>spring-expression</artifactId>
195                 </exclusion>
196             </exclusions>
197         </dependency>
198         <dependency>
199             <groupId>org.springframework</groupId>
200             <artifactId>spring-tx</artifactId>
201             <version>${springframework.version}</version>
202         </dependency>
203         <dependency>
204             <groupId>org.springframework</groupId>
205             <artifactId>spring-context-support</artifactId>
206             <version>${springframework.version}</version>
207         </dependency>
208         <!-- Hibernate -->
209         <dependency>
210             <groupId>org.hibernate</groupId>
211             <artifactId>hibernate-core</artifactId>
212             <version>${hibernate.version}</version>
213             <exclusions>
214                 <exclusion>
215                     <groupId>xml-apis</groupId>
216                     <artifactId>xml-apis</artifactId>
217                 </exclusion>
218             </exclusions>
219         </dependency>
220         <dependency>
221             <groupId>org.hibernate</groupId>
222             <artifactId>hibernate-validator</artifactId>
223             <version>5.4.2.Final</version>
224         </dependency>
225         <!-- Javax Mail -->
226         <dependency>
227                 <groupId>com.sun.mail</groupId>
228                 <artifactId>javax.mail</artifactId>
229             <version>1.6.2</version>
230         </dependency>
231         <!-- Mapper -->
232         <dependency>
233             <groupId>com.fasterxml.jackson.core</groupId>
234             <artifactId>jackson-annotations</artifactId>
235             <version>${jackson.version}</version>
236         </dependency>
237         <dependency>
238             <groupId>com.fasterxml.jackson.core</groupId>
239             <artifactId>jackson-core</artifactId>
240             <version>${jackson.version}</version>
241         </dependency>
242         <dependency>
243             <groupId>com.fasterxml.jackson.module</groupId>
244             <artifactId>jackson-module-jaxb-annotations</artifactId>
245             <version>${jackson.version}</version>
246         </dependency>
247         <dependency>
248             <groupId>com.fasterxml.jackson.module</groupId>
249             <artifactId>jackson-module-jsonSchema</artifactId>
250             <version>${jackson.version}</version>
251         </dependency>
252         <dependency>
253             <groupId>com.fasterxml.jackson.dataformat</groupId>
254             <artifactId>jackson-dataformat-xml</artifactId>
255             <version>${jackson.version}</version>
256         </dependency>
257         <dependency>
258             <groupId>com.google.code.gson</groupId>
259             <artifactId>gson</artifactId>
260         </dependency>
261         <!-- Elastic Search -->
262         <dependency>
263             <groupId>org.elasticsearch</groupId>
264             <artifactId>elasticsearch</artifactId>
265             <version>${elasticsearch.version}</version>
266         </dependency>
267         <dependency>
268             <groupId>org.json</groupId>
269             <artifactId>json</artifactId>
270             <version>20160212</version>
271         </dependency>
272         <dependency>
273             <groupId>io.searchbox</groupId>
274             <artifactId>jest</artifactId>
275             <version>2.0.0</version>
276             <exclusions>
277                 <exclusion>
278                     <groupId>commons-logging</groupId>
279                     <artifactId>commons-logging</artifactId>
280                 </exclusion>
281                 <exclusion>
282                     <groupId>org.apache.httpcomponents</groupId>
283                     <artifactId>httpclient</artifactId>
284                 </exclusion>
285             </exclusions>
286         </dependency>
287         <dependency>
288             <groupId>org.onap.policy.engine</groupId>
289             <artifactId>ONAP-PDP</artifactId>
290             <version>${project.version}</version>
291             <exclusions>
292                 <exclusion>
293                     <groupId>commons-logging</groupId>
294                     <artifactId>commons-logging</artifactId>
295                 </exclusion>
296                 <exclusion>
297                     <groupId>org.apache.httpcomponents</groupId>
298                     <artifactId>httpcore</artifactId>
299                 </exclusion>
300                 <exclusion>
301                     <groupId>com.att.aft</groupId>
302                     <artifactId>dme2</artifactId>
303                 </exclusion>
304                 <exclusion>
305                     <groupId>xml-apis</groupId>
306                     <artifactId>xml-apis</artifactId>
307                 </exclusion>
308                 <exclusion>
309                     <groupId>org.springframework</groupId>
310                     <artifactId>spring-orm</artifactId>
311                 </exclusion>
312                 <exclusion>
313                     <groupId>org.springframework</groupId>
314                     <artifactId>spring-test</artifactId>
315                 </exclusion>
316             </exclusions>
317         </dependency>
318         <dependency>
319             <groupId>org.apache.commons</groupId>
320             <artifactId>commons-compress</artifactId>
321             <version>${commons.compress.version}</version>
322         </dependency>
323         <dependency>
324             <groupId>args4j</groupId>
325             <artifactId>args4j</artifactId>
326             <version>2.32</version>
327         </dependency>
328         <dependency>
329             <groupId>org.apache.poi</groupId>
330             <artifactId>poi</artifactId>
331             <version>4.1.1</version>
332         </dependency>
333         <dependency>
334             <groupId>org.apache.poi</groupId>
335             <artifactId>poi-ooxml</artifactId>
336             <version>4.1.1</version>
337             <exclusions>
338                 <exclusion>
339                     <groupId>org.apache.xmlbeans</groupId>
340                     <artifactId>xmlbeans</artifactId>
341                 </exclusion>
342             </exclusions>
343         </dependency>
344         <!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans -->
345         <dependency>
346             <groupId>com.esotericsoftware.yamlbeans</groupId>
347             <artifactId>yamlbeans</artifactId>
348             <version>1.08</version>
349         </dependency>           
350         <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
351         <dependency>
352             <groupId>org.yaml</groupId>
353             <artifactId>snakeyaml</artifactId>
354         </dependency>
355         <dependency>
356             <groupId>org.apache.tomcat</groupId>
357             <artifactId>tomcat-jdbc</artifactId>
358             <version>8.0.24</version>
359         </dependency>
360         <dependency>
361             <groupId>org.apache.tomcat</groupId>
362             <artifactId>tomcat-dbcp</artifactId>
363             <version>8.5.9</version>
364         </dependency>
365     </dependencies>
366 </project>