aa02984e48ec1fe90184a5bde374b1f44bf9ad17
[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                 <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>xalan</groupId>
112                     <artifactId>xalan</artifactId>
113                 </exclusion>
114                 <exclusion>
115                     <groupId>xml-apis</groupId>
116                     <artifactId>xml-apis-ext</artifactId>
117                 </exclusion>
118                 <exclusion>
119                     <groupId>xom</groupId>
120                     <artifactId>xom</artifactId>
121                 </exclusion>
122                 <exclusion>
123                     <groupId>xml-apis</groupId>
124                     <artifactId>xml-apis</artifactId>
125                 </exclusion>
126             </exclusions>
127         </dependency>
128         <!-- Spring -->
129         <dependency>
130             <groupId>org.springframework</groupId>
131             <artifactId>spring-core</artifactId>
132             <exclusions>
133                 <exclusion>
134                     <groupId>commons-logging</groupId>
135                     <artifactId>commons-logging</artifactId>
136                 </exclusion>
137             </exclusions>
138         </dependency>
139         <dependency>
140             <groupId>org.springframework</groupId>
141             <artifactId>spring-test</artifactId>
142             <version>${springframework.version}</version>
143         </dependency>
144         <dependency>
145             <groupId>org.springframework</groupId>
146             <artifactId>spring-web</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.springframework</groupId>
150             <artifactId>spring-webmvc</artifactId>
151         </dependency>
152         <dependency>
153             <groupId>org.springframework</groupId>
154             <artifactId>spring-tx</artifactId>
155             <version>${springframework.version}</version>
156         </dependency>
157         <dependency>
158             <groupId>org.springframework</groupId>
159             <artifactId>spring-context-support</artifactId>
160             <version>${springframework.version}</version>
161         </dependency>
162         <!-- Hibernate -->
163         <dependency>
164             <groupId>org.hibernate</groupId>
165             <artifactId>hibernate-core</artifactId>
166             <version>${hibernate.version}</version>
167             <exclusions>
168                 <exclusion>
169                     <groupId>xml-apis</groupId>
170                     <artifactId>xml-apis</artifactId>
171                 </exclusion>
172             </exclusions>
173         </dependency>
174         <dependency>
175             <groupId>org.hibernate</groupId>
176             <artifactId>hibernate-validator</artifactId>
177             <version>5.4.2.Final</version>
178         </dependency>
179         <!-- Javax Mail -->
180         <dependency>
181                 <groupId>com.sun.mail</groupId>
182                 <artifactId>javax.mail</artifactId>
183             <version>1.6.2</version>
184         </dependency>
185         <!-- Mapper -->
186         <dependency>
187             <groupId>com.fasterxml.jackson.core</groupId>
188             <artifactId>jackson-annotations</artifactId>
189             <version>${jackson.version}</version>
190         </dependency>
191         <dependency>
192             <groupId>com.fasterxml.jackson.core</groupId>
193             <artifactId>jackson-core</artifactId>
194             <version>${jackson.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>com.fasterxml.jackson.module</groupId>
198             <artifactId>jackson-module-jaxb-annotations</artifactId>
199             <version>${jackson.version}</version>
200         </dependency>
201         <dependency>
202             <groupId>com.fasterxml.jackson.module</groupId>
203             <artifactId>jackson-module-jsonSchema</artifactId>
204             <version>${jackson.version}</version>
205         </dependency>
206         <dependency>
207             <groupId>com.fasterxml.jackson.dataformat</groupId>
208             <artifactId>jackson-dataformat-xml</artifactId>
209             <version>${jackson.version}</version>
210         </dependency>
211         <dependency>
212             <groupId>com.google.code.gson</groupId>
213             <artifactId>gson</artifactId>
214         </dependency>
215         <!-- Elastic Search -->
216         <dependency>
217             <groupId>org.elasticsearch</groupId>
218             <artifactId>elasticsearch</artifactId>
219             <version>${elasticsearch.version}</version>
220         </dependency>
221         <dependency>
222             <groupId>org.json</groupId>
223             <artifactId>json</artifactId>
224             <version>20160212</version>
225         </dependency>
226         <dependency>
227             <groupId>io.searchbox</groupId>
228             <artifactId>jest</artifactId>
229             <version>2.0.0</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>httpclient</artifactId>
238                 </exclusion>
239             </exclusions>
240         </dependency>
241         <dependency>
242             <groupId>org.onap.policy.engine</groupId>
243             <artifactId>ONAP-PDP</artifactId>
244             <version>${project.version}</version>
245             <exclusions>
246                 <exclusion>
247                     <groupId>commons-logging</groupId>
248                     <artifactId>commons-logging</artifactId>
249                 </exclusion>
250                 <exclusion>
251                     <groupId>org.apache.httpcomponents</groupId>
252                     <artifactId>httpcore</artifactId>
253                 </exclusion>
254                 <exclusion>
255                     <groupId>com.att.aft</groupId>
256                     <artifactId>dme2</artifactId>
257                 </exclusion>
258                 <exclusion>
259                     <groupId>xml-apis</groupId>
260                     <artifactId>xml-apis</artifactId>
261                 </exclusion>
262             </exclusions>
263         </dependency>
264         <dependency>
265             <groupId>org.apache.commons</groupId>
266             <artifactId>commons-compress</artifactId>
267             <version>${commons.compress.version}</version>
268         </dependency>
269         <dependency>
270             <groupId>args4j</groupId>
271             <artifactId>args4j</artifactId>
272             <version>2.32</version>
273         </dependency>
274         <dependency>
275             <groupId>org.apache.poi</groupId>
276             <artifactId>poi</artifactId>
277             <version>4.1.1</version>
278         </dependency>
279         <dependency>
280             <groupId>org.apache.poi</groupId>
281             <artifactId>poi-ooxml</artifactId>
282             <version>4.1.1</version>
283             <exclusions>
284                 <exclusion>
285                     <groupId>org.apache.xmlbeans</groupId>
286                     <artifactId>xmlbeans</artifactId>
287                 </exclusion>
288             </exclusions>
289         </dependency>
290         <!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans -->
291         <dependency>
292             <groupId>com.esotericsoftware.yamlbeans</groupId>
293             <artifactId>yamlbeans</artifactId>
294             <version>1.08</version>
295         </dependency>           
296         <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
297         <dependency>
298             <groupId>org.yaml</groupId>
299             <artifactId>snakeyaml</artifactId>
300         </dependency>
301         <dependency>
302             <groupId>org.apache.tomcat</groupId>
303             <artifactId>tomcat-jdbc</artifactId>
304             <version>8.0.24</version>
305         </dependency>
306         <dependency>
307             <groupId>org.apache.tomcat</groupId>
308             <artifactId>tomcat-dbcp</artifactId>
309             <version>8.5.9</version>
310         </dependency>
311     </dependencies>
312 </project>