Migrate to Spring 5 by Honolulu requirement
[sdc.git] / common-app-api / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <artifactId>common-app-api</artifactId>
8
9   <parent>
10     <groupId>org.openecomp.sdc</groupId>
11     <artifactId>sdc-main</artifactId>
12     <version>1.8.1-SNAPSHOT</version>
13   </parent>
14
15   <dependencies>
16     <dependency>
17       <groupId>org.onap.sdc.sdc-be-common</groupId>
18       <artifactId>security-util-lib</artifactId>
19       <version>${security.util.lib.version}</version>
20       <exclusions>
21         <exclusion>
22           <groupId>org.springframework.boot</groupId>
23           <artifactId>spring-boot-starter-logging</artifactId>
24         </exclusion>
25         <exclusion>
26           <groupId>org.springframework</groupId>
27           <artifactId>spring-context</artifactId>
28         </exclusion>
29       </exclusions>
30     </dependency>
31     <dependency>
32       <groupId>org.springframework</groupId>
33       <artifactId>spring-context</artifactId>
34       <version>${spring.version}</version>
35     </dependency>
36     <!-- functional java -->
37     <dependency>
38       <groupId>org.functionaljava</groupId>
39       <artifactId>functionaljava</artifactId>
40       <version>${functionaljava.version}</version>
41       <scope>provided</scope>
42     </dependency>
43
44     <dependency>
45       <groupId>javax.servlet</groupId>
46       <artifactId>javax.servlet-api</artifactId>
47       <version>${servlet-api.version}</version>
48       <scope>provided</scope>
49     </dependency>
50
51     <dependency>
52       <groupId>org.glassfish.jersey.containers</groupId>
53       <artifactId>jersey-container-servlet</artifactId>
54       <version>${jersey-bom.version}</version>
55       <scope>provided</scope>
56     </dependency>
57
58     <!-- yaml to object converter -->
59     <dependency>
60       <groupId>org.yaml</groupId>
61       <artifactId>snakeyaml</artifactId>
62       <version>${snakeyaml.version}</version>
63       <scope>provided</scope>
64     </dependency>
65
66     <!-- listen to file changes -->
67     <dependency>
68       <groupId>org.apache.commons</groupId>
69       <artifactId>commons-jci-core</artifactId>
70       <version>${commons-jci-core.version}</version>
71       <scope>provided</scope>
72     </dependency>
73
74     <!-- Gson -->
75     <dependency>
76       <groupId>com.google.code.gson</groupId>
77       <artifactId>gson</artifactId>
78       <version>${gson.version}</version>
79       <scope>provided</scope>
80     </dependency>
81
82     <!-- http client -->
83     <dependency>
84       <groupId>org.apache.httpcomponents</groupId>
85       <artifactId>httpclient</artifactId>
86       <version>${httpclient.version}</version>
87       <scope>provided</scope>
88     </dependency>
89
90     <dependency>
91       <groupId>org.apache.httpcomponents</groupId>
92       <artifactId>httpcore</artifactId>
93       <version>${httpcore.version}</version>
94       <scope>provided</scope>
95     </dependency>
96
97     <dependency>
98       <groupId>commons-logging</groupId>
99       <artifactId>commons-logging</artifactId>
100       <version>${commons-logging}</version>
101       <scope>provided</scope>
102     </dependency>
103
104     <dependency>
105       <groupId>commons-codec</groupId>
106       <artifactId>commons-codec</artifactId>
107       <version>${commons-codec}</version>
108       <scope>provided</scope>
109     </dependency>
110
111     <dependency>
112       <groupId>org.glassfish.jersey.media</groupId>
113       <artifactId>jersey-media-json-jackson</artifactId>
114       <version>${jersey-bom.version}</version>
115       <scope>provided</scope>
116       <exclusions>
117         <exclusion>
118           <groupId>com.fasterxml.jackson.core</groupId>
119           <artifactId>jackson-annotations</artifactId>
120         </exclusion>
121       </exclusions>
122     </dependency>
123
124     <!-- Aspects -->
125     <dependency>
126       <groupId>com.jcabi</groupId>
127       <artifactId>jcabi-aspects</artifactId>
128       <version>${jcabi.version}</version>
129       <scope>provided</scope>
130     </dependency>
131
132     <dependency>
133       <groupId>org.aspectj</groupId>
134       <artifactId>aspectjrt</artifactId>
135       <version>${aspectjrt.version}</version>
136       <scope>provided</scope>
137     </dependency>
138
139     <dependency>
140       <groupId>org.apache.commons</groupId>
141       <artifactId>commons-lang3</artifactId>
142       <version>${lang3.version}</version>
143       <scope>provided</scope>
144     </dependency>
145
146     <dependency>
147       <groupId>com.fasterxml.jackson.core</groupId>
148       <artifactId>jackson-databind</artifactId>
149       <version>${jackson.version}</version>
150       <scope>provided</scope>
151       <exclusions>
152         <exclusion>
153           <groupId>com.fasterxml.jackson.core</groupId>
154           <artifactId>jackson-core</artifactId>
155         </exclusion>
156       </exclusions>
157     </dependency>
158
159     <dependency>
160       <groupId>com.fasterxml.jackson.core</groupId>
161       <artifactId>jackson-core</artifactId>
162       <version>${jackson.version}</version>
163       <scope>provided</scope>
164     </dependency>
165     <!-- logging -->
166     <dependency>
167       <groupId>ch.qos.logback</groupId>
168       <artifactId>logback-classic</artifactId>
169       <version>${logback.version}</version>
170       <scope>provided</scope>
171     </dependency>
172     <!-- logging end -->
173
174     <dependency>
175       <groupId>org.projectlombok</groupId>
176       <artifactId>lombok</artifactId>
177       <version>${lombok.version}</version>
178     </dependency>
179
180     <dependency>
181       <groupId>com.google.guava</groupId>
182       <artifactId>guava</artifactId>
183       <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
184       <scope>provided</scope>
185     </dependency>
186     <!-- System metrics -->
187     <dependency>
188       <groupId>org.fusesource</groupId>
189       <artifactId>sigar</artifactId>
190       <version>${sigar.version}</version>
191       <scope>provided</scope>
192       <exclusions>
193         <exclusion>
194           <groupId>log4j</groupId>
195           <artifactId>log4j</artifactId>
196         </exclusion>
197       </exclusions>
198     </dependency>
199
200     <dependency>
201       <groupId>org.hamcrest</groupId>
202       <artifactId>hamcrest</artifactId>
203       <version>${hamcrest.version}</version>
204       <scope>test</scope>
205     </dependency>
206
207     <dependency>
208       <groupId>org.hamcrest</groupId>
209       <artifactId>hamcrest-library</artifactId>
210       <version>${hamcrest.version}</version>
211       <scope>test</scope>
212     </dependency>
213
214     <dependency>
215       <groupId>org.junit.jupiter</groupId>
216       <artifactId>junit-jupiter</artifactId>
217       <version>${junitJupiter.version}</version>
218       <scope>test</scope>
219     </dependency>
220
221     <dependency>
222       <groupId>org.mockito</groupId>
223       <artifactId>mockito-junit-jupiter</artifactId>
224       <version>${mockitoJupiter.version}</version>
225       <scope>test</scope>
226     </dependency>
227
228     <dependency>
229       <groupId>com.google.code.bean-matchers</groupId>
230       <artifactId>bean-matchers</artifactId>
231       <version>${bean-matchers.version}</version>
232       <scope>test</scope>
233     </dependency>
234
235     <!-- jsoup HTML parser library @ http://jsoup.org/ -->
236     <dependency>
237       <groupId>org.jsoup</groupId>
238       <artifactId>jsoup</artifactId>
239       <version>1.8.3</version>
240     </dependency>
241
242     <dependency>
243       <groupId>commons-validator</groupId>
244       <artifactId>commons-validator</artifactId>
245       <version>1.6</version>
246       <exclusions>
247         <exclusion>
248           <artifactId>commons-collections</artifactId>
249           <groupId>commons-collections</groupId>
250         </exclusion>
251       </exclusions>
252     </dependency>
253
254     <dependency>
255       <artifactId>commons-collections</artifactId>
256       <groupId>commons-collections</groupId>
257       <version>3.2.2</version>
258     </dependency>
259
260     <dependency>
261       <groupId>org.codehaus.jettison</groupId>
262       <artifactId>jettison</artifactId>
263       <version>1.3.3</version>
264     </dependency>
265
266     <dependency>
267       <groupId>de.ruedigermoeller</groupId>
268       <artifactId>fst</artifactId>
269       <version>2.47</version>
270       <scope>compile</scope>
271     </dependency>
272     <dependency>
273       <groupId>org.openecomp.sdc</groupId>
274       <artifactId>common-app-logging</artifactId>
275       <version>${project.version}</version>
276       <scope>compile</scope>
277     </dependency>
278     <dependency>
279       <groupId>com.datastax.cassandra</groupId>
280       <artifactId>cassandra-driver-mapping</artifactId>
281       <version>${cassandra.driver.version}</version>
282       <scope>compile</scope>
283     </dependency>
284     <dependency>
285       <groupId>org.apache.commons</groupId>
286       <artifactId>commons-text</artifactId>
287       <version>${apache-commons-text.version}</version>
288     </dependency>
289   </dependencies>
290
291   <build>
292     <testResources>
293       <testResource>
294         <directory>src/test/resources</directory>
295         <excludes>
296           <exclude>**/*.zip</exclude>
297         </excludes>
298         <filtering>true</filtering>
299       </testResource>
300       <testResource>
301         <directory>src/test/resources/zip</directory>
302         <includes>
303           <include>**.zip</include>
304         </includes>
305         <filtering>false</filtering>
306         <targetPath>zip</targetPath>
307       </testResource>
308       <testResource>
309         <directory>src/test/resources/zip-slip</directory>
310         <includes>
311           <include>**.zip</include>
312         </includes>
313         <filtering>false</filtering>
314         <targetPath>zip-slip</targetPath>
315       </testResource>
316     </testResources>
317     <plugins>
318       <plugin>
319         <groupId>com.github.sylvainlaurent.maven</groupId>
320         <artifactId>yaml-json-validator-maven-plugin</artifactId>
321         <executions>
322           <execution>
323             <id>validate</id>
324             <phase>validate</phase>
325             <goals>
326               <goal>validate</goal>
327             </goals>
328             <configuration>
329               <validationSets>
330                 <validationSet>
331                   <includes>
332                     <include>src/main/resources/**/*.y*ml</include>
333                     <include>src/test/resources/**/*.y*ml</include>
334                   </includes>
335                 </validationSet>
336                 <validationSet>
337                   <includes>
338                     <include>src/main/resources/**/*.json</include>
339                     <include>src/test/resources/**/*.json</include>
340                   </includes>
341                 </validationSet>
342               </validationSets>
343               <skip>${skipYamlJsonValidator}</skip>
344             </configuration>
345           </execution>
346         </executions>
347       </plugin>
348     </plugins>
349   </build>
350 </project>