blob: 68e0df0a9de81d72a22e8cc91e5bb2000db3950d [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>
251 <groupId>org.janusgraph</groupId>
252 <artifactId>janusgraph-cassandra</artifactId>
253 <version>${janusgraph.version}</version>
254 <scope>compile</scope>
255 <exclusions>
256 <exclusion>
257 <artifactId>slf4j-log4j12</artifactId>
258 <groupId>org.slf4j</groupId>
259 </exclusion>
260 </exclusions>
261 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300262
vasrazfb6e60d2019-12-02 13:56:40 +0000263 <dependency>
264 <groupId>org.codehaus.jackson</groupId>
265 <artifactId>jackson-mapper-asl</artifactId>
266 <version>1.9.2</version>
267 <scope>compile</scope>
268 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300269
vasrazfb6e60d2019-12-02 13:56:40 +0000270 <dependency>
271 <groupId>com.fasterxml.jackson.core</groupId>
272 <artifactId>jackson-databind</artifactId>
273 <version>${jackson.version}</version>
274 <scope>compile</scope>
275 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300276
vasrazfb6e60d2019-12-02 13:56:40 +0000277 <dependency>
278 <groupId>com.fasterxml.jackson.core</groupId>
279 <artifactId>jackson-core</artifactId>
280 <version>${jackson.version}</version>
281 <scope>compile</scope>
282 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300283
vasrazfb6e60d2019-12-02 13:56:40 +0000284 <dependency>
285 <groupId>org.onap.portal.sdk</groupId>
286 <artifactId>epsdk-fw</artifactId>
287 <version>${ecomp.version}</version>
288 <scope>compile</scope>
289 <exclusions>
290 <exclusion>
291 <artifactId>slf4j-log4j12</artifactId>
292 <groupId>org.slf4j</groupId>
293 </exclusion>
294 </exclusions>
295 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300296
vasrazfb6e60d2019-12-02 13:56:40 +0000297 <dependency>
298 <groupId>org.json</groupId>
299 <artifactId>json</artifactId>
300 <version>20131018</version>
301 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300302
vasrazfb6e60d2019-12-02 13:56:40 +0000303 <dependency>
304 <groupId>org.onap.sdc.sdc-tosca</groupId>
305 <artifactId>sdc-tosca</artifactId>
306 <version>${sdc-tosca-parser.version}</version>
307 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300308
vasrazfb6e60d2019-12-02 13:56:40 +0000309 <dependency>
310 <groupId>info.cukes</groupId>
311 <artifactId>cucumber-junit</artifactId>
312 <version>1.2.4</version>
313 <scope>test</scope>
314 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300315
vasrazfb6e60d2019-12-02 13:56:40 +0000316 <dependency>
317 <groupId>info.cukes</groupId>
318 <artifactId>cucumber-core</artifactId>
319 <version>1.2.4</version>
320 <scope>test</scope>
321 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300322
vasrazfb6e60d2019-12-02 13:56:40 +0000323 <dependency>
324 <groupId>info.cukes</groupId>
325 <artifactId>gherkin</artifactId>
326 <version>2.12.2</version>
327 </dependency>
328 <dependency>
329 <groupId>info.cukes</groupId>
330 <artifactId>cucumber-java</artifactId>
331 <version>1.2.5</version>
332 <scope>test</scope>
333 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300334
vasrazfb6e60d2019-12-02 13:56:40 +0000335 <dependency>
336 <groupId>info.cukes</groupId>
337 <artifactId>cucumber-jvm-deps</artifactId>
338 <version>1.0.5</version>
339 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200340
vasrazfb6e60d2019-12-02 13:56:40 +0000341 <dependency>
342 <groupId>org.mock-server</groupId>
343 <artifactId>mockserver-netty</artifactId>
344 <version>${mockserver.netty.version}</version>
345 <scope>test</scope>
346 <exclusions>
347 <exclusion>
348 <artifactId>commons-collections</artifactId>
349 <groupId>commons-collections</groupId>
350 </exclusion>
351 </exclusions>
352 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200353
vasrazfb6e60d2019-12-02 13:56:40 +0000354 <dependency>
355 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
356 <artifactId>sdc-distribution-client</artifactId>
357 <version>1.2.2</version>
358 <scope>test</scope>
359 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200360
vasrazfb6e60d2019-12-02 13:56:40 +0000361 <!-- With TestNG -->
362 <dependency>
363 <groupId>info.cukes</groupId>
364 <artifactId>cucumber-testng</artifactId>
365 <version>1.2.5</version>
366 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300367
vasrazfb6e60d2019-12-02 13:56:40 +0000368 <!-- spring -->
369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-context</artifactId>
372 <version>${spring.version}</version>
373 <scope>compile</scope>
374 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300375
vasrazfb6e60d2019-12-02 13:56:40 +0000376 <!-- CASSANDRA -->
377 <dependency>
378 <groupId>com.datastax.cassandra</groupId>
379 <artifactId>cassandra-driver-mapping</artifactId>
380 <version>${cassandra.driver.version}</version>
381 <scope>compile</scope>
382 </dependency>
383 <dependency>
384 <groupId>org.apache.thrift</groupId>
385 <artifactId>libthrift</artifactId>
386 <version>${libthrift.version}</version>
387 </dependency>
388 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300389
vasrazfb6e60d2019-12-02 13:56:40 +0000390 <dependency>
391 <groupId>org.codehaus.groovy</groupId>
392 <artifactId>groovy</artifactId>
393 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300394
vasrazfb6e60d2019-12-02 13:56:40 +0000395 <dependency>
396 <groupId>io.netty</groupId>
397 <artifactId>netty-all</artifactId>
398 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200399
vasrazfb6e60d2019-12-02 13:56:40 +0000400 <dependency>
401 <groupId>io.netty</groupId>
402 <artifactId>netty-handler</artifactId>
403 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200404
vasrazfb6e60d2019-12-02 13:56:40 +0000405 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200406
vasrazfb6e60d2019-12-02 13:56:40 +0000407 <build>
408 <plugins>
409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-clean-plugin</artifactId>
412 <executions>
413 <execution>
414 <id>clean.testsuit.folder</id>
415 <phase>clean</phase>
416 <goals>
417 <goal>clean</goal>
418 </goals>
419 <configuration>
420 <filesets>
421 <!-- Sanity jar -->
422 <fileset>
423 <directory>${project.basedir}/sdc-api-tests</directory>
424 <followSymlinks>false</followSymlinks>
425 <includes>
426 <include>*.jar</include>
427 </includes>
428 </fileset>
429 <!-- Sanity test suites -->
430 <fileset>
431 <directory>
432 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
433 </directory>
434 <followSymlinks>false</followSymlinks>
435 </fileset>
436 </filesets>
437 </configuration>
438 </execution>
439 </executions>
440 </plugin>
441
442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-deploy-plugin</artifactId>
445 <configuration>
446 <skip>true</skip>
447 </configuration>
448 </plugin>
449
450 <!-- ============================================= -->
451 <!-- Create the JAR file with its dependencies -->
452 <!-- ============================================= -->
453 <plugin>
454 <groupId>org.apache.maven.plugins</groupId>
455 <artifactId>maven-assembly-plugin</artifactId>
456 <executions>
457 <execution>
458 <id>create.jar.with.dependencies</id>
459 <phase>package</phase>
460 <goals>
461 <goal>single</goal>
462 </goals>
463 <configuration>
464 <archive>
465 <manifest>
466 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
467 </manifest>
468 </archive>
469 <descriptorRefs>
470 <descriptorRef>jar-with-dependencies</descriptorRef>
471 </descriptorRefs>
472 </configuration>
473 </execution>
474 </executions>
475 </plugin>
476 <plugin>
477 <groupId>com.github.sylvainlaurent.maven</groupId>
478 <artifactId>yaml-json-validator-maven-plugin</artifactId>
479 <executions>
480 <execution>
481 <id>validate</id>
482 <phase>validate</phase>
483 <goals>
484 <goal>validate</goal>
485 </goals>
486 <configuration>
487 <validationSets>
488 <validationSet>
489 <includes>
490 <include>src/main/resources/**/*.y*ml</include>
491 <include>src/test/resources/**/*.y*ml</include>
492 </includes>
493 <excludes>
494 <exclude>
495 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
496 </exclude>
497 <exclude>
498 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
499 </exclude>
500 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
501 </exclude>
502 </excludes>
503 </validationSet>
504 <validationSet>
505 <includes>
506 <include>src/main/resources/**/*.json</include>
507 <include>src/test/resources/**/*.json</include>
508 </includes>
509 <excludes>
510 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
511 </exclude>
512 </excludes>
513 </validationSet>
514 </validationSets>
515 </configuration>
516 </execution>
517 </executions>
518 </plugin>
519 </plugins>
520 </build>
521 <profiles>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200522 <profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000523 <id>docker</id>
524 <activation>
525 <activeByDefault>false</activeByDefault>
526 </activation>
527 <build>
528 <plugins>
529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-resources-plugin</artifactId>
532 <executions>
533 <execution>
534 <id>copy-tests-suites</id>
535 <phase>verify</phase>
536 <goals>
537 <goal>copy-resources</goal>
538 </goals>
539 <configuration>
540 <outputDirectory>
541 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
542 </outputDirectory>
543 <resources>
544 <resource>
545 <directory>
546 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
547 </directory>
548 <includes>
549 <include>*</include>
550 </includes>
551 </resource>
552 </resources>
553 </configuration>
554 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200555
vasrazfb6e60d2019-12-02 13:56:40 +0000556 <execution>
557 <id>copy-resources-test-apis-ci</id>
558 <phase>verify</phase>
559 <goals>
560 <goal>copy-resources</goal>
561 </goals>
562 <configuration>
563 <outputDirectory>sdc-api-tests</outputDirectory>
564 <resources>
565 <resource>
566 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
567 <includes>
568 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
569 </includes>
570 </resource>
571 </resources>
572 </configuration>
573 </execution>
574 </executions>
575 </plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200576
vasrazfb6e60d2019-12-02 13:56:40 +0000577 <plugin>
578 <groupId>io.fabric8</groupId>
579 <artifactId>docker-maven-plugin</artifactId>
580 <configuration>
581 <apiVersion>1.23</apiVersion>
582 <registry>nexus3.onap.org:10001</registry>
583 <authConfig>
584 <pull>
585 <username>docker</username>
586 <password>docker</password>
587 </pull>
588 </authConfig>
589 <images>
590 <!-- Build sanity image -->
591 <image>
592 <name>onap/sdc-api-tests</name>
593 <alias>sdc-api-tests</alias>
594 <build>
595 <cleanup>try</cleanup>
596 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
597 <tags>
598 <tag>${docker.tag}</tag>
vasrazbbe2a932019-12-05 13:53:51 +0000599 <tag>
600 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
601 </tag>
vasrazfb6e60d2019-12-02 13:56:40 +0000602 </tags>
603 </build>
604 </image>
605 </images>
606 </configuration>
607 <executions>
608 <execution>
609 <id>clean-images</id>
610 <phase>pre-clean</phase>
611 <goals>
612 <goal>remove</goal>
613 </goals>
614 <configuration>
615 <removeAll>true</removeAll>
vasrazbbe2a932019-12-05 13:53:51 +0000616 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000617 </configuration>
618 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200619
vasrazfb6e60d2019-12-02 13:56:40 +0000620 <execution>
621 <id>generate-images</id>
622 <phase>install</phase>
623 <goals>
624 <goal>build</goal>
625 </goals>
626 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200627
vasrazfb6e60d2019-12-02 13:56:40 +0000628 <execution>
629 <id>push-images</id>
630 <phase>deploy</phase>
631 <goals>
632 <goal>push</goal>
633 </goals>
634 <configuration>
vasrazbbe2a932019-12-05 13:53:51 +0000635 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000636 </configuration>
637 </execution>
638 </executions>
639 </plugin>
640 </plugins>
641 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200642 </profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000643 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300644
Michael Landob3d48982017-06-11 14:22:02 +0300645</project>