blob: 0037c41eae3fca983732e0ea70eacd87d7ad86a7 [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>
vasrazfb6e60d2019-12-02 13:56:40 +000075 <groupId>com.typesafe</groupId>
76 <artifactId>config</artifactId>
77 <version>1.0.2</version>
78 <scope>compile</scope>
79 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030080
vasrazfb6e60d2019-12-02 13:56:40 +000081 <dependency>
amohamad9ee60942020-06-26 12:40:11 -040082 <groupId>org.apache.logging.log4j</groupId>
83 <artifactId>log4j-core</artifactId>
84 <version>${log4j.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +000085 <scope>compile</scope>
86 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030087
vasrazfb6e60d2019-12-02 13:56:40 +000088 <dependency>
89 <groupId>com.jcraft.jsch</groupId>
90 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
91 <version>0.1.41</version>
92 <scope>compile</scope>
93 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +030094
vasrazfb6e60d2019-12-02 13:56:40 +000095 <dependency>
96 <groupId>org.openecomp.sdc</groupId>
97 <artifactId>common-app-api</artifactId>
98 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +000099 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300100
vasrazfb6e60d2019-12-02 13:56:40 +0000101 <dependency>
102 <groupId>org.openecomp.sdc.be</groupId>
103 <artifactId>common-be</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 <!-- CHECK CATLOG MODEL -->
108 <dependency>
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-model</artifactId>
111 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000112 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300113
vasrazfb6e60d2019-12-02 13:56:40 +0000114 <!-- catalog dao -->
115 <dependency>
116 <groupId>org.openecomp.sdc.be</groupId>
117 <artifactId>catalog-dao</artifactId>
118 <version>${project.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000119 </dependency>
120 <!-- functional java -->
121 <dependency>
122 <groupId>org.functionaljava</groupId>
123 <artifactId>functionaljava</artifactId>
124 <version>${functionaljava.version}</version>
125 <scope>compile</scope>
126 </dependency>
127 <!-- CASSANDRA -->
128 <dependency>
129 <groupId>com.datastax.cassandra</groupId>
130 <artifactId>cassandra-driver-core</artifactId>
131 <version>${cassandra.driver.version}</version>
132 <scope>compile</scope>
133 </dependency>
134 <!-- CASSANDRA END -->
Michael Landob3d48982017-06-11 14:22:02 +0300135
vasrazfb6e60d2019-12-02 13:56:40 +0000136 <!-- slf4j + logback -->
137 <dependency>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-api</artifactId>
140 <version>${slf4j-api.version}</version>
141 <scope>compile</scope>
142 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300143
vasrazfb6e60d2019-12-02 13:56:40 +0000144 <dependency>
145 <groupId>ch.qos.logback</groupId>
146 <artifactId>logback-classic</artifactId>
147 <version>${logback.version}</version>
148 <scope>compile</scope>
149 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300150
vasrazfb6e60d2019-12-02 13:56:40 +0000151 <dependency>
152 <groupId>ch.qos.logback</groupId>
153 <artifactId>logback-core</artifactId>
154 <version>${logback.version}</version>
155 <scope>compile</scope>
156 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300157
vasrazfb6e60d2019-12-02 13:56:40 +0000158 <dependency>
159 <groupId>com.googlecode.json-simple</groupId>
160 <artifactId>json-simple</artifactId>
161 <version>${json-simple.version}</version>
162 <scope>compile</scope>
163 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300164
vasrazfb6e60d2019-12-02 13:56:40 +0000165 <!-- File changes listener -->
166 <dependency>
167 <groupId>org.apache.commons</groupId>
168 <artifactId>commons-jci-core</artifactId>
169 <version>${commons-jci-core.version}</version>
170 <scope>compile</scope>
171 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300172
vasrazfb6e60d2019-12-02 13:56:40 +0000173 <dependency>
174 <groupId>commons-codec</groupId>
175 <artifactId>commons-codec</artifactId>
176 <version>${commons-codec}</version>
177 <scope>compile</scope>
178 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300179
vasrazfb6e60d2019-12-02 13:56:40 +0000180 <!-- Gson -->
181 <dependency>
182 <groupId>com.google.code.gson</groupId>
183 <artifactId>gson</artifactId>
184 <version>${gson.version}</version>
185 <scope>compile</scope>
186 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300187
vasrazfb6e60d2019-12-02 13:56:40 +0000188 <!-- Snake Yaml -->
189 <dependency>
190 <groupId>org.yaml</groupId>
191 <artifactId>snakeyaml</artifactId>
192 <version>${snakeyaml.version}</version>
193 <scope>compile</scope>
194 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300195
vasrazfb6e60d2019-12-02 13:56:40 +0000196 <!-- http client -->
197 <dependency>
198 <groupId>org.apache.httpcomponents</groupId>
199 <artifactId>httpclient</artifactId>
200 <version>${httpclient.version}</version>
201 <scope>compile</scope>
202 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300203
vasrazfb6e60d2019-12-02 13:56:40 +0000204 <dependency>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpmime</artifactId>
207 <version>${httpclient.version}</version>
208 <scope>compile</scope>
209 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300210
vasrazfb6e60d2019-12-02 13:56:40 +0000211 <dependency>
212 <groupId>commons-io</groupId>
213 <artifactId>commons-io</artifactId>
214 <version>2.5</version>
215 <scope>compile</scope>
216 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300217
vasrazfb6e60d2019-12-02 13:56:40 +0000218 <dependency>
219 <groupId>commons-logging</groupId>
220 <artifactId>commons-logging</artifactId>
221 <version>${commons-logging}</version>
222 <scope>compile</scope>
223 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300224
vasrazfb6e60d2019-12-02 13:56:40 +0000225 <!-- http core -->
226 <dependency>
227 <groupId>org.apache.httpcomponents</groupId>
228 <artifactId>httpcore</artifactId>
229 <version>${httpcore.version}</version>
230 <scope>compile</scope>
231 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300232
vasrazfb6e60d2019-12-02 13:56:40 +0000233 <dependency>
234 <groupId>org.janusgraph</groupId>
235 <artifactId>janusgraph-core</artifactId>
236 <version>${janusgraph.version}</version>
237 <scope>compile</scope>
238 <exclusions>
239 <exclusion>
240 <artifactId>slf4j-log4j12</artifactId>
241 <groupId>org.slf4j</groupId>
242 </exclusion>
243 <exclusion>
244 <artifactId>commons-collections</artifactId>
245 <groupId>commons-collections</groupId>
246 </exclusion>
247 <exclusion>
248 <artifactId>groovy</artifactId>
249 <groupId>org.codehaus.groovy</groupId>
250 </exclusion>
251 <exclusion>
252 <groupId>org.apache.thrift</groupId>
253 <artifactId>libthrift</artifactId>
254 </exclusion>
255 </exclusions>
256 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300257
vasrazfb6e60d2019-12-02 13:56:40 +0000258 <dependency>
shrek20000594c412020-01-30 14:52:49 +0200259 <groupId>com.clearspring.analytics</groupId>
260 <artifactId>stream</artifactId>
261 <version>${clearspring.version}</version>
262 </dependency>
263 <dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000264 <groupId>org.janusgraph</groupId>
shrek20000594c412020-01-30 14:52:49 +0200265 <artifactId>janusgraph-cql</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000266 <version>${janusgraph.version}</version>
267 <scope>compile</scope>
268 <exclusions>
269 <exclusion>
vasrazfb6e60d2019-12-02 13:56:40 +0000270 <groupId>org.slf4j</groupId>
shrek20000594c412020-01-30 14:52:49 +0200271 <artifactId>slf4j-log4j12</artifactId>
272 </exclusion>
273 <exclusion>
274 <groupId>org.json</groupId>
275 <artifactId>json</artifactId>
276 </exclusion>
277 <exclusion>
278 <artifactId>commons-collections</artifactId>
279 <groupId>commons-collections</groupId>
280 </exclusion>
281 <exclusion>
282 <artifactId>groovy</artifactId>
283 <groupId>org.codehaus.groovy</groupId>
284 </exclusion>
285 <exclusion>
286 <groupId>io.netty</groupId>
287 <artifactId>netty-all</artifactId>
vasrazfb6e60d2019-12-02 13:56:40 +0000288 </exclusion>
289 </exclusions>
290 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300291
vasrazfb6e60d2019-12-02 13:56:40 +0000292 <dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000293 <groupId>com.fasterxml.jackson.core</groupId>
294 <artifactId>jackson-databind</artifactId>
295 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100296 <exclusions>
297 <exclusion>
298 <groupId>com.fasterxml.jackson.core</groupId>
299 <artifactId>jackson-core</artifactId>
300 </exclusion>
301 </exclusions>
vasrazfb6e60d2019-12-02 13:56:40 +0000302 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300303
vasrazfb6e60d2019-12-02 13:56:40 +0000304 <dependency>
305 <groupId>com.fasterxml.jackson.core</groupId>
306 <artifactId>jackson-core</artifactId>
307 <version>${jackson.version}</version>
308 <scope>compile</scope>
309 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300310
vasrazfb6e60d2019-12-02 13:56:40 +0000311 <dependency>
312 <groupId>org.onap.portal.sdk</groupId>
313 <artifactId>epsdk-fw</artifactId>
314 <version>${ecomp.version}</version>
315 <scope>compile</scope>
316 <exclusions>
317 <exclusion>
318 <artifactId>slf4j-log4j12</artifactId>
319 <groupId>org.slf4j</groupId>
320 </exclusion>
321 </exclusions>
322 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300323
vasrazfb6e60d2019-12-02 13:56:40 +0000324 <dependency>
325 <groupId>org.json</groupId>
326 <artifactId>json</artifactId>
327 <version>20131018</version>
328 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300329
vasrazfb6e60d2019-12-02 13:56:40 +0000330 <dependency>
331 <groupId>org.onap.sdc.sdc-tosca</groupId>
332 <artifactId>sdc-tosca</artifactId>
333 <version>${sdc-tosca-parser.version}</version>
334 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300335
vasrazfb6e60d2019-12-02 13:56:40 +0000336 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100337 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000338 <artifactId>cucumber-junit</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100339 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000340 <scope>test</scope>
341 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300342
vasrazfb6e60d2019-12-02 13:56:40 +0000343 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100344 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000345 <artifactId>cucumber-core</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100346 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000347 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300348
vasrazfb6e60d2019-12-02 13:56:40 +0000349 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100350 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000351 <artifactId>gherkin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100352 <version>13.0.0</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000353 </dependency>
354 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100355 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000356 <artifactId>cucumber-java</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100357 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000358 <scope>test</scope>
359 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300360
vasrazfb6e60d2019-12-02 13:56:40 +0000361 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100362 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000363 <artifactId>cucumber-jvm-deps</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100364 <version>1.0.6</version>
365 <scope>provided</scope>
vasrazfb6e60d2019-12-02 13:56:40 +0000366 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200367
vasrazfb6e60d2019-12-02 13:56:40 +0000368 <dependency>
369 <groupId>org.mock-server</groupId>
370 <artifactId>mockserver-netty</artifactId>
371 <version>${mockserver.netty.version}</version>
372 <scope>test</scope>
373 <exclusions>
374 <exclusion>
375 <artifactId>commons-collections</artifactId>
376 <groupId>commons-collections</groupId>
377 </exclusion>
378 </exclusions>
379 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200380
vasrazfb6e60d2019-12-02 13:56:40 +0000381 <dependency>
382 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
383 <artifactId>sdc-distribution-client</artifactId>
384 <version>1.2.2</version>
385 <scope>test</scope>
386 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200387
vasrazfb6e60d2019-12-02 13:56:40 +0000388 <!-- With TestNG -->
389 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100390 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000391 <artifactId>cucumber-testng</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100392 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000393 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300394
vasrazfb6e60d2019-12-02 13:56:40 +0000395 <!-- spring -->
396 <dependency>
397 <groupId>org.springframework</groupId>
398 <artifactId>spring-context</artifactId>
399 <version>${spring.version}</version>
400 <scope>compile</scope>
401 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300402
vasrazfb6e60d2019-12-02 13:56:40 +0000403 <!-- CASSANDRA -->
404 <dependency>
405 <groupId>com.datastax.cassandra</groupId>
406 <artifactId>cassandra-driver-mapping</artifactId>
407 <version>${cassandra.driver.version}</version>
408 <scope>compile</scope>
409 </dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000410 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300411
vasrazfb6e60d2019-12-02 13:56:40 +0000412 <dependency>
413 <groupId>org.codehaus.groovy</groupId>
414 <artifactId>groovy</artifactId>
415 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300416
vasrazfb6e60d2019-12-02 13:56:40 +0000417 <dependency>
418 <groupId>io.netty</groupId>
419 <artifactId>netty-all</artifactId>
420 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200421
vasrazfb6e60d2019-12-02 13:56:40 +0000422 <dependency>
423 <groupId>io.netty</groupId>
424 <artifactId>netty-handler</artifactId>
425 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200426
vasrazfb6e60d2019-12-02 13:56:40 +0000427 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200428
vasrazfb6e60d2019-12-02 13:56:40 +0000429 <build>
430 <plugins>
431 <plugin>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-clean-plugin</artifactId>
434 <executions>
435 <execution>
436 <id>clean.testsuit.folder</id>
437 <phase>clean</phase>
438 <goals>
439 <goal>clean</goal>
440 </goals>
441 <configuration>
442 <filesets>
443 <!-- Sanity jar -->
444 <fileset>
445 <directory>${project.basedir}/sdc-api-tests</directory>
446 <followSymlinks>false</followSymlinks>
447 <includes>
448 <include>*.jar</include>
449 </includes>
450 </fileset>
451 <!-- Sanity test suites -->
452 <fileset>
453 <directory>
454 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
455 </directory>
456 <followSymlinks>false</followSymlinks>
457 </fileset>
458 </filesets>
459 </configuration>
460 </execution>
461 </executions>
462 </plugin>
463
464 <plugin>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-deploy-plugin</artifactId>
467 <configuration>
468 <skip>true</skip>
469 </configuration>
470 </plugin>
471
472 <!-- ============================================= -->
473 <!-- Create the JAR file with its dependencies -->
474 <!-- ============================================= -->
475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-assembly-plugin</artifactId>
478 <executions>
479 <execution>
480 <id>create.jar.with.dependencies</id>
481 <phase>package</phase>
482 <goals>
483 <goal>single</goal>
484 </goals>
485 <configuration>
486 <archive>
487 <manifest>
488 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
489 </manifest>
490 </archive>
491 <descriptorRefs>
492 <descriptorRef>jar-with-dependencies</descriptorRef>
493 </descriptorRefs>
494 </configuration>
495 </execution>
496 </executions>
497 </plugin>
498 <plugin>
499 <groupId>com.github.sylvainlaurent.maven</groupId>
500 <artifactId>yaml-json-validator-maven-plugin</artifactId>
501 <executions>
502 <execution>
503 <id>validate</id>
504 <phase>validate</phase>
505 <goals>
506 <goal>validate</goal>
507 </goals>
508 <configuration>
509 <validationSets>
510 <validationSet>
511 <includes>
512 <include>src/main/resources/**/*.y*ml</include>
513 <include>src/test/resources/**/*.y*ml</include>
514 </includes>
515 <excludes>
516 <exclude>
517 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
518 </exclude>
519 <exclude>
520 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
521 </exclude>
522 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
523 </exclude>
524 </excludes>
525 </validationSet>
526 <validationSet>
527 <includes>
528 <include>src/main/resources/**/*.json</include>
529 <include>src/test/resources/**/*.json</include>
530 </includes>
531 <excludes>
532 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
533 </exclude>
534 </excludes>
535 </validationSet>
536 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200537 <skip>${skipYamlJsonValidator}</skip>
vasrazfb6e60d2019-12-02 13:56:40 +0000538 </configuration>
539 </execution>
540 </executions>
541 </plugin>
542 </plugins>
543 </build>
544 <profiles>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200545 <profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000546 <id>docker</id>
547 <activation>
548 <activeByDefault>false</activeByDefault>
549 </activation>
550 <build>
551 <plugins>
552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-resources-plugin</artifactId>
555 <executions>
556 <execution>
557 <id>copy-tests-suites</id>
558 <phase>verify</phase>
559 <goals>
560 <goal>copy-resources</goal>
561 </goals>
562 <configuration>
563 <outputDirectory>
564 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
565 </outputDirectory>
566 <resources>
567 <resource>
568 <directory>
569 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
570 </directory>
571 <includes>
572 <include>*</include>
573 </includes>
574 </resource>
575 </resources>
576 </configuration>
577 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200578
vasrazfb6e60d2019-12-02 13:56:40 +0000579 <execution>
580 <id>copy-resources-test-apis-ci</id>
581 <phase>verify</phase>
582 <goals>
583 <goal>copy-resources</goal>
584 </goals>
585 <configuration>
586 <outputDirectory>sdc-api-tests</outputDirectory>
587 <resources>
588 <resource>
589 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
590 <includes>
591 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
592 </includes>
593 </resource>
594 </resources>
595 </configuration>
596 </execution>
597 </executions>
598 </plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200599
vasrazfb6e60d2019-12-02 13:56:40 +0000600 <plugin>
601 <groupId>io.fabric8</groupId>
602 <artifactId>docker-maven-plugin</artifactId>
603 <configuration>
604 <apiVersion>1.23</apiVersion>
605 <registry>nexus3.onap.org:10001</registry>
606 <authConfig>
607 <pull>
608 <username>docker</username>
609 <password>docker</password>
610 </pull>
611 </authConfig>
612 <images>
613 <!-- Build sanity image -->
614 <image>
615 <name>onap/sdc-api-tests</name>
616 <alias>sdc-api-tests</alias>
617 <build>
618 <cleanup>try</cleanup>
619 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
620 <tags>
621 <tag>${docker.tag}</tag>
vasrazbbe2a932019-12-05 13:53:51 +0000622 <tag>
623 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
624 </tag>
vasrazfb6e60d2019-12-02 13:56:40 +0000625 </tags>
626 </build>
627 </image>
628 </images>
629 </configuration>
630 <executions>
631 <execution>
632 <id>clean-images</id>
633 <phase>pre-clean</phase>
634 <goals>
635 <goal>remove</goal>
636 </goals>
637 <configuration>
638 <removeAll>true</removeAll>
vasrazbbe2a932019-12-05 13:53:51 +0000639 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000640 </configuration>
641 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200642
vasrazfb6e60d2019-12-02 13:56:40 +0000643 <execution>
644 <id>generate-images</id>
645 <phase>install</phase>
646 <goals>
647 <goal>build</goal>
648 </goals>
649 </execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200650
vasrazfb6e60d2019-12-02 13:56:40 +0000651 <execution>
652 <id>push-images</id>
653 <phase>deploy</phase>
654 <goals>
655 <goal>push</goal>
656 </goals>
657 <configuration>
vasrazbbe2a932019-12-05 13:53:51 +0000658 <image>onap/sdc-api-tests</image>
vasrazfb6e60d2019-12-02 13:56:40 +0000659 </configuration>
660 </execution>
661 </executions>
662 </plugin>
663 </plugins>
664 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200665 </profile>
vasrazfb6e60d2019-12-02 13:56:40 +0000666 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300667
Michael Landob3d48982017-06-11 14:22:02 +0300668</project>