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