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