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