bbb608a01725013455957058a8612a1ab0f455f1
[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.13.0-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                 <exclusion>
196                     <groupId>com.fasterxml.jackson.module</groupId>
197                     <artifactId>jackson-module-jaxb-annotations</artifactId>
198                 </exclusion>
199             </exclusions>
200         </dependency>
201         <dependency>
202             <groupId>com.fasterxml.jackson.module</groupId>
203             <artifactId>jackson-module-jaxb-annotations</artifactId>
204             <version>${jackson.version}</version>
205         </dependency>
206
207         <!-- Aspects -->
208         <dependency>
209             <groupId>com.jcabi</groupId>
210             <artifactId>jcabi-aspects</artifactId>
211             <version>${jcabi.version}</version>
212             <scope>provided</scope>
213         </dependency>
214
215         <dependency>
216             <groupId>org.aspectj</groupId>
217             <artifactId>aspectjrt</artifactId>
218             <version>${aspectjrt.version}</version>
219             <scope>provided</scope>
220         </dependency>
221
222         <dependency>
223             <groupId>org.apache.commons</groupId>
224             <artifactId>commons-lang3</artifactId>
225             <version>${lang3.version}</version>
226             <scope>provided</scope>
227         </dependency>
228
229         <dependency>
230             <groupId>com.fasterxml.jackson.core</groupId>
231             <artifactId>jackson-databind</artifactId>
232             <version>${jackson.version}</version>
233             <scope>provided</scope>
234             <exclusions>
235                 <exclusion>
236                     <groupId>com.fasterxml.jackson.core</groupId>
237                     <artifactId>jackson-core</artifactId>
238                 </exclusion>
239             </exclusions>
240         </dependency>
241
242         <dependency>
243             <groupId>com.fasterxml.jackson.core</groupId>
244             <artifactId>jackson-core</artifactId>
245             <version>${jackson.version}</version>
246             <scope>provided</scope>
247         </dependency>
248         <!-- logging -->
249         <dependency>
250             <groupId>ch.qos.logback</groupId>
251             <artifactId>logback-classic</artifactId>
252             <version>${logback.version}</version>
253             <scope>provided</scope>
254         </dependency>
255         <!-- logging end -->
256
257         <dependency>
258             <groupId>org.projectlombok</groupId>
259             <artifactId>lombok</artifactId>
260             <version>${lombok.version}</version>
261         </dependency>
262
263         <dependency>
264             <groupId>com.google.guava</groupId>
265             <artifactId>guava</artifactId>
266             <version>${guava.version}</version><!--$NO-MVN-MAN-VER$ -->
267             <scope>provided</scope>
268         </dependency>
269         <!-- System metrics -->
270         <dependency>
271             <groupId>org.fusesource</groupId>
272             <artifactId>sigar</artifactId>
273             <version>${sigar.version}</version>
274             <scope>provided</scope>
275             <exclusions>
276                 <exclusion>
277                     <groupId>log4j</groupId>
278                     <artifactId>log4j</artifactId>
279                 </exclusion>
280             </exclusions>
281         </dependency>
282
283         <dependency>
284             <groupId>org.hamcrest</groupId>
285             <artifactId>hamcrest</artifactId>
286             <version>${hamcrest.version}</version>
287             <scope>test</scope>
288         </dependency>
289
290         <dependency>
291             <groupId>org.hamcrest</groupId>
292             <artifactId>hamcrest-library</artifactId>
293             <version>${hamcrest.version}</version>
294             <scope>test</scope>
295         </dependency>
296
297         <dependency>
298             <groupId>org.junit.jupiter</groupId>
299             <artifactId>junit-jupiter</artifactId>
300             <version>${junitJupiter.version}</version>
301             <scope>test</scope>
302         </dependency>
303
304         <dependency>
305             <groupId>org.mockito</groupId>
306             <artifactId>mockito-junit-jupiter</artifactId>
307             <version>${mockitoJupiter.version}</version>
308             <scope>test</scope>
309         </dependency>
310
311         <dependency>
312             <groupId>com.google.code.bean-matchers</groupId>
313             <artifactId>bean-matchers</artifactId>
314             <version>${bean-matchers.version}</version>
315             <scope>test</scope>
316         </dependency>
317
318         <!-- jsoup HTML parser library @ http://jsoup.org/ -->
319         <dependency>
320             <groupId>org.jsoup</groupId>
321             <artifactId>jsoup</artifactId>
322             <version>${jsoup.version}</version>
323         </dependency>
324
325         <dependency>
326             <groupId>commons-validator</groupId>
327             <artifactId>commons-validator</artifactId>
328             <version>1.6</version>
329             <exclusions>
330                 <exclusion>
331                     <artifactId>commons-collections</artifactId>
332                     <groupId>commons-collections</groupId>
333                 </exclusion>
334             </exclusions>
335         </dependency>
336
337         <dependency>
338             <groupId>org.apache.commons</groupId>
339             <artifactId>commons-collections4</artifactId>
340             <version>${commons.collections.version}</version>
341         </dependency>
342
343         <dependency>
344             <groupId>org.codehaus.jettison</groupId>
345             <artifactId>jettison</artifactId>
346             <version>1.5.3</version>
347         </dependency>
348
349         <dependency>
350             <groupId>de.ruedigermoeller</groupId>
351             <artifactId>fst</artifactId>
352             <version>2.47</version>
353             <scope>compile</scope>
354         </dependency>
355         <dependency>
356             <groupId>org.openecomp.sdc</groupId>
357             <artifactId>common-app-logging</artifactId>
358             <version>${project.version}</version>
359             <scope>compile</scope>
360         </dependency>
361         <dependency>
362             <groupId>com.datastax.cassandra</groupId>
363             <artifactId>cassandra-driver-mapping</artifactId>
364             <version>${cassandra.driver.version}</version>
365             <scope>compile</scope>
366             <exclusions>
367                 <exclusion>
368                     <groupId>com.github.jnr</groupId>
369                     <artifactId>jnr-posix</artifactId>
370                 </exclusion>
371             </exclusions>
372         </dependency>
373         <dependency>
374             <groupId>org.apache.commons</groupId>
375             <artifactId>commons-text</artifactId>
376             <version>${apache-commons-text.version}</version>
377         </dependency>
378         <dependency>
379             <groupId>org.eclipse.jetty</groupId>
380             <artifactId>jetty-servlet</artifactId>
381             <version>${jetty.version}</version>
382             <scope>compile</scope>
383             <exclusions>
384                 <exclusion>
385                     <groupId>org.eclipse.jetty</groupId>
386                     <artifactId>jetty-security</artifactId>
387                 </exclusion>
388             </exclusions>
389         </dependency>
390         <dependency>
391             <groupId>org.eclipse.jetty</groupId>
392             <artifactId>jetty-server</artifactId>
393             <version>${jetty.version}</version>
394             <scope>compile</scope>
395             <exclusions>
396                 <exclusion>
397                     <groupId>org.eclipse.jetty</groupId>
398                     <artifactId>jetty-http</artifactId>
399                 </exclusion>
400                 <exclusion>
401                     <groupId>javax.servlet</groupId>
402                     <artifactId>javax.servlet-api</artifactId>
403                 </exclusion>
404             </exclusions>
405         </dependency>
406     </dependencies>
407
408     <build>
409         <testResources>
410             <testResource>
411                 <directory>src/test/resources</directory>
412                 <excludes>
413                     <exclude>**/*.zip</exclude>
414                 </excludes>
415                 <filtering>true</filtering>
416             </testResource>
417             <testResource>
418                 <directory>src/test/resources/zip</directory>
419                 <includes>
420                     <include>**.zip</include>
421                 </includes>
422                 <filtering>false</filtering>
423                 <targetPath>zip</targetPath>
424             </testResource>
425             <testResource>
426                 <directory>src/test/resources/zip-slip</directory>
427                 <includes>
428                     <include>**.zip</include>
429                 </includes>
430                 <filtering>false</filtering>
431                 <targetPath>zip-slip</targetPath>
432             </testResource>
433         </testResources>
434         <plugins>
435             <plugin>
436                 <groupId>com.github.sylvainlaurent.maven</groupId>
437                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
438                 <executions>
439                     <execution>
440                         <id>validate</id>
441                         <phase>validate</phase>
442                         <goals>
443                             <goal>validate</goal>
444                         </goals>
445                         <configuration>
446                             <validationSets>
447                                 <validationSet>
448                                     <includes>
449                                         <include>src/main/resources/**/*.y*ml</include>
450                                         <include>src/test/resources/**/*.y*ml</include>
451                                     </includes>
452                                 </validationSet>
453                                 <validationSet>
454                                     <includes>
455                                         <include>src/main/resources/**/*.json</include>
456                                         <include>src/test/resources/**/*.json</include>
457                                     </includes>
458                                 </validationSet>
459                             </validationSets>
460                             <skip>${skipYamlJsonValidator}</skip>
461                         </configuration>
462                     </execution>
463                 </executions>
464             </plugin>
465         </plugins>
466     </build>
467 </project>