blob: 35b0b4f716ae19c5c79215301bd9cea6759ad5ba [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>
12 <version>1.6.0-SNAPSHOT</version>
13 </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
vasrazfb6e60d2019-12-02 13:56:40 +000035 <dependency>
36 <groupId>org.assertj</groupId>
37 <artifactId>assertj-core</artifactId>
38 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030039
vasrazfb6e60d2019-12-02 13:56:40 +000040 <dependency>
41 <groupId>org.hamcrest</groupId>
42 <artifactId>hamcrest-all</artifactId>
43 <version>${hamcrest-all.version}</version>
44 <scope>test</scope>
45 </dependency>
46 <dependency>
47 <groupId>org.testng</groupId>
48 <artifactId>testng</artifactId>
49 <version>${testng.version}</version>
50 <scope>compile</scope>
51 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030052
vasrazfb6e60d2019-12-02 13:56:40 +000053 <dependency>
54 <groupId>com.aventstack</groupId>
55 <artifactId>extentreports</artifactId>
56 <version>3.0.6</version>
57 <scope>compile</scope>
58 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030059
vasrazfb6e60d2019-12-02 13:56:40 +000060 <dependency>
61 <groupId>org.mockito</groupId>
62 <artifactId>mockito-core</artifactId>
63 <scope>test</scope>
64 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030065
vasrazfb6e60d2019-12-02 13:56:40 +000066 <dependency>
67 <groupId>com.typesafe</groupId>
68 <artifactId>config</artifactId>
69 <version>1.0.2</version>
70 <scope>compile</scope>
71 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030072
vasrazfb6e60d2019-12-02 13:56:40 +000073 <dependency>
74 <groupId>log4j</groupId>
75 <artifactId>log4j</artifactId>
76 <version>1.2.17</version>
77 <scope>compile</scope>
78 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030079
vasrazfb6e60d2019-12-02 13:56:40 +000080 <dependency>
81 <groupId>com.jcraft.jsch</groupId>
82 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
83 <version>0.1.41</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>org.openecomp.sdc</groupId>
89 <artifactId>common-app-api</artifactId>
90 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +000091 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030092
vasrazfb6e60d2019-12-02 13:56:40 +000093 <dependency>
94 <groupId>org.openecomp.sdc.be</groupId>
95 <artifactId>common-be</artifactId>
96 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +000097 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030098
vasrazfb6e60d2019-12-02 13:56:40 +000099 <!-- CHECK CATLOG MODEL -->
100 <dependency>
101 <groupId>org.openecomp.sdc.be</groupId>
102 <artifactId>catalog-model</artifactId>
103 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000104 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300105
vasrazfb6e60d2019-12-02 13:56:40 +0000106 <!-- catalog dao -->
107 <dependency>
108 <groupId>org.openecomp.sdc.be</groupId>
109 <artifactId>catalog-dao</artifactId>
110 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000111 </dependency>
112 <!-- functional java -->
113 <dependency>
114 <groupId>org.functionaljava</groupId>
115 <artifactId>functionaljava</artifactId>
116 <version>${functionaljava.version}</version>
117 <scope>compile</scope>
118 </dependency>
119 <!-- CASSANDRA -->
120 <dependency>
121 <groupId>com.datastax.cassandra</groupId>
122 <artifactId>cassandra-driver-core</artifactId>
123 <version>${cassandra.driver.version}</version>
124 <scope>compile</scope>
125 </dependency>
126 <!-- CASSANDRA END -->
Michael Landob3d48982017-06-11 14:22:02 +0300127
vasrazfb6e60d2019-12-02 13:56:40 +0000128 <!-- slf4j + logback -->
129 <dependency>
130 <groupId>org.slf4j</groupId>
131 <artifactId>slf4j-api</artifactId>
132 <version>${slf4j-api.version}</version>
133 <scope>compile</scope>
134 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300135
vasrazfb6e60d2019-12-02 13:56:40 +0000136 <dependency>
137 <groupId>ch.qos.logback</groupId>
138 <artifactId>logback-classic</artifactId>
139 <version>${logback.version}</version>
140 <scope>compile</scope>
141 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300142
vasrazfb6e60d2019-12-02 13:56:40 +0000143 <dependency>
144 <groupId>ch.qos.logback</groupId>
145 <artifactId>logback-core</artifactId>
146 <version>${logback.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>com.googlecode.json-simple</groupId>
152 <artifactId>json-simple</artifactId>
153 <version>${json-simple.version}</version>
154 <scope>compile</scope>
155 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300156
vasrazfb6e60d2019-12-02 13:56:40 +0000157 <!-- File changes listener -->
158 <dependency>
159 <groupId>org.apache.commons</groupId>
160 <artifactId>commons-jci-core</artifactId>
161 <version>${commons-jci-core.version}</version>
162 <scope>compile</scope>
163 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300164
vasrazfb6e60d2019-12-02 13:56:40 +0000165 <dependency>
166 <groupId>commons-codec</groupId>
167 <artifactId>commons-codec</artifactId>
168 <version>${commons-codec}</version>
169 <scope>compile</scope>
170 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300171
vasrazfb6e60d2019-12-02 13:56:40 +0000172 <!-- Gson -->
173 <dependency>
174 <groupId>com.google.code.gson</groupId>
175 <artifactId>gson</artifactId>
176 <version>${gson.version}</version>
177 <scope>compile</scope>
178 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300179
vasrazfb6e60d2019-12-02 13:56:40 +0000180 <!-- Snake Yaml -->
181 <dependency>
182 <groupId>org.yaml</groupId>
183 <artifactId>snakeyaml</artifactId>
184 <version>${snakeyaml.version}</version>
185 <scope>compile</scope>
186 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300187
vasrazfb6e60d2019-12-02 13:56:40 +0000188 <!-- http client -->
189 <dependency>
190 <groupId>org.apache.httpcomponents</groupId>
191 <artifactId>httpclient</artifactId>
192 <version>${httpclient.version}</version>
193 <scope>compile</scope>
194 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300195
vasrazfb6e60d2019-12-02 13:56:40 +0000196 <dependency>
197 <groupId>org.apache.httpcomponents</groupId>
198 <artifactId>httpmime</artifactId>
199 <version>${httpclient.version}</version>
200 <scope>compile</scope>
201 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300202
vasrazfb6e60d2019-12-02 13:56:40 +0000203 <dependency>
204 <groupId>commons-io</groupId>
205 <artifactId>commons-io</artifactId>
206 <version>2.5</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>commons-logging</groupId>
212 <artifactId>commons-logging</artifactId>
213 <version>${commons-logging}</version>
214 <scope>compile</scope>
215 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300216
vasrazfb6e60d2019-12-02 13:56:40 +0000217 <!-- http core -->
218 <dependency>
219 <groupId>org.apache.httpcomponents</groupId>
220 <artifactId>httpcore</artifactId>
221 <version>${httpcore.version}</version>
222 <scope>compile</scope>
223 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300224
vasrazfb6e60d2019-12-02 13:56:40 +0000225 <dependency>
226 <groupId>org.janusgraph</groupId>
227 <artifactId>janusgraph-core</artifactId>
228 <version>${janusgraph.version}</version>
229 <scope>compile</scope>
230 <exclusions>
231 <exclusion>
232 <artifactId>slf4j-log4j12</artifactId>
233 <groupId>org.slf4j</groupId>
234 </exclusion>
235 <exclusion>
236 <artifactId>commons-collections</artifactId>
237 <groupId>commons-collections</groupId>
238 </exclusion>
239 <exclusion>
240 <artifactId>groovy</artifactId>
241 <groupId>org.codehaus.groovy</groupId>
242 </exclusion>
243 <exclusion>
244 <groupId>org.apache.thrift</groupId>
245 <artifactId>libthrift</artifactId>
246 </exclusion>
247 </exclusions>
248 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300249
vasrazfb6e60d2019-12-02 13:56:40 +0000250 <dependency>
shrek20000594c412020-01-30 14:52:49 +0200251 <groupId>com.clearspring.analytics</groupId>
252 <artifactId>stream</artifactId>
253 <version>${clearspring.version}</version>
254 </dependency>
255 <dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000256 <groupId>org.janusgraph</groupId>
shrek20000594c412020-01-30 14:52:49 +0200257 <artifactId>janusgraph-cql</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000258 <version>${janusgraph.version}</version>
259 <scope>compile</scope>
260 <exclusions>
261 <exclusion>
vasrazfb6e60d2019-12-02 13:56:40 +0000262 <groupId>org.slf4j</groupId>
shrek20000594c412020-01-30 14:52:49 +0200263 <artifactId>slf4j-log4j12</artifactId>
264 </exclusion>
265 <exclusion>
266 <groupId>org.json</groupId>
267 <artifactId>json</artifactId>
268 </exclusion>
269 <exclusion>
270 <artifactId>commons-collections</artifactId>
271 <groupId>commons-collections</groupId>
272 </exclusion>
273 <exclusion>
274 <artifactId>groovy</artifactId>
275 <groupId>org.codehaus.groovy</groupId>
276 </exclusion>
277 <exclusion>
278 <groupId>io.netty</groupId>
279 <artifactId>netty-all</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000280 </exclusion>
281 </exclusions>
282 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300283
vasrazfb6e60d2019-12-02 13:56:40 +0000284 <dependency>
285 <groupId>org.codehaus.jackson</groupId>
286 <artifactId>jackson-mapper-asl</artifactId>
287 <version>1.9.2</version>
288 <scope>compile</scope>
289 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300290
vasrazfb6e60d2019-12-02 13:56:40 +0000291 <dependency>
292 <groupId>com.fasterxml.jackson.core</groupId>
293 <artifactId>jackson-databind</artifactId>
294 <version>${jackson.version}</version>
295 <scope>compile</scope>
296 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300297
vasrazfb6e60d2019-12-02 13:56:40 +0000298 <dependency>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-core</artifactId>
301 <version>${jackson.version}</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>org.onap.portal.sdk</groupId>
307 <artifactId>epsdk-fw</artifactId>
308 <version>${ecomp.version}</version>
309 <scope>compile</scope>
310 <exclusions>
311 <exclusion>
312 <artifactId>slf4j-log4j12</artifactId>
313 <groupId>org.slf4j</groupId>
314 </exclusion>
315 </exclusions>
316 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300317
vasrazfb6e60d2019-12-02 13:56:40 +0000318 <dependency>
319 <groupId>org.json</groupId>
320 <artifactId>json</artifactId>
321 <version>20131018</version>
322 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300323
vasrazfb6e60d2019-12-02 13:56:40 +0000324 <dependency>
325 <groupId>org.onap.sdc.sdc-tosca</groupId>
326 <artifactId>sdc-tosca</artifactId>
327 <version>${sdc-tosca-parser.version}</version>
328 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300329
vasrazfb6e60d2019-12-02 13:56:40 +0000330 <dependency>
331 <groupId>info.cukes</groupId>
332 <artifactId>cucumber-junit</artifactId>
333 <version>1.2.4</version>
334 <scope>test</scope>
335 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300336
vasrazfb6e60d2019-12-02 13:56:40 +0000337 <dependency>
338 <groupId>info.cukes</groupId>
339 <artifactId>cucumber-core</artifactId>
340 <version>1.2.4</version>
341 <scope>test</scope>
342 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300343
vasrazfb6e60d2019-12-02 13:56:40 +0000344 <dependency>
345 <groupId>info.cukes</groupId>
346 <artifactId>gherkin</artifactId>
347 <version>2.12.2</version>
348 </dependency>
349 <dependency>
350 <groupId>info.cukes</groupId>
351 <artifactId>cucumber-java</artifactId>
352 <version>1.2.5</version>
353 <scope>test</scope>
354 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300355
vasrazfb6e60d2019-12-02 13:56:40 +0000356 <dependency>
357 <groupId>info.cukes</groupId>
358 <artifactId>cucumber-jvm-deps</artifactId>
359 <version>1.0.5</version>
360 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200361
vasrazfb6e60d2019-12-02 13:56:40 +0000362 <dependency>
363 <groupId>org.mock-server</groupId>
364 <artifactId>mockserver-netty</artifactId>
365 <version>${mockserver.netty.version}</version>
366 <scope>test</scope>
367 <exclusions>
368 <exclusion>
369 <artifactId>commons-collections</artifactId>
370 <groupId>commons-collections</groupId>
371 </exclusion>
372 </exclusions>
373 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200374
vasrazfb6e60d2019-12-02 13:56:40 +0000375 <dependency>
376 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
377 <artifactId>sdc-distribution-client</artifactId>
378 <version>1.2.2</version>
379 <scope>test</scope>
380 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200381
vasrazfb6e60d2019-12-02 13:56:40 +0000382 <!-- With TestNG -->
383 <dependency>
384 <groupId>info.cukes</groupId>
385 <artifactId>cucumber-testng</artifactId>
386 <version>1.2.5</version>
387 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300388
vasrazfb6e60d2019-12-02 13:56:40 +0000389 <!-- spring -->
390 <dependency>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-context</artifactId>
393 <version>${spring.version}</version>
394 <scope>compile</scope>
395 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300396
vasrazfb6e60d2019-12-02 13:56:40 +0000397 <!-- CASSANDRA -->
398 <dependency>
399 <groupId>com.datastax.cassandra</groupId>
400 <artifactId>cassandra-driver-mapping</artifactId>
401 <version>${cassandra.driver.version}</version>
402 <scope>compile</scope>
403 </dependency>
404 <dependency>
405 <groupId>org.apache.thrift</groupId>
406 <artifactId>libthrift</artifactId>
407 <version>${libthrift.version}</version>
408 </dependency>
409 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300410
vasrazfb6e60d2019-12-02 13:56:40 +0000411 <dependency>
412 <groupId>org.codehaus.groovy</groupId>
413 <artifactId>groovy</artifactId>
414 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300415
vasrazfb6e60d2019-12-02 13:56:40 +0000416 <dependency>
417 <groupId>io.netty</groupId>
418 <artifactId>netty-all</artifactId>
419 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200420
vasrazfb6e60d2019-12-02 13:56:40 +0000421 <dependency>
422 <groupId>io.netty</groupId>
423 <artifactId>netty-handler</artifactId>
424 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200425
vasrazfb6e60d2019-12-02 13:56:40 +0000426 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200427
vasrazfb6e60d2019-12-02 13:56:40 +0000428 <build>
429 <plugins>
430 <plugin>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-clean-plugin</artifactId>
433 <executions>
434 <execution>
435 <id>clean.testsuit.folder</id>
436 <phase>clean</phase>
437 <goals>
438 <goal>clean</goal>
439 </goals>
440 <configuration>
441 <filesets>
442 <!-- Sanity jar -->
443 <fileset>
444 <directory>${project.basedir}/sdc-api-tests</directory>
445 <followSymlinks>false</followSymlinks>
446 <includes>
447 <include>*.jar</include>
448 </includes>
449 </fileset>
450 <!-- Sanity test suites -->
451 <fileset>
452 <directory>
453 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
454 </directory>
455 <followSymlinks>false</followSymlinks>
456 </fileset>
457 </filesets>
458 </configuration>
459 </execution>
460 </executions>
461 </plugin>
462
463 <plugin>
464 <groupId>org.apache.maven.plugins</groupId>
465 <artifactId>maven-deploy-plugin</artifactId>
466 <configuration>
467 <skip>true</skip>
468 </configuration>
469 </plugin>
470
471 <!-- ============================================= -->
472 <!-- Create the JAR file with its dependencies -->
473 <!-- ============================================= -->
474 <plugin>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-assembly-plugin</artifactId>
477 <executions>
478 <execution>
479 <id>create.jar.with.dependencies</id>
480 <phase>package</phase>
481 <goals>
482 <goal>single</goal>
483 </goals>
484 <configuration>
485 <archive>
486 <manifest>
487 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
488 </manifest>
489 </archive>
490 <descriptorRefs>
491 <descriptorRef>jar-with-dependencies</descriptorRef>
492 </descriptorRefs>
493 </configuration>
494 </execution>
495 </executions>
496 </plugin>
497 <plugin>
498 <groupId>com.github.sylvainlaurent.maven</groupId>
499 <artifactId>yaml-json-validator-maven-plugin</artifactId>
500 <executions>
501 <execution>
502 <id>validate</id>
503 <phase>validate</phase>
504 <goals>
505 <goal>validate</goal>
506 </goals>
507 <configuration>
508 <validationSets>
509 <validationSet>
510 <includes>
511 <include>src/main/resources/**/*.y*ml</include>
512 <include>src/test/resources/**/*.y*ml</include>
513 </includes>
514 <excludes>
515 <exclude>
516 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
517 </exclude>
518 <exclude>
519 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
520 </exclude>
521 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
522 </exclude>
523 </excludes>
524 </validationSet>
525 <validationSet>
526 <includes>
527 <include>src/main/resources/**/*.json</include>
528 <include>src/test/resources/**/*.json</include>
529 </includes>
530 <excludes>
531 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
532 </exclude>
533 </excludes>
534 </validationSet>
535 </validationSets>
536 </configuration>
537 </execution>
538 </executions>
539 </plugin>
540 </plugins>
541 </build>
542 <profiles>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200543 <profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000544 <id>docker</id>
545 <activation>
546 <activeByDefault>false</activeByDefault>
547 </activation>
548 <build>
549 <plugins>
550 <plugin>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-resources-plugin</artifactId>
553 <executions>
554 <execution>
555 <id>copy-tests-suites</id>
556 <phase>verify</phase>
557 <goals>
558 <goal>copy-resources</goal>
559 </goals>
560 <configuration>
561 <outputDirectory>
562 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
563 </outputDirectory>
564 <resources>
565 <resource>
566 <directory>
567 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
568 </directory>
569 <includes>
570 <include>*</include>
571 </includes>
572 </resource>
573 </resources>
574 </configuration>
575 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200576
vasrazfb6e60d2019-12-02 13:56:40 +0000577 <execution>
578 <id>copy-resources-test-apis-ci</id>
579 <phase>verify</phase>
580 <goals>
581 <goal>copy-resources</goal>
582 </goals>
583 <configuration>
584 <outputDirectory>sdc-api-tests</outputDirectory>
585 <resources>
586 <resource>
587 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
588 <includes>
589 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
590 </includes>
591 </resource>
592 </resources>
593 </configuration>
594 </execution>
595 </executions>
596 </plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200597
vasrazfb6e60d2019-12-02 13:56:40 +0000598 <plugin>
599 <groupId>io.fabric8</groupId>
600 <artifactId>docker-maven-plugin</artifactId>
601 <configuration>
602 <apiVersion>1.23</apiVersion>
603 <registry>nexus3.onap.org:10001</registry>
604 <authConfig>
605 <pull>
606 <username>docker</username>
607 <password>docker</password>
608 </pull>
609 </authConfig>
610 <images>
611 <!-- Build sanity image -->
612 <image>
613 <name>onap/sdc-api-tests</name>
614 <alias>sdc-api-tests</alias>
615 <build>
616 <cleanup>try</cleanup>
617 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
618 <tags>
619 <tag>${docker.tag}</tag>
vasrazbbe2a932019-12-05 13:53:51 +0000620 <tag>
621 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
622 </tag>
vasrazfb6e60d2019-12-02 13:56:40 +0000623 </tags>
624 </build>
625 </image>
626 </images>
627 </configuration>
628 <executions>
629 <execution>
630 <id>clean-images</id>
631 <phase>pre-clean</phase>
632 <goals>
633 <goal>remove</goal>
634 </goals>
635 <configuration>
636 <removeAll>true</removeAll>
vasrazbbe2a932019-12-05 13:53:51 +0000637 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000638 </configuration>
639 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200640
vasrazfb6e60d2019-12-02 13:56:40 +0000641 <execution>
642 <id>generate-images</id>
643 <phase>install</phase>
644 <goals>
645 <goal>build</goal>
646 </goals>
647 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200648
vasrazfb6e60d2019-12-02 13:56:40 +0000649 <execution>
650 <id>push-images</id>
651 <phase>deploy</phase>
652 <goals>
653 <goal>push</goal>
654 </goals>
655 <configuration>
vasrazbbe2a932019-12-05 13:53:51 +0000656 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000657 </configuration>
658 </execution>
659 </executions>
660 </plugin>
661 </plugins>
662 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200663 </profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000664 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300665
Michael Landob3d48982017-06-11 14:22:02 +0300666</project>