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