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