blob: 4d1b8c479565f82640d9216a0ae3d1640efa063a [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>
82 <groupId>log4j</groupId>
83 <artifactId>log4j</artifactId>
84 <version>1.2.17</version>
85 <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>
293 <groupId>org.codehaus.jackson</groupId>
294 <artifactId>jackson-mapper-asl</artifactId>
295 <version>1.9.2</version>
296 <scope>compile</scope>
297 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300298
vasrazfb6e60d2019-12-02 13:56:40 +0000299 <dependency>
300 <groupId>com.fasterxml.jackson.core</groupId>
301 <artifactId>jackson-databind</artifactId>
302 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100303 <exclusions>
304 <exclusion>
305 <groupId>com.fasterxml.jackson.core</groupId>
306 <artifactId>jackson-core</artifactId>
307 </exclusion>
308 </exclusions>
vasrazfb6e60d2019-12-02 13:56:40 +0000309 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300310
vasrazfb6e60d2019-12-02 13:56:40 +0000311 <dependency>
312 <groupId>com.fasterxml.jackson.core</groupId>
313 <artifactId>jackson-core</artifactId>
314 <version>${jackson.version}</version>
315 <scope>compile</scope>
316 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300317
vasrazfb6e60d2019-12-02 13:56:40 +0000318 <dependency>
319 <groupId>org.onap.portal.sdk</groupId>
320 <artifactId>epsdk-fw</artifactId>
321 <version>${ecomp.version}</version>
322 <scope>compile</scope>
323 <exclusions>
324 <exclusion>
325 <artifactId>slf4j-log4j12</artifactId>
326 <groupId>org.slf4j</groupId>
327 </exclusion>
328 </exclusions>
329 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300330
vasrazfb6e60d2019-12-02 13:56:40 +0000331 <dependency>
332 <groupId>org.json</groupId>
333 <artifactId>json</artifactId>
334 <version>20131018</version>
335 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300336
vasrazfb6e60d2019-12-02 13:56:40 +0000337 <dependency>
338 <groupId>org.onap.sdc.sdc-tosca</groupId>
339 <artifactId>sdc-tosca</artifactId>
340 <version>${sdc-tosca-parser.version}</version>
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-junit</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100346 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000347 <scope>test</scope>
348 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300349
vasrazfb6e60d2019-12-02 13:56:40 +0000350 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100351 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000352 <artifactId>cucumber-core</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100353 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000354 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300355
vasrazfb6e60d2019-12-02 13:56:40 +0000356 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100357 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000358 <artifactId>gherkin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100359 <version>13.0.0</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000360 </dependency>
361 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100362 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000363 <artifactId>cucumber-java</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100364 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000365 <scope>test</scope>
366 </dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300367
vasrazfb6e60d2019-12-02 13:56:40 +0000368 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100369 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000370 <artifactId>cucumber-jvm-deps</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100371 <version>1.0.6</version>
372 <scope>provided</scope>
vasrazfb6e60d2019-12-02 13:56:40 +0000373 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200374
vasrazfb6e60d2019-12-02 13:56:40 +0000375 <dependency>
376 <groupId>org.mock-server</groupId>
377 <artifactId>mockserver-netty</artifactId>
378 <version>${mockserver.netty.version}</version>
379 <scope>test</scope>
380 <exclusions>
381 <exclusion>
382 <artifactId>commons-collections</artifactId>
383 <groupId>commons-collections</groupId>
384 </exclusion>
385 </exclusions>
386 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200387
vasrazfb6e60d2019-12-02 13:56:40 +0000388 <dependency>
389 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
390 <artifactId>sdc-distribution-client</artifactId>
391 <version>1.2.2</version>
392 <scope>test</scope>
393 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200394
vasrazfb6e60d2019-12-02 13:56:40 +0000395 <!-- With TestNG -->
396 <dependency>
vasraza36531c2020-04-29 18:39:35 +0100397 <groupId>io.cucumber</groupId>
vasrazfb6e60d2019-12-02 13:56:40 +0000398 <artifactId>cucumber-testng</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100399 <version>${cucumber.version}</version>
vasrazfb6e60d2019-12-02 13:56:40 +0000400 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300401
vasrazfb6e60d2019-12-02 13:56:40 +0000402 <!-- spring -->
403 <dependency>
404 <groupId>org.springframework</groupId>
405 <artifactId>spring-context</artifactId>
406 <version>${spring.version}</version>
407 <scope>compile</scope>
408 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300409
vasrazfb6e60d2019-12-02 13:56:40 +0000410 <!-- CASSANDRA -->
411 <dependency>
412 <groupId>com.datastax.cassandra</groupId>
413 <artifactId>cassandra-driver-mapping</artifactId>
414 <version>${cassandra.driver.version}</version>
415 <scope>compile</scope>
416 </dependency>
vasrazfb6e60d2019-12-02 13:56:40 +0000417 <!-- CASSANDRA END -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300418
vasrazfb6e60d2019-12-02 13:56:40 +0000419 <dependency>
420 <groupId>org.codehaus.groovy</groupId>
421 <artifactId>groovy</artifactId>
422 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300423
vasrazfb6e60d2019-12-02 13:56:40 +0000424 <dependency>
425 <groupId>io.netty</groupId>
426 <artifactId>netty-all</artifactId>
427 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200428
vasrazfb6e60d2019-12-02 13:56:40 +0000429 <dependency>
430 <groupId>io.netty</groupId>
431 <artifactId>netty-handler</artifactId>
432 </dependency>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200433
vasrazfb6e60d2019-12-02 13:56:40 +0000434 </dependencies>
Michael Landoa5445102018-03-04 14:53:33 +0200435
vasrazfb6e60d2019-12-02 13:56:40 +0000436 <build>
437 <plugins>
438 <plugin>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-clean-plugin</artifactId>
441 <executions>
442 <execution>
443 <id>clean.testsuit.folder</id>
444 <phase>clean</phase>
445 <goals>
446 <goal>clean</goal>
447 </goals>
448 <configuration>
449 <filesets>
450 <!-- Sanity jar -->
451 <fileset>
452 <directory>${project.basedir}/sdc-api-tests</directory>
453 <followSymlinks>false</followSymlinks>
454 <includes>
455 <include>*.jar</include>
456 </includes>
457 </fileset>
458 <!-- Sanity test suites -->
459 <fileset>
460 <directory>
461 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
462 </directory>
463 <followSymlinks>false</followSymlinks>
464 </fileset>
465 </filesets>
466 </configuration>
467 </execution>
468 </executions>
469 </plugin>
470
471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-deploy-plugin</artifactId>
474 <configuration>
475 <skip>true</skip>
476 </configuration>
477 </plugin>
478
479 <!-- ============================================= -->
480 <!-- Create the JAR file with its dependencies -->
481 <!-- ============================================= -->
482 <plugin>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-assembly-plugin</artifactId>
485 <executions>
486 <execution>
487 <id>create.jar.with.dependencies</id>
488 <phase>package</phase>
489 <goals>
490 <goal>single</goal>
491 </goals>
492 <configuration>
493 <archive>
494 <manifest>
495 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
496 </manifest>
497 </archive>
498 <descriptorRefs>
499 <descriptorRef>jar-with-dependencies</descriptorRef>
500 </descriptorRefs>
501 </configuration>
502 </execution>
503 </executions>
504 </plugin>
505 <plugin>
506 <groupId>com.github.sylvainlaurent.maven</groupId>
507 <artifactId>yaml-json-validator-maven-plugin</artifactId>
508 <executions>
509 <execution>
510 <id>validate</id>
511 <phase>validate</phase>
512 <goals>
513 <goal>validate</goal>
514 </goals>
515 <configuration>
516 <validationSets>
517 <validationSet>
518 <includes>
519 <include>src/main/resources/**/*.y*ml</include>
520 <include>src/test/resources/**/*.y*ml</include>
521 </includes>
522 <excludes>
523 <exclude>
524 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
525 </exclude>
526 <exclude>
527 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
528 </exclude>
529 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
530 </exclude>
531 </excludes>
532 </validationSet>
533 <validationSet>
534 <includes>
535 <include>src/main/resources/**/*.json</include>
536 <include>src/test/resources/**/*.json</include>
537 </includes>
538 <excludes>
539 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
540 </exclude>
541 </excludes>
542 </validationSet>
543 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200544 <skip>${skipYamlJsonValidator}</skip>
vasrazfb6e60d2019-12-02 13:56:40 +0000545 </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>