blob: cfe1ac99ed2dc141d6086a3b9e271df972d355af [file] [log] [blame]
vasrazfb6e60d2019-12-02 13:56:40 +00001<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">
Michael Landob3d48982017-06-11 14:22:02 +03004
vasrazfb6e60d2019-12-02 13:56:40 +00005 <modelVersion>4.0.0</modelVersion>
Michael Landob3d48982017-06-11 14:22:02 +03006
vasrazfb6e60d2019-12-02 13:56:40 +00007 <artifactId>test-apis-ci</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +03008
vasrazfb6e60d2019-12-02 13:56:40 +00009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
Ofir Sonsino09d87892020-03-12 20:52:42 +020012 <version>1.7.0-SNAPSHOT</version>
vasrazfb6e60d2019-12-02 13:56:40 +000013 </parent>
14
15 <properties>
16 <sonar.skip>true</sonar.skip>
Piotr Daroszc82ace52019-06-13 07:42:06 +020017 <mockserver.netty.version>5.5.4</mockserver.netty.version>
vasrazfb6e60d2019-12-02 13:56:40 +000018 </properties>
Michael Lando660b57d2017-10-11 09:45:53 +030019
vasrazfb6e60d2019-12-02 13:56:40 +000020 <dependencies>
21 <dependency>
22 <groupId>com.google.guava</groupId>
23 <artifactId>guava</artifactId>
24 <version>${guava.version}</version>
25 <scope>compile</scope>
26 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +030027
vasrazfb6e60d2019-12-02 13:56:40 +000028 <dependency>
29 <groupId>junit</groupId>
30 <artifactId>junit</artifactId>
31 <version>${junit.version}</version>
32 <scope>compile</scope>
33 </dependency>
Michael Landodc856bb2018-08-13 13:27:52 +030034
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +020035 <dependency>
36 <groupId>org.junit.jupiter</groupId>
37 <artifactId>junit-jupiter</artifactId>
38 <version>${junitJupiter.version}</version>
39 <scope>test</scope>
40 </dependency>
41
42 <dependency>
43 <groupId>org.mockito</groupId>
44 <artifactId>mockito-junit-jupiter</artifactId>
45 <version>${mockitoJupiter.version}</version>
46 <scope>test</scope>
47 </dependency>
48
vasrazfb6e60d2019-12-02 13:56:40 +000049 <dependency>
50 <groupId>org.assertj</groupId>
51 <artifactId>assertj-core</artifactId>
52 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030053
vasrazfb6e60d2019-12-02 13:56:40 +000054 <dependency>
55 <groupId>org.hamcrest</groupId>
56 <artifactId>hamcrest-all</artifactId>
57 <version>${hamcrest-all.version}</version>
58 <scope>test</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.testng</groupId>
62 <artifactId>testng</artifactId>
63 <version>${testng.version}</version>
64 <scope>compile</scope>
65 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030066
vasrazfb6e60d2019-12-02 13:56:40 +000067 <dependency>
68 <groupId>com.aventstack</groupId>
69 <artifactId>extentreports</artifactId>
70 <version>3.0.6</version>
71 <scope>compile</scope>
72 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030073
vasrazfb6e60d2019-12-02 13:56:40 +000074 <dependency>
75 <groupId>org.mockito</groupId>
76 <artifactId>mockito-core</artifactId>
77 <scope>test</scope>
78 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030079
vasrazfb6e60d2019-12-02 13:56:40 +000080 <dependency>
81 <groupId>com.typesafe</groupId>
82 <artifactId>config</artifactId>
83 <version>1.0.2</version>
84 <scope>compile</scope>
85 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030086
vasrazfb6e60d2019-12-02 13:56:40 +000087 <dependency>
88 <groupId>log4j</groupId>
89 <artifactId>log4j</artifactId>
90 <version>1.2.17</version>
91 <scope>compile</scope>
92 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030093
vasrazfb6e60d2019-12-02 13:56:40 +000094 <dependency>
95 <groupId>com.jcraft.jsch</groupId>
96 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
97 <version>0.1.41</version>
98 <scope>compile</scope>
99 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300100
vasrazfb6e60d2019-12-02 13:56:40 +0000101 <dependency>
102 <groupId>org.openecomp.sdc</groupId>
103 <artifactId>common-app-api</artifactId>
104 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000105 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300106
vasrazfb6e60d2019-12-02 13:56:40 +0000107 <dependency>
108 <groupId>org.openecomp.sdc.be</groupId>
109 <artifactId>common-be</artifactId>
110 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000111 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300112
vasrazfb6e60d2019-12-02 13:56:40 +0000113 <!-- CHECK CATLOG MODEL -->
114 <dependency>
115 <groupId>org.openecomp.sdc.be</groupId>
116 <artifactId>catalog-model</artifactId>
117 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000118 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300119
vasrazfb6e60d2019-12-02 13:56:40 +0000120 <!-- catalog dao -->
121 <dependency>
122 <groupId>org.openecomp.sdc.be</groupId>
123 <artifactId>catalog-dao</artifactId>
124 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000125 </dependency>
126 <!-- functional java -->
127 <dependency>
128 <groupId>org.functionaljava</groupId>
129 <artifactId>functionaljava</artifactId>
130 <version>${functionaljava.version}</version>
131 <scope>compile</scope>
132 </dependency>
133 <!-- CASSANDRA -->
134 <dependency>
135 <groupId>com.datastax.cassandra</groupId>
136 <artifactId>cassandra-driver-core</artifactId>
137 <version>${cassandra.driver.version}</version>
138 <scope>compile</scope>
139 </dependency>
140 <!-- CASSANDRA END -->
Michael Landob3d48982017-06-11 14:22:02 +0300141
vasrazfb6e60d2019-12-02 13:56:40 +0000142 <!-- slf4j + logback -->
143 <dependency>
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-api</artifactId>
146 <version>${slf4j-api.version}</version>
147 <scope>compile</scope>
148 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300149
vasrazfb6e60d2019-12-02 13:56:40 +0000150 <dependency>
151 <groupId>ch.qos.logback</groupId>
152 <artifactId>logback-classic</artifactId>
153 <version>${logback.version}</version>
154 <scope>compile</scope>
155 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300156
vasrazfb6e60d2019-12-02 13:56:40 +0000157 <dependency>
158 <groupId>ch.qos.logback</groupId>
159 <artifactId>logback-core</artifactId>
160 <version>${logback.version}</version>
161 <scope>compile</scope>
162 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300163
vasrazfb6e60d2019-12-02 13:56:40 +0000164 <dependency>
165 <groupId>com.googlecode.json-simple</groupId>
166 <artifactId>json-simple</artifactId>
167 <version>${json-simple.version}</version>
168 <scope>compile</scope>
169 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300170
vasrazfb6e60d2019-12-02 13:56:40 +0000171 <!-- File changes listener -->
172 <dependency>
173 <groupId>org.apache.commons</groupId>
174 <artifactId>commons-jci-core</artifactId>
175 <version>${commons-jci-core.version}</version>
176 <scope>compile</scope>
177 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300178
vasrazfb6e60d2019-12-02 13:56:40 +0000179 <dependency>
180 <groupId>commons-codec</groupId>
181 <artifactId>commons-codec</artifactId>
182 <version>${commons-codec}</version>
183 <scope>compile</scope>
184 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300185
vasrazfb6e60d2019-12-02 13:56:40 +0000186 <!-- Gson -->
187 <dependency>
188 <groupId>com.google.code.gson</groupId>
189 <artifactId>gson</artifactId>
190 <version>${gson.version}</version>
191 <scope>compile</scope>
192 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300193
vasrazfb6e60d2019-12-02 13:56:40 +0000194 <!-- Snake Yaml -->
195 <dependency>
196 <groupId>org.yaml</groupId>
197 <artifactId>snakeyaml</artifactId>
198 <version>${snakeyaml.version}</version>
199 <scope>compile</scope>
200 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300201
vasrazfb6e60d2019-12-02 13:56:40 +0000202 <!-- http client -->
203 <dependency>
204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpclient</artifactId>
206 <version>${httpclient.version}</version>
207 <scope>compile</scope>
208 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300209
vasrazfb6e60d2019-12-02 13:56:40 +0000210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpmime</artifactId>
213 <version>${httpclient.version}</version>
214 <scope>compile</scope>
215 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300216
vasrazfb6e60d2019-12-02 13:56:40 +0000217 <dependency>
218 <groupId>commons-io</groupId>
219 <artifactId>commons-io</artifactId>
220 <version>2.5</version>
221 <scope>compile</scope>
222 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300223
vasrazfb6e60d2019-12-02 13:56:40 +0000224 <dependency>
225 <groupId>commons-logging</groupId>
226 <artifactId>commons-logging</artifactId>
227 <version>${commons-logging}</version>
228 <scope>compile</scope>
229 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300230
vasrazfb6e60d2019-12-02 13:56:40 +0000231 <!-- http core -->
232 <dependency>
233 <groupId>org.apache.httpcomponents</groupId>
234 <artifactId>httpcore</artifactId>
235 <version>${httpcore.version}</version>
236 <scope>compile</scope>
237 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300238
vasrazfb6e60d2019-12-02 13:56:40 +0000239 <dependency>
240 <groupId>org.janusgraph</groupId>
241 <artifactId>janusgraph-core</artifactId>
242 <version>${janusgraph.version}</version>
243 <scope>compile</scope>
244 <exclusions>
245 <exclusion>
246 <artifactId>slf4j-log4j12</artifactId>
247 <groupId>org.slf4j</groupId>
248 </exclusion>
249 <exclusion>
250 <artifactId>commons-collections</artifactId>
251 <groupId>commons-collections</groupId>
252 </exclusion>
253 <exclusion>
254 <artifactId>groovy</artifactId>
255 <groupId>org.codehaus.groovy</groupId>
256 </exclusion>
257 <exclusion>
258 <groupId>org.apache.thrift</groupId>
259 <artifactId>libthrift</artifactId>
260 </exclusion>
261 </exclusions>
262 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300263
vasrazfb6e60d2019-12-02 13:56:40 +0000264 <dependency>
shrek20000594c412020-01-30 14:52:49 +0200265 <groupId>com.clearspring.analytics</groupId>
266 <artifactId>stream</artifactId>
267 <version>${clearspring.version}</version>
268 </dependency>
269 <dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000270 <groupId>org.janusgraph</groupId>
shrek20000594c412020-01-30 14:52:49 +0200271 <artifactId>janusgraph-cql</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000272 <version>${janusgraph.version}</version>
273 <scope>compile</scope>
274 <exclusions>
275 <exclusion>
vasrazfb6e60d2019-12-02 13:56:40 +0000276 <groupId>org.slf4j</groupId>
shrek20000594c412020-01-30 14:52:49 +0200277 <artifactId>slf4j-log4j12</artifactId>
278 </exclusion>
279 <exclusion>
280 <groupId>org.json</groupId>
281 <artifactId>json</artifactId>
282 </exclusion>
283 <exclusion>
284 <artifactId>commons-collections</artifactId>
285 <groupId>commons-collections</groupId>
286 </exclusion>
287 <exclusion>
288 <artifactId>groovy</artifactId>
289 <groupId>org.codehaus.groovy</groupId>
290 </exclusion>
291 <exclusion>
292 <groupId>io.netty</groupId>
293 <artifactId>netty-all</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000294 </exclusion>
295 </exclusions>
296 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300297
vasrazfb6e60d2019-12-02 13:56:40 +0000298 <dependency>
299 <groupId>org.codehaus.jackson</groupId>
300 <artifactId>jackson-mapper-asl</artifactId>
301 <version>1.9.2</version>
302 <scope>compile</scope>
303 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300304
vasrazfb6e60d2019-12-02 13:56:40 +0000305 <dependency>
306 <groupId>com.fasterxml.jackson.core</groupId>
307 <artifactId>jackson-databind</artifactId>
308 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100309 <exclusions>
310 <exclusion>
311 <groupId>com.fasterxml.jackson.core</groupId>
312 <artifactId>jackson-core</artifactId>
313 </exclusion>
314 </exclusions>
vasrazfb6e60d2019-12-02 13:56:40 +0000315 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300316
vasrazfb6e60d2019-12-02 13:56:40 +0000317 <dependency>
318 <groupId>com.fasterxml.jackson.core</groupId>
319 <artifactId>jackson-core</artifactId>
320 <version>${jackson.version}</version>
321 <scope>compile</scope>
322 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300323
vasrazfb6e60d2019-12-02 13:56:40 +0000324 <dependency>
325 <groupId>org.onap.portal.sdk</groupId>
326 <artifactId>epsdk-fw</artifactId>
327 <version>${ecomp.version}</version>
328 <scope>compile</scope>
329 <exclusions>
330 <exclusion>
331 <artifactId>slf4j-log4j12</artifactId>
332 <groupId>org.slf4j</groupId>
333 </exclusion>
334 </exclusions>
335 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300336
vasrazfb6e60d2019-12-02 13:56:40 +0000337 <dependency>
338 <groupId>org.json</groupId>
339 <artifactId>json</artifactId>
340 <version>20131018</version>
341 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300342
vasrazfb6e60d2019-12-02 13:56:40 +0000343 <dependency>
344 <groupId>org.onap.sdc.sdc-tosca</groupId>
345 <artifactId>sdc-tosca</artifactId>
346 <version>${sdc-tosca-parser.version}</version>
347 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300348
vasrazfb6e60d2019-12-02 13:56:40 +0000349 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100350 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000351 <artifactId>cucumber-junit</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100352 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000353 <scope>test</scope>
354 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300355
vasrazfb6e60d2019-12-02 13:56:40 +0000356 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100357 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000358 <artifactId>cucumber-core</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100359 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000360 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300361
vasrazfb6e60d2019-12-02 13:56:40 +0000362 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100363 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000364 <artifactId>gherkin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100365 <version>13.0.0</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000366 </dependency>
367 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100368 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000369 <artifactId>cucumber-java</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100370 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000371 <scope>test</scope>
372 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300373
vasrazfb6e60d2019-12-02 13:56:40 +0000374 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100375 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000376 <artifactId>cucumber-jvm-deps</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100377 <version>1.0.6</version>
378 <scope>provided</scope>
vasrazfb6e60d2019-12-02 13:56:40 +0000379 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200380
vasrazfb6e60d2019-12-02 13:56:40 +0000381 <dependency>
382 <groupId>org.mock-server</groupId>
383 <artifactId>mockserver-netty</artifactId>
384 <version>${mockserver.netty.version}</version>
385 <scope>test</scope>
386 <exclusions>
387 <exclusion>
388 <artifactId>commons-collections</artifactId>
389 <groupId>commons-collections</groupId>
390 </exclusion>
391 </exclusions>
392 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200393
vasrazfb6e60d2019-12-02 13:56:40 +0000394 <dependency>
395 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
396 <artifactId>sdc-distribution-client</artifactId>
397 <version>1.2.2</version>
398 <scope>test</scope>
399 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200400
vasrazfb6e60d2019-12-02 13:56:40 +0000401 <!-- With TestNG -->
402 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100403 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000404 <artifactId>cucumber-testng</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100405 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000406 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300407
vasrazfb6e60d2019-12-02 13:56:40 +0000408 <!-- spring -->
409 <dependency>
410 <groupId>org.springframework</groupId>
411 <artifactId>spring-context</artifactId>
412 <version>${spring.version}</version>
413 <scope>compile</scope>
414 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300415
vasrazfb6e60d2019-12-02 13:56:40 +0000416 <!-- CASSANDRA -->
417 <dependency>
418 <groupId>com.datastax.cassandra</groupId>
419 <artifactId>cassandra-driver-mapping</artifactId>
420 <version>${cassandra.driver.version}</version>
421 <scope>compile</scope>
422 </dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000423 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300424
vasrazfb6e60d2019-12-02 13:56:40 +0000425 <dependency>
426 <groupId>org.codehaus.groovy</groupId>
427 <artifactId>groovy</artifactId>
428 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300429
vasrazfb6e60d2019-12-02 13:56:40 +0000430 <dependency>
431 <groupId>io.netty</groupId>
432 <artifactId>netty-all</artifactId>
433 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200434
vasrazfb6e60d2019-12-02 13:56:40 +0000435 <dependency>
436 <groupId>io.netty</groupId>
437 <artifactId>netty-handler</artifactId>
438 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200439
vasrazfb6e60d2019-12-02 13:56:40 +0000440 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200441
vasrazfb6e60d2019-12-02 13:56:40 +0000442 <build>
443 <plugins>
444 <plugin>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-clean-plugin</artifactId>
447 <executions>
448 <execution>
449 <id>clean.testsuit.folder</id>
450 <phase>clean</phase>
451 <goals>
452 <goal>clean</goal>
453 </goals>
454 <configuration>
455 <filesets>
456 <!-- Sanity jar -->
457 <fileset>
458 <directory>${project.basedir}/sdc-api-tests</directory>
459 <followSymlinks>false</followSymlinks>
460 <includes>
461 <include>*.jar</include>
462 </includes>
463 </fileset>
464 <!-- Sanity test suites -->
465 <fileset>
466 <directory>
467 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
468 </directory>
469 <followSymlinks>false</followSymlinks>
470 </fileset>
471 </filesets>
472 </configuration>
473 </execution>
474 </executions>
475 </plugin>
476
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-deploy-plugin</artifactId>
480 <configuration>
481 <skip>true</skip>
482 </configuration>
483 </plugin>
484
485 <!-- ============================================= -->
486 <!-- Create the JAR file with its dependencies -->
487 <!-- ============================================= -->
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-assembly-plugin</artifactId>
491 <executions>
492 <execution>
493 <id>create.jar.with.dependencies</id>
494 <phase>package</phase>
495 <goals>
496 <goal>single</goal>
497 </goals>
498 <configuration>
499 <archive>
500 <manifest>
501 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
502 </manifest>
503 </archive>
504 <descriptorRefs>
505 <descriptorRef>jar-with-dependencies</descriptorRef>
506 </descriptorRefs>
507 </configuration>
508 </execution>
509 </executions>
510 </plugin>
511 <plugin>
512 <groupId>com.github.sylvainlaurent.maven</groupId>
513 <artifactId>yaml-json-validator-maven-plugin</artifactId>
514 <executions>
515 <execution>
516 <id>validate</id>
517 <phase>validate</phase>
518 <goals>
519 <goal>validate</goal>
520 </goals>
521 <configuration>
522 <validationSets>
523 <validationSet>
524 <includes>
525 <include>src/main/resources/**/*.y*ml</include>
526 <include>src/test/resources/**/*.y*ml</include>
527 </includes>
528 <excludes>
529 <exclude>
530 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
531 </exclude>
532 <exclude>
533 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
534 </exclude>
535 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
536 </exclude>
537 </excludes>
538 </validationSet>
539 <validationSet>
540 <includes>
541 <include>src/main/resources/**/*.json</include>
542 <include>src/test/resources/**/*.json</include>
543 </includes>
544 <excludes>
545 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
546 </exclude>
547 </excludes>
548 </validationSet>
549 </validationSets>
550 </configuration>
551 </execution>
552 </executions>
553 </plugin>
554 </plugins>
555 </build>
556 <profiles>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200557 <profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000558 <id>docker</id>
559 <activation>
560 <activeByDefault>false</activeByDefault>
561 </activation>
562 <build>
563 <plugins>
564 <plugin>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-resources-plugin</artifactId>
567 <executions>
568 <execution>
569 <id>copy-tests-suites</id>
570 <phase>verify</phase>
571 <goals>
572 <goal>copy-resources</goal>
573 </goals>
574 <configuration>
575 <outputDirectory>
576 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
577 </outputDirectory>
578 <resources>
579 <resource>
580 <directory>
581 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
582 </directory>
583 <includes>
584 <include>*</include>
585 </includes>
586 </resource>
587 </resources>
588 </configuration>
589 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200590
vasrazfb6e60d2019-12-02 13:56:40 +0000591 <execution>
592 <id>copy-resources-test-apis-ci</id>
593 <phase>verify</phase>
594 <goals>
595 <goal>copy-resources</goal>
596 </goals>
597 <configuration>
598 <outputDirectory>sdc-api-tests</outputDirectory>
599 <resources>
600 <resource>
601 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
602 <includes>
603 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
604 </includes>
605 </resource>
606 </resources>
607 </configuration>
608 </execution>
609 </executions>
610 </plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200611
vasrazfb6e60d2019-12-02 13:56:40 +0000612 <plugin>
613 <groupId>io.fabric8</groupId>
614 <artifactId>docker-maven-plugin</artifactId>
615 <configuration>
616 <apiVersion>1.23</apiVersion>
617 <registry>nexus3.onap.org:10001</registry>
618 <authConfig>
619 <pull>
620 <username>docker</username>
621 <password>docker</password>
622 </pull>
623 </authConfig>
624 <images>
625 <!-- Build sanity image -->
626 <image>
627 <name>onap/sdc-api-tests</name>
628 <alias>sdc-api-tests</alias>
629 <build>
630 <cleanup>try</cleanup>
631 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
632 <tags>
633 <tag>${docker.tag}</tag>
vasrazbbe2a932019-12-05 13:53:51 +0000634 <tag>
635 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
636 </tag>
vasrazfb6e60d2019-12-02 13:56:40 +0000637 </tags>
638 </build>
639 </image>
640 </images>
641 </configuration>
642 <executions>
643 <execution>
644 <id>clean-images</id>
645 <phase>pre-clean</phase>
646 <goals>
647 <goal>remove</goal>
648 </goals>
649 <configuration>
650 <removeAll>true</removeAll>
vasrazbbe2a932019-12-05 13:53:51 +0000651 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000652 </configuration>
653 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200654
vasrazfb6e60d2019-12-02 13:56:40 +0000655 <execution>
656 <id>generate-images</id>
657 <phase>install</phase>
658 <goals>
659 <goal>build</goal>
660 </goals>
661 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200662
vasrazfb6e60d2019-12-02 13:56:40 +0000663 <execution>
664 <id>push-images</id>
665 <phase>deploy</phase>
666 <goals>
667 <goal>push</goal>
668 </goals>
669 <configuration>
vasrazbbe2a932019-12-05 13:53:51 +0000670 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000671 </configuration>
672 </execution>
673 </executions>
674 </plugin>
675 </plugins>
676 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200677 </profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000678 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300679
Michael Landob3d48982017-06-11 14:22:02 +0300680</project>