Step version to 1.12.4-SNAPSHOT
[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.12.4-SNAPSHOT</version>
13     </parent>
14
15     <dependencies>
16         <dependency>
17             <groupId>org.springframework.boot</groupId>
18             <artifactId>spring-boot-starter</artifactId>
19             <version>${spring.boot.version}</version>
20             <exclusions>
21                 <exclusion>
22                     <groupId>org.yaml</groupId>
23                     <artifactId>snakeyaml</artifactId>
24                 </exclusion>
25                 <exclusion>
26                     <groupId>org.springframework</groupId>
27                     <artifactId>spring-core</artifactId>
28                 </exclusion>
29             </exclusions>
30         </dependency>
31         <dependency>
32             <groupId>org.onap.sdc.sdc-be-common</groupId>
33             <artifactId>security-util-lib</artifactId>
34             <version>${security.util.lib.version}</version>
35             <exclusions>
36                 <exclusion>
37                     <groupId>org.springframework.boot</groupId>
38                     <artifactId>spring-boot-starter-logging</artifactId>
39                 </exclusion>
40                 <exclusion>
41                     <groupId>org.springframework.boot</groupId>
42                     <artifactId>spring-boot-starter</artifactId>
43                 </exclusion>
44                 <exclusion>
45                     <groupId>org.springframework</groupId>
46                     <artifactId>spring-context</artifactId>
47                 </exclusion>
48                 <exclusion>
49                     <groupId>commons-io</groupId>
50                     <artifactId>commons-io</artifactId>
51                 </exclusion>
52                 <exclusion>
53                     <groupId>org.owasp.esapi</groupId>
54                     <artifactId>esapi</artifactId>
55                 </exclusion>
56                 <exclusion>
57                     <groupId>org.hibernate.validator</groupId>
58                     <artifactId>hibernate-validator</artifactId>
59                 </exclusion>
60                 <exclusion>
61                     <groupId>org.springframework</groupId>
62                     <artifactId>spring-core</artifactId>
63                 </exclusion>
64                 <exclusion>
65                     <groupId>org.onap.portal.sdk</groupId>
66                     <artifactId>epsdk-fw</artifactId>
67                 </exclusion>
68                 <exclusion>
69                     <groupId>org.glassfish</groupId>
70                     <artifactId>jakarta.el</artifactId>
71                 </exclusion>
72             </exclusions>
73         </dependency>
74         <dependency>
75             <groupId>org.glassfish</groupId>
76             <artifactId>jakarta.el</artifactId>
77             <version>${jakarta.el.version}</version>
78         </dependency>
79
80         <dependency>
81             <groupId>commons-io</groupId>
82             <artifactId>commons-io</artifactId>
83             <version>${commons.io.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>org.springframework</groupId>
87             <artifactId>spring-context</artifactId>
88             <version>${spring.version}</version>
89             <exclusions>
90                 <exclusion>
91                     <groupId>org.springframework</groupId>
92                     <artifactId>spring-expression</artifactId>
93                 </exclusion>
94                 <exclusion>
95                     <groupId>org.springframework</groupId>
96                     <artifactId>spring-core</artifactId>
97                 </exclusion>
98             </exclusions>
99         </dependency>
100         <!-- functional java -->
101         <dependency>
102             <groupId>org.functionaljava</groupId>
103             <artifactId>functionaljava</artifactId>
104             <version>${functionaljava.version}</version>
105             <scope>provided</scope>
106         </dependency>
107
108         <dependency>
109             <groupId>org.hibernate.validator</groupId>
110             <artifactId>hibernate-validator</artifactId>
111             <version>${hibernate.validator.version}</version>
112         </dependency>
113         <dependency>
114             <groupId>org.glassfish.jersey.containers</groupId>
115             <artifactId>jersey-container-servlet</artifactId>
116             <version>${jersey-bom.version}</version>
117             <scope>provided</scope>
118         </dependency>
119
120         <!-- yaml to object converter -->
121         <dependency>
122             <groupId>org.yaml</groupId>
123             <artifactId>snakeyaml</artifactId>
124             <version>${snakeyaml.version}</version>
125             <scope>provided</scope>
126         </dependency>
127
128         <!-- listen to file changes -->
129         <dependency>
130             <groupId>org.apache.commons</groupId>
131             <artifactId>commons-jci-core</artifactId>
132             <version>${commons-jci-core.version}</version>
133             <scope>provided</scope>
134             <exclusions>
135                 <exclusion>
136                     <groupId>commons-io</groupId>
137                     <artifactId>commons-io</artifactId>
138                 </exclusion>
139             </exclusions>
140         </dependency>
141
142         <!-- Gson -->
143         <dependency>
144             <groupId>com.google.code.gson</groupId>
145             <artifactId>gson</artifactId>
146             <version>${gson.version}</version>
147             <scope>provided</scope>
148         </dependency>
149
150         <!-- http client -->
151         <dependency>
152             <groupId>org.apache.httpcomponents</groupId>
153             <artifactId>httpclient</artifactId>
154             <version>${httpclient.version}</version>
155             <scope>provided</scope>
156             <exclusions>
157                 <exclusion>
158                     <groupId>org.apache.httpcomponents</groupId>
159                     <artifactId>httpcore</artifactId>
160                 </exclusion>
161             </exclusions>
162         </dependency>
163
164         <dependency>
165             <groupId>org.apache.httpcomponents</groupId>
166             <artifactId>httpcore</artifactId>
167             <version>${httpcore.version}</version>
168             <scope>provided</scope>
169         </dependency>
170
171         <dependency>
172             <groupId>commons-logging</groupId>
173             <artifactId>commons-logging</artifactId>
174             <version>${commons-logging}</version>
175             <scope>provided</scope>
176         </dependency>
177
178         <dependency>
179             <groupId>commons-codec</groupId>
180             <artifactId>commons-codec</artifactId>
181             <version>${commons-codec}</version>
182             <scope>provided</scope>
183         </dependency>
184
185         <dependency>
186             <groupId>org.glassfish.jersey.media</groupId>
187             <artifactId>jersey-media-json-jackson</artifactId>
188             <version>${jersey-bom.version}</version>
189             <scope>provided</scope>
190             <exclusions>
191                 <exclusion>
192                     <groupId>com.fasterxml.jackson.core</groupId>
193                     <artifactId>jackson-annotations</artifactId>
194                 </exclusion>
195             </exclusions>
196         </dependency>
197
198         <!-- Aspects -->
199         <dependency>
200             <groupId>com.jcabi</groupId>
201             <artifactId>jcabi-aspects</artifactId>
202             <version>${jcabi.version}</version>
203             <scope>provided</scope>
204         </dependency>
205
206         <dependency>
207             <groupId>org.aspectj</groupId>
208             <artifactId>aspectjrt</artifactId>
209             <version>${aspectjrt.version}</version>
210             <scope>provided</scope>
211         </dependency>
212
213         <dependency>
214             <groupId>org.apache.commons</groupId>
215             <artifactId>commons-lang3</artifactId>
216             <version>${lang3.version}</version>
217             <scope>provided</scope>
218         </dependency>
219
220         <dependency>
221             <groupId>com.fasterxml.jackson.core</groupId>
222             <artifactId>jackson-databind</artifactId>
223             <version>${jackson.version}</version>
224             <scope>provided</scope>
225             <exclusions>
226                 <exclusion>
227                     <groupId>com.fasterxml.jackson.core</groupId>
228                     <artifactId>jackson-core</artifactId>
229                 </exclusion>
230             </exclusions>
231         </dependency>
232
233         <dependency>
234             <groupId>com.fasterxml.jackson.core</groupId>
235             <artifactId>jackson-core</artifactId>
236             <version>${jackson.version}</version>
237             <scope>provided</scope>
238         </dependency>
239         <!-- logging -->
240         <dependency>
241             <groupId>ch.qos.logback</groupId>
242             <artifactId>logback-classic</artifactId>
243             <version>${logback.version}</version>
244             <scope>provided</scope>
245         </dependency>
246         <!-- logging end -->
247
248         <dependency>
249             <groupId>org.projectlombok</groupId>
250             <artifactId>lombok</artifactId>
251             <version>${lombok.version}</version>
252         </dependency>
253
254         <dependency>
255             <groupId>com.google.guava</groupId>
256             <artifactId>guava</artifactId>
257             <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
258             <scope>provided</scope>
259         </dependency>
260         <!-- System metrics -->
261         <dependency>
262             <groupId>org.fusesource</groupId>
263             <artifactId>sigar</artifactId>
264             <version>${sigar.version}</version>
265             <scope>provided</scope>
266             <exclusions>
267                 <exclusion>
268                     <groupId>log4j</groupId>
269                     <artifactId>log4j</artifactId>
270                 </exclusion>
271             </exclusions>
272         </dependency>
273
274         <dependency>
275             <groupId>org.hamcrest</groupId>
276             <artifactId>hamcrest</artifactId>
277             <version>${hamcrest.version}</version>
278             <scope>test</scope>
279         </dependency>
280
281         <dependency>
282             <groupId>org.hamcrest</groupId>
283             <artifactId>hamcrest-library</artifactId>
284             <version>${hamcrest.version}</version>
285             <scope>test</scope>
286         </dependency>
287
288         <dependency>
289             <groupId>org.junit.jupiter</groupId>
290             <artifactId>junit-jupiter</artifactId>
291             <version>${junitJupiter.version}</version>
292             <scope>test</scope>
293         </dependency>
294
295         <dependency>
296             <groupId>org.mockito</groupId>
297             <artifactId>mockito-junit-jupiter</artifactId>
298             <version>${mockitoJupiter.version}</version>
299             <scope>test</scope>
300         </dependency>
301
302         <dependency>
303             <groupId>com.google.code.bean-matchers</groupId>
304             <artifactId>bean-matchers</artifactId>
305             <version>${bean-matchers.version}</version>
306             <scope>test</scope>
307         </dependency>
308
309         <!-- jsoup HTML parser library @ http://jsoup.org/ -->
310         <dependency>
311             <groupId>org.jsoup</groupId>
312             <artifactId>jsoup</artifactId>
313             <version>${jsoup.version}</version>
314         </dependency>
315
316         <dependency>
317             <groupId>commons-validator</groupId>
318             <artifactId>commons-validator</artifactId>
319             <version>1.6</version>
320             <exclusions>
321                 <exclusion>
322                     <artifactId>commons-collections</artifactId>
323                     <groupId>commons-collections</groupId>
324                 </exclusion>
325             </exclusions>
326         </dependency>
327
328         <dependency>
329             <groupId>org.apache.commons</groupId>
330             <artifactId>commons-collections4</artifactId>
331             <version>${commons.collections.version}</version>
332         </dependency>
333
334         <dependency>
335             <groupId>org.codehaus.jettison</groupId>
336             <artifactId>jettison</artifactId>
337             <version>1.5.3</version>
338         </dependency>
339
340         <dependency>
341             <groupId>de.ruedigermoeller</groupId>
342             <artifactId>fst</artifactId>
343             <version>2.47</version>
344             <scope>compile</scope>
345         </dependency>
346         <dependency>
347             <groupId>org.openecomp.sdc</groupId>
348             <artifactId>common-app-logging</artifactId>
349             <version>${project.version}</version>
350             <scope>compile</scope>
351         </dependency>
352         <dependency>
353             <groupId>com.datastax.cassandra</groupId>
354             <artifactId>cassandra-driver-mapping</artifactId>
355             <version>${cassandra.driver.version}</version>
356             <scope>compile</scope>
357             <exclusions>
358                 <exclusion>
359                     <groupId>com.github.jnr</groupId>
360                     <artifactId>jnr-posix</artifactId>
361                 </exclusion>
362             </exclusions>
363         </dependency>
364         <dependency>
365             <groupId>org.apache.commons</groupId>
366             <artifactId>commons-text</artifactId>
367             <version>${apache-commons-text.version}</version>
368         </dependency>
369         <dependency>
370             <groupId>org.eclipse.jetty</groupId>
371             <artifactId>jetty-servlet</artifactId>
372             <version>${jetty.version}</version>
373             <scope>compile</scope>
374             <exclusions>
375                 <exclusion>
376                     <groupId>org.eclipse.jetty</groupId>
377                     <artifactId>jetty-security</artifactId>
378                 </exclusion>
379             </exclusions>
380         </dependency>
381         <dependency>
382             <groupId>org.eclipse.jetty</groupId>
383             <artifactId>jetty-server</artifactId>
384             <version>${jetty.version}</version>
385             <scope>compile</scope>
386             <exclusions>
387                 <exclusion>
388                     <groupId>org.eclipse.jetty</groupId>
389                     <artifactId>jetty-http</artifactId>
390                 </exclusion>
391                 <exclusion>
392                     <groupId>javax.servlet</groupId>
393                     <artifactId>javax.servlet-api</artifactId>
394                 </exclusion>
395             </exclusions>
396         </dependency>
397     </dependencies>
398
399     <build>
400         <testResources>
401             <testResource>
402                 <directory>src/test/resources</directory>
403                 <excludes>
404                     <exclude>**/*.zip</exclude>
405                 </excludes>
406                 <filtering>true</filtering>
407             </testResource>
408             <testResource>
409                 <directory>src/test/resources/zip</directory>
410                 <includes>
411                     <include>**.zip</include>
412                 </includes>
413                 <filtering>false</filtering>
414                 <targetPath>zip</targetPath>
415             </testResource>
416             <testResource>
417                 <directory>src/test/resources/zip-slip</directory>
418                 <includes>
419                     <include>**.zip</include>
420                 </includes>
421                 <filtering>false</filtering>
422                 <targetPath>zip-slip</targetPath>
423             </testResource>
424         </testResources>
425         <plugins>
426             <plugin>
427                 <groupId>com.github.sylvainlaurent.maven</groupId>
428                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
429                 <executions>
430                     <execution>
431                         <id>validate</id>
432                         <phase>validate</phase>
433                         <goals>
434                             <goal>validate</goal>
435                         </goals>
436                         <configuration>
437                             <validationSets>
438                                 <validationSet>
439                                     <includes>
440                                         <include>src/main/resources/**/*.y*ml</include>
441                                         <include>src/test/resources/**/*.y*ml</include>
442                                     </includes>
443                                 </validationSet>
444                                 <validationSet>
445                                     <includes>
446                                         <include>src/main/resources/**/*.json</include>
447                                         <include>src/test/resources/**/*.json</include>
448                                     </includes>
449                                 </validationSet>
450                             </validationSets>
451                             <skip>${skipYamlJsonValidator}</skip>
452                         </configuration>
453                     </execution>
454                 </executions>
455             </plugin>
456         </plugins>
457     </build>
458 </project>