blob: ce314a5313fa16a0fcd9f69705ac5332ef60cb2b [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>
Ofir Sonsino145e9602019-10-29 11:07:28 +020011 <version>1.6.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>
Piotr Daroszc82ace52019-06-13 07:42:06 +020016 <mockserver.netty.version>5.5.4</mockserver.netty.version>
Gitelman, Tal (tg851x)e482ae42018-03-11 19:37:06 +020017 </properties>
18
Michael Landoa5445102018-03-04 14:53:33 +020019 <dependencies>
20 <dependency>
21 <groupId>com.google.guava</groupId>
22 <artifactId>guava</artifactId>
23 <version>${guava.version}</version>
24 <scope>compile</scope>
25 </dependency>
Michael Lando660b57d2017-10-11 09:45:53 +030026
Michael Landoa5445102018-03-04 14:53:33 +020027 <dependency>
28 <groupId>junit</groupId>
29 <artifactId>junit</artifactId>
30 <version>${junit.version}</version>
31 <scope>compile</scope>
32 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +030033
34 <dependency>
35 <groupId>org.assertj</groupId>
36 <artifactId>assertj-core</artifactId>
37 </dependency>
Michael Landodc856bb2018-08-13 13:27:52 +030038
Michael Landoa5445102018-03-04 14:53:33 +020039 <dependency>
40 <groupId>org.hamcrest</groupId>
41 <artifactId>hamcrest-all</artifactId>
Parshad Patel8b8061e2019-03-18 16:02:43 +090042 <version>${hamcrest-all.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +020043 <scope>test</scope>
44 </dependency>
45 <dependency>
46 <groupId>org.testng</groupId>
47 <artifactId>testng</artifactId>
48 <version>${testng.version}</version>
49 <scope>compile</scope>
50 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030051
Michael Landoa5445102018-03-04 14:53:33 +020052 <dependency>
53 <groupId>com.aventstack</groupId>
54 <artifactId>extentreports</artifactId>
55 <version>3.0.6</version>
56 <scope>compile</scope>
57 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030058
Michael Landoa5445102018-03-04 14:53:33 +020059 <dependency>
60 <groupId>org.mockito</groupId>
61 <artifactId>mockito-core</artifactId>
62 <scope>test</scope>
63 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030064
Michael Landoa5445102018-03-04 14:53:33 +020065 <dependency>
66 <groupId>com.typesafe</groupId>
67 <artifactId>config</artifactId>
68 <version>1.0.2</version>
69 <scope>compile</scope>
70 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030071
Michael Landoa5445102018-03-04 14:53:33 +020072 <dependency>
73 <groupId>log4j</groupId>
74 <artifactId>log4j</artifactId>
75 <version>1.2.17</version>
76 <scope>compile</scope>
77 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030078
Michael Landoa5445102018-03-04 14:53:33 +020079 <dependency>
80 <groupId>com.jcraft.jsch</groupId>
81 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
82 <version>0.1.41</version>
83 <scope>compile</scope>
84 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030085
Michael Landoa5445102018-03-04 14:53:33 +020086 <dependency>
87 <groupId>org.openecomp.sdc</groupId>
88 <artifactId>common-app-api</artifactId>
89 <version>${project.version}</version>
90 <scope>compile</scope>
91 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030092
Michael Landoa5445102018-03-04 14:53:33 +020093 <dependency>
94 <groupId>org.openecomp.sdc.be</groupId>
95 <artifactId>common-be</artifactId>
96 <version>${project.version}</version>
97 <scope>compile</scope>
98 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030099
Michael Landoa5445102018-03-04 14:53:33 +0200100 <!-- CHECK CATLOG MODEL -->
101 <dependency>
102 <groupId>org.openecomp.sdc.be</groupId>
103 <artifactId>catalog-model</artifactId>
104 <version>${project.version}</version>
105 <scope>compile</scope>
106 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300107
Michael Landoa5445102018-03-04 14:53:33 +0200108 <!-- catalog dao -->
109 <dependency>
110 <groupId>org.openecomp.sdc.be</groupId>
111 <artifactId>catalog-dao</artifactId>
112 <version>${project.version}</version>
113 <scope>compile</scope>
114 </dependency>
115 <!-- functional java -->
116 <dependency>
117 <groupId>org.functionaljava</groupId>
118 <artifactId>functionaljava</artifactId>
119 <version>${functionaljava.version}</version>
120 <scope>compile</scope>
121 </dependency>
122 <!-- CASSANDRA -->
123 <dependency>
124 <groupId>com.datastax.cassandra</groupId>
125 <artifactId>cassandra-driver-core</artifactId>
126 <version>${cassandra.driver.version}</version>
127 <scope>compile</scope>
128 </dependency>
129 <!-- CASSANDRA END -->
Michael Landob3d48982017-06-11 14:22:02 +0300130
Michael Landoa5445102018-03-04 14:53:33 +0200131 <!-- slf4j + logback -->
132 <dependency>
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-api</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300135 <version>${slf4j-api.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200136 <scope>compile</scope>
137 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300138
Michael Landoa5445102018-03-04 14:53:33 +0200139 <dependency>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-classic</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300142 <version>${logback.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200143 <scope>compile</scope>
144 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300145
Michael Landoa5445102018-03-04 14:53:33 +0200146 <dependency>
147 <groupId>ch.qos.logback</groupId>
148 <artifactId>logback-core</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300149 <version>${logback.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200150 <scope>compile</scope>
151 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300152
Michael Landoa5445102018-03-04 14:53:33 +0200153 <dependency>
154 <groupId>com.googlecode.json-simple</groupId>
155 <artifactId>json-simple</artifactId>
156 <version>${json-simple.version}</version>
157 <scope>compile</scope>
158 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300159
Michael Landoa5445102018-03-04 14:53:33 +0200160 <!-- File changes listener -->
161 <dependency>
162 <groupId>org.apache.commons</groupId>
163 <artifactId>commons-jci-core</artifactId>
164 <version>${commons-jci-core.version}</version>
165 <scope>compile</scope>
166 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300167
Michael Landoa5445102018-03-04 14:53:33 +0200168 <dependency>
169 <groupId>commons-codec</groupId>
170 <artifactId>commons-codec</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300171 <version>${commons-codec}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200172 <scope>compile</scope>
173 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300174
Michael Landoa5445102018-03-04 14:53:33 +0200175 <!-- Gson -->
176 <dependency>
177 <groupId>com.google.code.gson</groupId>
178 <artifactId>gson</artifactId>
179 <version>${gson.version}</version>
180 <scope>compile</scope>
181 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300182
Michael Landoa5445102018-03-04 14:53:33 +0200183 <!-- Snake Yaml -->
184 <dependency>
185 <groupId>org.yaml</groupId>
186 <artifactId>snakeyaml</artifactId>
187 <version>${snakeyaml.version}</version>
188 <scope>compile</scope>
189 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300190
Michael Landoa5445102018-03-04 14:53:33 +0200191 <!-- http client -->
192 <dependency>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpclient</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300195 <version>${httpclient.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200196 <scope>compile</scope>
197 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300198
Michael Landoa5445102018-03-04 14:53:33 +0200199 <dependency>
200 <groupId>org.apache.httpcomponents</groupId>
201 <artifactId>httpmime</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300202 <version>${httpclient.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200203 <scope>compile</scope>
204 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300205
Michael Landoa5445102018-03-04 14:53:33 +0200206 <dependency>
207 <groupId>commons-io</groupId>
208 <artifactId>commons-io</artifactId>
209 <version>2.5</version>
210 <scope>compile</scope>
211 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300212
Michael Landoa5445102018-03-04 14:53:33 +0200213 <dependency>
214 <groupId>commons-logging</groupId>
215 <artifactId>commons-logging</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300216 <version>${commons-logging}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200217 <scope>compile</scope>
218 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300219
Michael Landoa5445102018-03-04 14:53:33 +0200220 <!-- http core -->
221 <dependency>
222 <groupId>org.apache.httpcomponents</groupId>
223 <artifactId>httpcore</artifactId>
224 <version>${httpcore.version}</version>
225 <scope>compile</scope>
226 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300227
Michael Landoa5445102018-03-04 14:53:33 +0200228 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530229 <groupId>org.janusgraph</groupId>
230 <artifactId>janusgraph-core</artifactId>
231 <version>${janusgraph.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200232 <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>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200246 <exclusion>
247 <groupId>org.apache.thrift</groupId>
248 <artifactId>libthrift</artifactId>
249 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200250 </exclusions>
251 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300252
Michael Landoa5445102018-03-04 14:53:33 +0200253 <dependency>
shrikantawachar2623c842019-05-20 12:11:54 +0530254 <groupId>org.janusgraph</groupId>
255 <artifactId>janusgraph-cassandra</artifactId>
256 <version>${janusgraph.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200257 <scope>compile</scope>
258 <exclusions>
259 <exclusion>
260 <artifactId>slf4j-log4j12</artifactId>
261 <groupId>org.slf4j</groupId>
262 </exclusion>
263 </exclusions>
264 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300265
Michael Landoa5445102018-03-04 14:53:33 +0200266 <dependency>
267 <groupId>org.codehaus.jackson</groupId>
268 <artifactId>jackson-mapper-asl</artifactId>
269 <version>1.9.2</version>
270 <scope>compile</scope>
271 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300272
Michael Landoa5445102018-03-04 14:53:33 +0200273 <dependency>
274 <groupId>com.fasterxml.jackson.core</groupId>
275 <artifactId>jackson-databind</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200276 <version>${jackson.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200277 <scope>compile</scope>
278 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300279
Michael Landoa5445102018-03-04 14:53:33 +0200280 <dependency>
281 <groupId>com.fasterxml.jackson.core</groupId>
282 <artifactId>jackson-core</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200283 <version>${jackson.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200284 <scope>compile</scope>
285 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300286
Michael Landoa5445102018-03-04 14:53:33 +0200287 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300288 <groupId>org.onap.portal.sdk</groupId>
Michael Landoa5445102018-03-04 14:53:33 +0200289 <artifactId>epsdk-fw</artifactId>
290 <version>${ecomp.version}</version>
291 <scope>compile</scope>
292 <exclusions>
293 <exclusion>
294 <artifactId>slf4j-log4j12</artifactId>
295 <groupId>org.slf4j</groupId>
296 </exclusion>
297 </exclusions>
298 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300299
Michael Landoa5445102018-03-04 14:53:33 +0200300 <dependency>
301 <groupId>org.json</groupId>
302 <artifactId>json</artifactId>
303 <version>20131018</version>
304 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300305
Michael Landoa5445102018-03-04 14:53:33 +0200306 <dependency>
Tal Gitelman5a13c232018-07-24 11:47:25 +0300307 <groupId>org.onap.sdc.sdc-tosca</groupId>
Michael Landoa5445102018-03-04 14:53:33 +0200308 <artifactId>sdc-tosca</artifactId>
Tal Gitelman4d34afb2018-11-25 11:49:39 +0200309 <version>1.4.6</version>
Michael Landoa5445102018-03-04 14:53:33 +0200310 <scope>compile</scope>
311 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300312
Michael Landoa5445102018-03-04 14:53:33 +0200313 <dependency>
314 <groupId>info.cukes</groupId>
315 <artifactId>cucumber-junit</artifactId>
316 <version>1.2.4</version>
317 <scope>test</scope>
318 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300319
Michael Landoa5445102018-03-04 14:53:33 +0200320 <dependency>
321 <groupId>info.cukes</groupId>
322 <artifactId>cucumber-core</artifactId>
323 <version>1.2.4</version>
324 <scope>test</scope>
325 </dependency>
326
327 <dependency>
328 <groupId>info.cukes</groupId>
329 <artifactId>gherkin</artifactId>
330 <version>2.12.2</version>
331 </dependency>
332 <dependency>
333 <groupId>info.cukes</groupId>
334 <artifactId>cucumber-java</artifactId>
335 <version>1.2.5</version>
336 <scope>test</scope>
337 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300338
Michael Landoa5445102018-03-04 14:53:33 +0200339 <dependency>
340 <groupId>info.cukes</groupId>
341 <artifactId>cucumber-jvm-deps</artifactId>
342 <version>1.0.5</version>
343 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300344
Michael Landoa5445102018-03-04 14:53:33 +0200345 <dependency>
346 <groupId>org.mock-server</groupId>
347 <artifactId>mockserver-netty</artifactId>
Piotr Daroszc82ace52019-06-13 07:42:06 +0200348 <version>${mockserver.netty.version}</version>
Michael Landoa5445102018-03-04 14:53:33 +0200349 <scope>test</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300350 <exclusions>
351 <exclusion>
352 <artifactId>commons-collections</artifactId>
353 <groupId>commons-collections</groupId>
354 </exclusion>
355 </exclusions>
Michael Landoa5445102018-03-04 14:53:33 +0200356 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300357
Michael Landoa5445102018-03-04 14:53:33 +0200358 <dependency>
359 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
360 <artifactId>sdc-distribution-client</artifactId>
361 <version>1.2.2 </version>
362 <scope>test</scope>
363 </dependency>
364
365 <!-- With TestNG -->
366 <dependency>
367 <groupId>info.cukes</groupId>
368 <artifactId>cucumber-testng</artifactId>
369 <version>1.2.5</version>
370 </dependency>
371
372 <!-- spring -->
373 <dependency>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-context</artifactId>
376 <version>${spring.version}</version>
377 <scope>compile</scope>
378 </dependency>
379
380 <!-- CASSANDRA -->
381 <dependency>
382 <groupId>com.datastax.cassandra</groupId>
383 <artifactId>cassandra-driver-mapping</artifactId>
384 <version>${cassandra.driver.version}</version>
385 <scope>compile</scope>
386 </dependency>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200387 <dependency>
388 <groupId>org.apache.thrift</groupId>
389 <artifactId>libthrift</artifactId>
390 <version>${libthrift.version}</version>
391 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200392 <!-- CASSANDRA END -->
Tal Gitelmane0199372018-09-18 11:57:53 +0300393
394 <dependency>
395 <groupId>org.codehaus.groovy</groupId>
396 <artifactId>groovy</artifactId>
Tal Gitelmane0199372018-09-18 11:57:53 +0300397 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300398
399 <dependency>
400 <groupId>io.netty</groupId>
401 <artifactId>netty-all</artifactId>
402 </dependency>
403
404 <dependency>
405 <groupId>io.netty</groupId>
406 <artifactId>netty-handler</artifactId>
407 </dependency>
408
Michael Landoa5445102018-03-04 14:53:33 +0200409 </dependencies>
410
411 <build>
412 <plugins>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200413 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300414 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200415 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200416 <executions>
417 <execution>
Michael Landodc856bb2018-08-13 13:27:52 +0300418 <id>clean.testsuit.folder</id>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200419 <phase>clean</phase>
420 <goals>
421 <goal>clean</goal>
422 </goals>
423 <configuration>
424 <filesets>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200425 <!-- Sanity jar -->
426 <fileset>
427 <directory>${project.basedir}/sdc-api-tests</directory>
428 <followSymlinks>false</followSymlinks>
429 <includes>
430 <include>*.jar</include>
431 </includes>
432 </fileset>
433 <!-- Sanity test suites -->
434 <fileset>
435 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
436 <followSymlinks>false</followSymlinks>
437 </fileset>
438 </filesets>
439 </configuration>
440 </execution>
441 </executions>
442 </plugin>
443
Michael Landoa5445102018-03-04 14:53:33 +0200444 <plugin>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-deploy-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200447 <configuration>
448 <skip>true</skip>
449 </configuration>
450 </plugin>
451
452 <!-- ============================================= -->
453 <!-- Create the JAR file with its dependencies -->
454 <!-- ============================================= -->
455 <plugin>
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-assembly-plugin</artifactId>
458 <executions>
459 <execution>
460 <id>create.jar.with.dependencies</id>
461 <phase>package</phase>
462 <goals>
463 <goal>single</goal>
464 </goals>
465 <configuration>
466 <archive>
467 <manifest>
468 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
469 </manifest>
470 </archive>
471 <descriptorRefs>
472 <descriptorRef>jar-with-dependencies</descriptorRef>
473 </descriptorRefs>
474 </configuration>
475 </execution>
476 </executions>
477 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100478 <plugin>
479 <groupId>com.github.sylvainlaurent.maven</groupId>
480 <artifactId>yaml-json-validator-maven-plugin</artifactId>
481 <executions>
482 <execution>
483 <id>validate</id>
484 <phase>validate</phase>
485 <goals>
486 <goal>validate</goal>
487 </goals>
488 <configuration>
489 <validationSets>
490 <validationSet>
491 <includes>
492 <include>src/main/resources/**/*.y*ml</include>
493 <include>src/test/resources/**/*.y*ml</include>
494 </includes>
495 <excludes>
496 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
497 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
498 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
499 </excludes>
500 </validationSet>
501 <validationSet>
502 <includes>
503 <include>src/main/resources/**/*.json</include>
504 <include>src/test/resources/**/*.json</include>
505 </includes>
506 <excludes>
507 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
508 </excludes>
509 </validationSet>
510 </validationSets>
511 </configuration>
512 </execution>
513 </executions>
514 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200515 </plugins>
516 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200517 <profiles>
518 <profile>
519 <id>docker</id>
520 <activation>
521 <activeByDefault>false</activeByDefault>
522 </activation>
523 <build>
524 <plugins>
525 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300526 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200527 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200528 <executions>
529 <execution>
530 <id>copy-tests-suites</id>
531 <phase>verify</phase>
532 <goals>
533 <goal>copy-resources</goal>
534 </goals>
535 <configuration>
536 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
537 <resources>
538 <resource>
539 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
540 <includes>
541 <include>*</include>
542 </includes>
543 </resource>
544 </resources>
545 </configuration>
546 </execution>
547
548 <execution>
549 <id>copy-resources-test-apis-ci</id>
550 <phase>verify</phase>
551 <goals>
552 <goal>copy-resources</goal>
553 </goals>
554 <configuration>
555 <outputDirectory>sdc-api-tests</outputDirectory>
556 <resources>
557 <resource>
558 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
559 <includes>
560 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
561 </includes>
562 </resource>
563 </resources>
564 </configuration>
565 </execution>
566 </executions>
567 </plugin>
568
569 <plugin>
570 <groupId>io.fabric8</groupId>
571 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200572 <configuration>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200573 <apiVersion>1.23</apiVersion>
574 <registry>nexus3.onap.org:10001</registry>
575 <authConfig>
576 <pull>
577 <username>docker</username>
578 <password>docker</password>
579 </pull>
580 </authConfig>
581 <images>
582
583
584 <!-- Build sanity image -->
585 <image>
586 <name>onap/sdc-api-tests</name>
587 <alias>sdc-api-tests</alias>
588 <build>
589 <cleanup>try</cleanup>
590 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
591 <tags>
592 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200593 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
594 </tags>
595 </build>
596 </image>
597
598 </images>
599 </configuration>
600 <executions>
601 <execution>
602 <id>clean-images</id>
603 <phase>pre-clean</phase>
604 <goals>
605 <goal>remove</goal>
606 </goals>
607 <configuration>
608 <removeAll>true</removeAll>
609 <image>onap/sdc-api-tests</image>
610 </configuration>
611 </execution>
612
613 <execution>
614 <id>generate-images</id>
615 <phase>install</phase>
616 <goals>
617 <goal>build</goal>
618 </goals>
619 </execution>
620
621 <execution>
622 <id>push-images</id>
623 <phase>deploy</phase>
624 <goals>
625 <goal>push</goal>
626 </goals>
627 <configuration>
628 <image>onap/sdc-api-tests</image>
629 </configuration>
630 </execution>
631 </executions>
632 </plugin>
633 </plugins>
634 </build>
635 </profile>
636</profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300637
Michael Landob3d48982017-06-11 14:22:02 +0300638
Michael Landob3d48982017-06-11 14:22:02 +0300639</project>