blob: 1613c476f605a1be8e0dbe84af17a11a39113625 [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>
309 <scope>compile</scope>
310 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300311
vasrazfb6e60d2019-12-02 13:56:40 +0000312 <dependency>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-core</artifactId>
315 <version>${jackson.version}</version>
316 <scope>compile</scope>
317 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300318
vasrazfb6e60d2019-12-02 13:56:40 +0000319 <dependency>
320 <groupId>org.onap.portal.sdk</groupId>
321 <artifactId>epsdk-fw</artifactId>
322 <version>${ecomp.version}</version>
323 <scope>compile</scope>
324 <exclusions>
325 <exclusion>
326 <artifactId>slf4j-log4j12</artifactId>
327 <groupId>org.slf4j</groupId>
328 </exclusion>
329 </exclusions>
330 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300331
vasrazfb6e60d2019-12-02 13:56:40 +0000332 <dependency>
333 <groupId>org.json</groupId>
334 <artifactId>json</artifactId>
335 <version>20131018</version>
336 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300337
vasrazfb6e60d2019-12-02 13:56:40 +0000338 <dependency>
339 <groupId>org.onap.sdc.sdc-tosca</groupId>
340 <artifactId>sdc-tosca</artifactId>
341 <version>${sdc-tosca-parser.version}</version>
342 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300343
vasrazfb6e60d2019-12-02 13:56:40 +0000344 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100345 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000346 <artifactId>cucumber-junit</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100347 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000348 <scope>test</scope>
349 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300350
vasrazfb6e60d2019-12-02 13:56:40 +0000351 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100352 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000353 <artifactId>cucumber-core</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100354 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000355 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300356
vasrazfb6e60d2019-12-02 13:56:40 +0000357 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100358 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000359 <artifactId>gherkin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100360 <version>13.0.0</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000361 </dependency>
362 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100363 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000364 <artifactId>cucumber-java</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100365 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000366 <scope>test</scope>
367 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300368
vasrazfb6e60d2019-12-02 13:56:40 +0000369 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100370 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000371 <artifactId>cucumber-jvm-deps</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100372 <version>1.0.6</version>
373 <scope>provided</scope>
vasrazfb6e60d2019-12-02 13:56:40 +0000374 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200375
vasrazfb6e60d2019-12-02 13:56:40 +0000376 <dependency>
377 <groupId>org.mock-server</groupId>
378 <artifactId>mockserver-netty</artifactId>
379 <version>${mockserver.netty.version}</version>
380 <scope>test</scope>
381 <exclusions>
382 <exclusion>
383 <artifactId>commons-collections</artifactId>
384 <groupId>commons-collections</groupId>
385 </exclusion>
386 </exclusions>
387 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200388
vasrazfb6e60d2019-12-02 13:56:40 +0000389 <dependency>
390 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
391 <artifactId>sdc-distribution-client</artifactId>
392 <version>1.2.2</version>
393 <scope>test</scope>
394 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200395
vasrazfb6e60d2019-12-02 13:56:40 +0000396 <!-- With TestNG -->
397 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100398 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000399 <artifactId>cucumber-testng</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100400 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000401 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300402
vasrazfb6e60d2019-12-02 13:56:40 +0000403 <!-- spring -->
404 <dependency>
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-context</artifactId>
407 <version>${spring.version}</version>
408 <scope>compile</scope>
409 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300410
vasrazfb6e60d2019-12-02 13:56:40 +0000411 <!-- CASSANDRA -->
412 <dependency>
413 <groupId>com.datastax.cassandra</groupId>
414 <artifactId>cassandra-driver-mapping</artifactId>
415 <version>${cassandra.driver.version}</version>
416 <scope>compile</scope>
417 </dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000418 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300419
vasrazfb6e60d2019-12-02 13:56:40 +0000420 <dependency>
421 <groupId>org.codehaus.groovy</groupId>
422 <artifactId>groovy</artifactId>
423 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300424
vasrazfb6e60d2019-12-02 13:56:40 +0000425 <dependency>
426 <groupId>io.netty</groupId>
427 <artifactId>netty-all</artifactId>
428 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200429
vasrazfb6e60d2019-12-02 13:56:40 +0000430 <dependency>
431 <groupId>io.netty</groupId>
432 <artifactId>netty-handler</artifactId>
433 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200434
vasrazfb6e60d2019-12-02 13:56:40 +0000435 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200436
vasrazfb6e60d2019-12-02 13:56:40 +0000437 <build>
438 <plugins>
439 <plugin>
440 <groupId>org.apache.maven.plugins</groupId>
441 <artifactId>maven-clean-plugin</artifactId>
442 <executions>
443 <execution>
444 <id>clean.testsuit.folder</id>
445 <phase>clean</phase>
446 <goals>
447 <goal>clean</goal>
448 </goals>
449 <configuration>
450 <filesets>
451 <!-- Sanity jar -->
452 <fileset>
453 <directory>${project.basedir}/sdc-api-tests</directory>
454 <followSymlinks>false</followSymlinks>
455 <includes>
456 <include>*.jar</include>
457 </includes>
458 </fileset>
459 <!-- Sanity test suites -->
460 <fileset>
461 <directory>
462 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
463 </directory>
464 <followSymlinks>false</followSymlinks>
465 </fileset>
466 </filesets>
467 </configuration>
468 </execution>
469 </executions>
470 </plugin>
471
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-deploy-plugin</artifactId>
475 <configuration>
476 <skip>true</skip>
477 </configuration>
478 </plugin>
479
480 <!-- ============================================= -->
481 <!-- Create the JAR file with its dependencies -->
482 <!-- ============================================= -->
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-assembly-plugin</artifactId>
486 <executions>
487 <execution>
488 <id>create.jar.with.dependencies</id>
489 <phase>package</phase>
490 <goals>
491 <goal>single</goal>
492 </goals>
493 <configuration>
494 <archive>
495 <manifest>
496 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
497 </manifest>
498 </archive>
499 <descriptorRefs>
500 <descriptorRef>jar-with-dependencies</descriptorRef>
501 </descriptorRefs>
502 </configuration>
503 </execution>
504 </executions>
505 </plugin>
506 <plugin>
507 <groupId>com.github.sylvainlaurent.maven</groupId>
508 <artifactId>yaml-json-validator-maven-plugin</artifactId>
509 <executions>
510 <execution>
511 <id>validate</id>
512 <phase>validate</phase>
513 <goals>
514 <goal>validate</goal>
515 </goals>
516 <configuration>
517 <validationSets>
518 <validationSet>
519 <includes>
520 <include>src/main/resources/**/*.y*ml</include>
521 <include>src/test/resources/**/*.y*ml</include>
522 </includes>
523 <excludes>
524 <exclude>
525 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
526 </exclude>
527 <exclude>
528 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
529 </exclude>
530 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
531 </exclude>
532 </excludes>
533 </validationSet>
534 <validationSet>
535 <includes>
536 <include>src/main/resources/**/*.json</include>
537 <include>src/test/resources/**/*.json</include>
538 </includes>
539 <excludes>
540 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
541 </exclude>
542 </excludes>
543 </validationSet>
544 </validationSets>
545 </configuration>
546 </execution>
547 </executions>
548 </plugin>
549 </plugins>
550 </build>
551 <profiles>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200552 <profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000553 <id>docker</id>
554 <activation>
555 <activeByDefault>false</activeByDefault>
556 </activation>
557 <build>
558 <plugins>
559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-resources-plugin</artifactId>
562 <executions>
563 <execution>
564 <id>copy-tests-suites</id>
565 <phase>verify</phase>
566 <goals>
567 <goal>copy-resources</goal>
568 </goals>
569 <configuration>
570 <outputDirectory>
571 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
572 </outputDirectory>
573 <resources>
574 <resource>
575 <directory>
576 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
577 </directory>
578 <includes>
579 <include>*</include>
580 </includes>
581 </resource>
582 </resources>
583 </configuration>
584 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200585
vasrazfb6e60d2019-12-02 13:56:40 +0000586 <execution>
587 <id>copy-resources-test-apis-ci</id>
588 <phase>verify</phase>
589 <goals>
590 <goal>copy-resources</goal>
591 </goals>
592 <configuration>
593 <outputDirectory>sdc-api-tests</outputDirectory>
594 <resources>
595 <resource>
596 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
597 <includes>
598 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
599 </includes>
600 </resource>
601 </resources>
602 </configuration>
603 </execution>
604 </executions>
605 </plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200606
vasrazfb6e60d2019-12-02 13:56:40 +0000607 <plugin>
608 <groupId>io.fabric8</groupId>
609 <artifactId>docker-maven-plugin</artifactId>
610 <configuration>
611 <apiVersion>1.23</apiVersion>
612 <registry>nexus3.onap.org:10001</registry>
613 <authConfig>
614 <pull>
615 <username>docker</username>
616 <password>docker</password>
617 </pull>
618 </authConfig>
619 <images>
620 <!-- Build sanity image -->
621 <image>
622 <name>onap/sdc-api-tests</name>
623 <alias>sdc-api-tests</alias>
624 <build>
625 <cleanup>try</cleanup>
626 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
627 <tags>
628 <tag>${docker.tag}</tag>
vasrazbbe2a932019-12-05 13:53:51 +0000629 <tag>
630 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
631 </tag>
vasrazfb6e60d2019-12-02 13:56:40 +0000632 </tags>
633 </build>
634 </image>
635 </images>
636 </configuration>
637 <executions>
638 <execution>
639 <id>clean-images</id>
640 <phase>pre-clean</phase>
641 <goals>
642 <goal>remove</goal>
643 </goals>
644 <configuration>
645 <removeAll>true</removeAll>
vasrazbbe2a932019-12-05 13:53:51 +0000646 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000647 </configuration>
648 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200649
vasrazfb6e60d2019-12-02 13:56:40 +0000650 <execution>
651 <id>generate-images</id>
652 <phase>install</phase>
653 <goals>
654 <goal>build</goal>
655 </goals>
656 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200657
vasrazfb6e60d2019-12-02 13:56:40 +0000658 <execution>
659 <id>push-images</id>
660 <phase>deploy</phase>
661 <goals>
662 <goal>push</goal>
663 </goals>
664 <configuration>
vasrazbbe2a932019-12-05 13:53:51 +0000665 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000666 </configuration>
667 </execution>
668 </executions>
669 </plugin>
670 </plugins>
671 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200672 </profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000673 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300674
Michael Landob3d48982017-06-11 14:22:02 +0300675</project>