Fixed issue with springframework dependencies
[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"
21     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.engine</groupId>
26         <artifactId>PolicyEngineSuite</artifactId>
27         <version>1.3.0-SNAPSHOT</version>
28     </parent>
29     <artifactId>POLICY-SDK-APP</artifactId>
30     <packaging>war</packaging>
31     <build>
32         <plugins>
33             <plugin>
34                 <artifactId>maven-war-plugin</artifactId>
35                 <configuration>
36                     <attachClasses>true</attachClasses>
37                     <!-- <warSourceDirectory>WebContent</warSourceDirectory> -->
38                     <failOnMissingWebXml>false</failOnMissingWebXml>
39                 </configuration>
40             </plugin>
41             <plugin>
42                 <artifactId>maven-compiler-plugin</artifactId>
43                 <configuration>
44                     <source>1.8</source>
45                     <target>1.8</target>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-surefire-plugin</artifactId>
51                 <configuration>
52                     <skipTests>${skiptests}</skipTests>
53                     <includes>
54                         <include>**/Test*.java</include>
55                         <include>**/*Test.java</include>
56                         <include>**/*TestCase.java</include>
57                     </includes>
58                     <additionalClasspathElements>
59                         <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
60                     </additionalClasspathElements>
61                     <systemPropertyVariables>
62                         <container.classpath>classpath:</container.classpath>
63                     </systemPropertyVariables>
64                 </configuration>
65             </plugin>
66         </plugins>
67     </build>
68     <properties>
69         <encoding>UTF-8</encoding>
70         <epsdk.version>2.4.0</epsdk.version>
71         <springframework.version>4.2.0.RELEASE</springframework.version>
72         <hibernate.version>4.3.11.Final</hibernate.version>
73         <logback.version>1.2.3</logback.version>
74         <skipassembly>true</skipassembly>
75         <skiptests>false</skiptests>
76         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/CSS/**/*,src/main/webapp/app/policyApp/libs/**/*</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>commons-fileupload</groupId>
247             <artifactId>commons-fileupload</artifactId>
248             <version>${commons.fileupload.version}</version>
249         </dependency>
250         <dependency>
251             <groupId>org.apache.commons</groupId>
252             <artifactId>commons-compress</artifactId>
253             <version>${commons.compress.version}</version>
254         </dependency>
255         <dependency>
256             <groupId>args4j</groupId>
257             <artifactId>args4j</artifactId>
258             <version>2.32</version>
259         </dependency>
260         <dependency>
261             <groupId>org.apache.poi</groupId>
262             <artifactId>poi</artifactId>
263             <version>3.17</version>
264         </dependency>
265         <dependency>
266             <groupId>org.apache.poi</groupId>
267             <artifactId>poi-ooxml</artifactId>
268             <version>3.17</version>
269         </dependency>
270         <!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans -->
271         <dependency>
272             <groupId>com.esotericsoftware.yamlbeans</groupId>
273             <artifactId>yamlbeans</artifactId>
274             <version>1.08</version>
275         </dependency>           
276         <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
277         <dependency>
278             <groupId>org.yaml</groupId>
279             <artifactId>snakeyaml</artifactId>
280             <version>1.16</version>
281         </dependency>
282         <dependency>
283             <groupId>org.apache.tomcat</groupId>
284             <artifactId>tomcat-jdbc</artifactId>
285             <version>8.0.24</version>
286         </dependency>
287         <dependency>
288             <groupId>org.apache.tomcat</groupId>
289             <artifactId>tomcat-dbcp</artifactId>
290             <version>8.5.9</version>
291         </dependency>
292     </dependencies>
293 </project>