blob: 6c1f8079a5786bfcb6d742c25998d5ad606e7ca6 [file] [log] [blame]
Michael Landob3d48982017-06-11 14:22:02 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Michael Landoa5445102018-03-04 14:53:33 +02002 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 +03003
Michael Landoa5445102018-03-04 14:53:33 +02004 <modelVersion>4.0.0</modelVersion>
Michael Landob3d48982017-06-11 14:22:02 +03005
Michael Landoa5445102018-03-04 14:53:33 +02006 <artifactId>test-apis-ci</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +03007
Michael Landoa5445102018-03-04 14:53:33 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Sonsino, Ofir (os0695)55c536e2019-05-07 18:30:15 +030011 <version>1.5.0-SNAPSHOT</version>
Michael Landoa5445102018-03-04 14:53:33 +020012 </parent>
Gitelman, Tal (tg851x)e482ae42018-03-11 19:37:06 +020013
14 <properties>
15 <sonar.skip>true</sonar.skip>
16 </properties>
17
Michael Landoa5445102018-03-04 14:53:33 +020018 <dependencies>
19 <dependency>
20 <groupId>com.google.guava</groupId>
21 <artifactId>guava</artifactId>
22 <version>${guava.version}</version>
23 <scope>compile</scope>
24 </dependency>
Michael Lando660b57d2017-10-11 09:45:53 +030025
Michael Landoa5445102018-03-04 14:53:33 +020026 <dependency>
27 <groupId>junit</groupId>
28 <artifactId>junit</artifactId>
29 <version>${junit.version}</version>
30 <scope>compile</scope>
31 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +030032
33 <dependency>
34 <groupId>org.assertj</groupId>
35 <artifactId>assertj-core</artifactId>
36 </dependency>
Michael Landodc856bb2018-08-13 13:27:52 +030037
Michael Landoa5445102018-03-04 14:53:33 +020038 <dependency>
39 <groupId>org.hamcrest</groupId>
40 <artifactId>hamcrest-all</artifactId>
Parshad Patel8b8061e2019-03-18 16:02:43 +090041 <version>${hamcrest-all.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +020042 <scope>test</scope>
43 </dependency>
44 <dependency>
45 <groupId>org.testng</groupId>
46 <artifactId>testng</artifactId>
47 <version>${testng.version}</version>
48 <scope>compile</scope>
49 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030050
Michael Landoa5445102018-03-04 14:53:33 +020051 <dependency>
52 <groupId>com.aventstack</groupId>
53 <artifactId>extentreports</artifactId>
54 <version>3.0.6</version>
55 <scope>compile</scope>
56 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030057
Michael Landoa5445102018-03-04 14:53:33 +020058 <dependency>
59 <groupId>org.mockito</groupId>
60 <artifactId>mockito-core</artifactId>
61 <scope>test</scope>
62 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030063
Michael Landoa5445102018-03-04 14:53:33 +020064 <dependency>
65 <groupId>com.typesafe</groupId>
66 <artifactId>config</artifactId>
67 <version>1.0.2</version>
68 <scope>compile</scope>
69 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030070
Michael Landoa5445102018-03-04 14:53:33 +020071 <dependency>
72 <groupId>log4j</groupId>
73 <artifactId>log4j</artifactId>
74 <version>1.2.17</version>
75 <scope>compile</scope>
76 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030077
Michael Landoa5445102018-03-04 14:53:33 +020078 <dependency>
79 <groupId>com.jcraft.jsch</groupId>
80 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
81 <version>0.1.41</version>
82 <scope>compile</scope>
83 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030084
Michael Landoa5445102018-03-04 14:53:33 +020085 <dependency>
86 <groupId>org.openecomp.sdc</groupId>
87 <artifactId>common-app-api</artifactId>
88 <version>${project.version}</version>
89 <scope>compile</scope>
90 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030091
Michael Landoa5445102018-03-04 14:53:33 +020092 <dependency>
93 <groupId>org.openecomp.sdc.be</groupId>
94 <artifactId>common-be</artifactId>
95 <version>${project.version}</version>
96 <scope>compile</scope>
97 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030098
Michael Landoa5445102018-03-04 14:53:33 +020099 <!-- CHECK CATLOG MODEL -->
100 <dependency>
101 <groupId>org.openecomp.sdc.be</groupId>
102 <artifactId>catalog-model</artifactId>
103 <version>${project.version}</version>
104 <scope>compile</scope>
105 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300106
Michael Landoa5445102018-03-04 14:53:33 +0200107 <!-- catalog dao -->
108 <dependency>
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-dao</artifactId>
111 <version>${project.version}</version>
112 <scope>compile</scope>
113 </dependency>
114 <!-- functional java -->
115 <dependency>
116 <groupId>org.functionaljava</groupId>
117 <artifactId>functionaljava</artifactId>
118 <version>${functionaljava.version}</version>
119 <scope>compile</scope>
120 </dependency>
121 <!-- CASSANDRA -->
122 <dependency>
123 <groupId>com.datastax.cassandra</groupId>
124 <artifactId>cassandra-driver-core</artifactId>
125 <version>${cassandra.driver.version}</version>
126 <scope>compile</scope>
127 </dependency>
128 <!-- CASSANDRA END -->
Michael Landob3d48982017-06-11 14:22:02 +0300129
Michael Landoa5445102018-03-04 14:53:33 +0200130 <!-- slf4j + logback -->
131 <dependency>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-api</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300134 <version>${slf4j-api.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200135 <scope>compile</scope>
136 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300137
Michael Landoa5445102018-03-04 14:53:33 +0200138 <dependency>
139 <groupId>ch.qos.logback</groupId>
140 <artifactId>logback-classic</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300141 <version>${logback.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200142 <scope>compile</scope>
143 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300144
Michael Landoa5445102018-03-04 14:53:33 +0200145 <dependency>
146 <groupId>ch.qos.logback</groupId>
147 <artifactId>logback-core</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300148 <version>${logback.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200149 <scope>compile</scope>
150 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300151
Michael Landoa5445102018-03-04 14:53:33 +0200152 <dependency>
153 <groupId>com.googlecode.json-simple</groupId>
154 <artifactId>json-simple</artifactId>
155 <version>${json-simple.version}</version>
156 <scope>compile</scope>
157 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300158
Michael Landoa5445102018-03-04 14:53:33 +0200159 <!-- File changes listener -->
160 <dependency>
161 <groupId>org.apache.commons</groupId>
162 <artifactId>commons-jci-core</artifactId>
163 <version>${commons-jci-core.version}</version>
164 <scope>compile</scope>
165 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300166
Michael Landoa5445102018-03-04 14:53:33 +0200167 <dependency>
168 <groupId>commons-codec</groupId>
169 <artifactId>commons-codec</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300170 <version>${commons-codec}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200171 <scope>compile</scope>
172 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300173
Michael Landoa5445102018-03-04 14:53:33 +0200174 <!-- Gson -->
175 <dependency>
176 <groupId>com.google.code.gson</groupId>
177 <artifactId>gson</artifactId>
178 <version>${gson.version}</version>
179 <scope>compile</scope>
180 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300181
Michael Landoa5445102018-03-04 14:53:33 +0200182 <!-- Snake Yaml -->
183 <dependency>
184 <groupId>org.yaml</groupId>
185 <artifactId>snakeyaml</artifactId>
186 <version>${snakeyaml.version}</version>
187 <scope>compile</scope>
188 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300189
Michael Landoa5445102018-03-04 14:53:33 +0200190 <!-- http client -->
191 <dependency>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpclient</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300194 <version>${httpclient.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200195 <scope>compile</scope>
196 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300197
Michael Landoa5445102018-03-04 14:53:33 +0200198 <dependency>
199 <groupId>org.apache.httpcomponents</groupId>
200 <artifactId>httpmime</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300201 <version>${httpclient.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200202 <scope>compile</scope>
203 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300204
Michael Landoa5445102018-03-04 14:53:33 +0200205 <dependency>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
208 <version>2.5</version>
209 <scope>compile</scope>
210 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300211
Michael Landoa5445102018-03-04 14:53:33 +0200212 <dependency>
213 <groupId>commons-logging</groupId>
214 <artifactId>commons-logging</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300215 <version>${commons-logging}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200216 <scope>compile</scope>
217 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300218
Michael Landoa5445102018-03-04 14:53:33 +0200219 <!-- http core -->
220 <dependency>
221 <groupId>org.apache.httpcomponents</groupId>
222 <artifactId>httpcore</artifactId>
223 <version>${httpcore.version}</version>
224 <scope>compile</scope>
225 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300226
Michael Landoa5445102018-03-04 14:53:33 +0200227 <!-- TITAN -->
228 <dependency>
229 <groupId>com.thinkaurelius.titan</groupId>
230 <artifactId>titan-core</artifactId>
231 <version>${titan.version}</version>
232 <scope>compile</scope>
233 <exclusions>
234 <exclusion>
235 <artifactId>slf4j-log4j12</artifactId>
236 <groupId>org.slf4j</groupId>
237 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300238 <exclusion>
239 <artifactId>commons-collections</artifactId>
240 <groupId>commons-collections</groupId>
241 </exclusion>
Tal Gitelman96dbee32018-10-10 16:39:59 +0300242 <exclusion>
243 <artifactId>groovy</artifactId>
244 <groupId>org.codehaus.groovy</groupId>
245 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200246 </exclusions>
247 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300248
Michael Landoa5445102018-03-04 14:53:33 +0200249 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200250 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
251 <artifactId>sdc-titan-cassandra</artifactId>
252 <version>${sdc.titan.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200253 <scope>compile</scope>
254 <exclusions>
255 <exclusion>
256 <artifactId>slf4j-log4j12</artifactId>
257 <groupId>org.slf4j</groupId>
258 </exclusion>
259 </exclusions>
260 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300261
Michael Landoa5445102018-03-04 14:53:33 +0200262 <dependency>
263 <groupId>org.codehaus.jackson</groupId>
264 <artifactId>jackson-mapper-asl</artifactId>
265 <version>1.9.2</version>
266 <scope>compile</scope>
267 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300268
Michael Landoa5445102018-03-04 14:53:33 +0200269 <dependency>
270 <groupId>com.fasterxml.jackson.core</groupId>
271 <artifactId>jackson-databind</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200272 <version>${jackson.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200273 <scope>compile</scope>
274 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300275
Michael Landoa5445102018-03-04 14:53:33 +0200276 <dependency>
277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-core</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200279 <version>${jackson.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200280 <scope>compile</scope>
281 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300282
Michael Landoa5445102018-03-04 14:53:33 +0200283 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300284 <groupId>org.onap.portal.sdk</groupId>
Michael Landoa5445102018-03-04 14:53:33 +0200285 <artifactId>epsdk-fw</artifactId>
286 <version>${ecomp.version}</version>
287 <scope>compile</scope>
288 <exclusions>
289 <exclusion>
290 <artifactId>slf4j-log4j12</artifactId>
291 <groupId>org.slf4j</groupId>
292 </exclusion>
293 </exclusions>
294 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300295
Michael Landoa5445102018-03-04 14:53:33 +0200296 <dependency>
297 <groupId>org.json</groupId>
298 <artifactId>json</artifactId>
299 <version>20131018</version>
300 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300301
Michael Landoa5445102018-03-04 14:53:33 +0200302 <dependency>
Tal Gitelman5a13c232018-07-24 11:47:25 +0300303 <groupId>org.onap.sdc.sdc-tosca</groupId>
Michael Landoa5445102018-03-04 14:53:33 +0200304 <artifactId>sdc-tosca</artifactId>
Tal Gitelman4d34afb2018-11-25 11:49:39 +0200305 <version>1.4.6</version>
Michael Landoa5445102018-03-04 14:53:33 +0200306 <scope>compile</scope>
307 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300308
Michael Landoa5445102018-03-04 14:53:33 +0200309 <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
Michael Landoa5445102018-03-04 14:53:33 +0200316 <dependency>
317 <groupId>info.cukes</groupId>
318 <artifactId>cucumber-core</artifactId>
319 <version>1.2.4</version>
320 <scope>test</scope>
321 </dependency>
322
323 <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
Michael Landoa5445102018-03-04 14:53:33 +0200335 <dependency>
336 <groupId>info.cukes</groupId>
337 <artifactId>cucumber-jvm-deps</artifactId>
338 <version>1.0.5</version>
339 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300340
Michael Landoa5445102018-03-04 14:53:33 +0200341 <dependency>
342 <groupId>org.mock-server</groupId>
343 <artifactId>mockserver-netty</artifactId>
344 <version>3.10.4</version>
345 <scope>test</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300346 <exclusions>
347 <exclusion>
348 <artifactId>commons-collections</artifactId>
349 <groupId>commons-collections</groupId>
350 </exclusion>
351 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200352 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300353
Michael Landoa5445102018-03-04 14:53:33 +0200354 <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>
360
361 <!-- With TestNG -->
362 <dependency>
363 <groupId>info.cukes</groupId>
364 <artifactId>cucumber-testng</artifactId>
365 <version>1.2.5</version>
366 </dependency>
367
368 <!-- spring -->
369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-context</artifactId>
372 <version>${spring.version}</version>
373 <scope>compile</scope>
374 </dependency>
375
376 <!-- 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>
Michael Landoa5445102018-03-04 14:53:33 +0200383 <!-- CASSANDRA END -->
Tal Gitelmane0199372018-09-18 11:57:53 +0300384
385 <dependency>
386 <groupId>org.codehaus.groovy</groupId>
387 <artifactId>groovy</artifactId>
Tal Gitelmane0199372018-09-18 11:57:53 +0300388 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300389
390 <dependency>
391 <groupId>io.netty</groupId>
392 <artifactId>netty-all</artifactId>
393 </dependency>
394
395 <dependency>
396 <groupId>io.netty</groupId>
397 <artifactId>netty-handler</artifactId>
398 </dependency>
399
Michael Landoa5445102018-03-04 14:53:33 +0200400 </dependencies>
401
402 <build>
403 <plugins>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200404 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300405 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200406 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200407 <executions>
408 <execution>
Michael Landodc856bb2018-08-13 13:27:52 +0300409 <id>clean.testsuit.folder</id>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200410 <phase>clean</phase>
411 <goals>
412 <goal>clean</goal>
413 </goals>
414 <configuration>
415 <filesets>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200416 <!-- Sanity jar -->
417 <fileset>
418 <directory>${project.basedir}/sdc-api-tests</directory>
419 <followSymlinks>false</followSymlinks>
420 <includes>
421 <include>*.jar</include>
422 </includes>
423 </fileset>
424 <!-- Sanity test suites -->
425 <fileset>
426 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
427 <followSymlinks>false</followSymlinks>
428 </fileset>
429 </filesets>
430 </configuration>
431 </execution>
432 </executions>
433 </plugin>
434
Michael Landoa5445102018-03-04 14:53:33 +0200435 <plugin>
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-deploy-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200438 <configuration>
439 <skip>true</skip>
440 </configuration>
441 </plugin>
442
443 <!-- ============================================= -->
444 <!-- Create the JAR file with its dependencies -->
445 <!-- ============================================= -->
446 <plugin>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-assembly-plugin</artifactId>
449 <executions>
450 <execution>
451 <id>create.jar.with.dependencies</id>
452 <phase>package</phase>
453 <goals>
454 <goal>single</goal>
455 </goals>
456 <configuration>
457 <archive>
458 <manifest>
459 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
460 </manifest>
461 </archive>
462 <descriptorRefs>
463 <descriptorRef>jar-with-dependencies</descriptorRef>
464 </descriptorRefs>
465 </configuration>
466 </execution>
467 </executions>
468 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100469 <plugin>
470 <groupId>com.github.sylvainlaurent.maven</groupId>
471 <artifactId>yaml-json-validator-maven-plugin</artifactId>
472 <executions>
473 <execution>
474 <id>validate</id>
475 <phase>validate</phase>
476 <goals>
477 <goal>validate</goal>
478 </goals>
479 <configuration>
480 <validationSets>
481 <validationSet>
482 <includes>
483 <include>src/main/resources/**/*.y*ml</include>
484 <include>src/test/resources/**/*.y*ml</include>
485 </includes>
486 <excludes>
487 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
488 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
489 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
490 </excludes>
491 </validationSet>
492 <validationSet>
493 <includes>
494 <include>src/main/resources/**/*.json</include>
495 <include>src/test/resources/**/*.json</include>
496 </includes>
497 <excludes>
498 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
499 </excludes>
500 </validationSet>
501 </validationSets>
502 </configuration>
503 </execution>
504 </executions>
505 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200506 </plugins>
507 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200508 <profiles>
509 <profile>
510 <id>docker</id>
511 <activation>
512 <activeByDefault>false</activeByDefault>
513 </activation>
514 <build>
515 <plugins>
516 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300517 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200518 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200519 <executions>
520 <execution>
521 <id>copy-tests-suites</id>
522 <phase>verify</phase>
523 <goals>
524 <goal>copy-resources</goal>
525 </goals>
526 <configuration>
527 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
528 <resources>
529 <resource>
530 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
531 <includes>
532 <include>*</include>
533 </includes>
534 </resource>
535 </resources>
536 </configuration>
537 </execution>
538
539 <execution>
540 <id>copy-resources-test-apis-ci</id>
541 <phase>verify</phase>
542 <goals>
543 <goal>copy-resources</goal>
544 </goals>
545 <configuration>
546 <outputDirectory>sdc-api-tests</outputDirectory>
547 <resources>
548 <resource>
549 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
550 <includes>
551 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
552 </includes>
553 </resource>
554 </resources>
555 </configuration>
556 </execution>
557 </executions>
558 </plugin>
559
560 <plugin>
561 <groupId>io.fabric8</groupId>
562 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200563 <configuration>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200564 <apiVersion>1.23</apiVersion>
565 <registry>nexus3.onap.org:10001</registry>
566 <authConfig>
567 <pull>
568 <username>docker</username>
569 <password>docker</password>
570 </pull>
571 </authConfig>
572 <images>
573
574
575 <!-- Build sanity image -->
576 <image>
577 <name>onap/sdc-api-tests</name>
578 <alias>sdc-api-tests</alias>
579 <build>
580 <cleanup>try</cleanup>
581 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
582 <tags>
583 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200584 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
585 </tags>
586 </build>
587 </image>
588
589 </images>
590 </configuration>
591 <executions>
592 <execution>
593 <id>clean-images</id>
594 <phase>pre-clean</phase>
595 <goals>
596 <goal>remove</goal>
597 </goals>
598 <configuration>
599 <removeAll>true</removeAll>
600 <image>onap/sdc-api-tests</image>
601 </configuration>
602 </execution>
603
604 <execution>
605 <id>generate-images</id>
606 <phase>install</phase>
607 <goals>
608 <goal>build</goal>
609 </goals>
610 </execution>
611
612 <execution>
613 <id>push-images</id>
614 <phase>deploy</phase>
615 <goals>
616 <goal>push</goal>
617 </goals>
618 <configuration>
619 <image>onap/sdc-api-tests</image>
620 </configuration>
621 </execution>
622 </executions>
623 </plugin>
624 </plugins>
625 </build>
626 </profile>
627</profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300628
Michael Landob3d48982017-06-11 14:22:02 +0300629
Michael Landob3d48982017-06-11 14:22:02 +0300630</project>