1 <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">
5 <modelVersion>4.0.0</modelVersion>
7 <artifactId>test-apis-ci</artifactId>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.7.0-SNAPSHOT</version>
16 <sonar.skip>true</sonar.skip>
17 <mockserver.netty.version>5.5.4</mockserver.netty.version>
22 <groupId>com.google.guava</groupId>
23 <artifactId>guava</artifactId>
24 <version>${guava.version}</version>
25 <scope>compile</scope>
29 <groupId>junit</groupId>
30 <artifactId>junit</artifactId>
31 <version>${junit.version}</version>
32 <scope>compile</scope>
36 <groupId>org.junit.jupiter</groupId>
37 <artifactId>junit-jupiter</artifactId>
38 <version>${junitJupiter.version}</version>
43 <groupId>org.mockito</groupId>
44 <artifactId>mockito-junit-jupiter</artifactId>
45 <version>${mockitoJupiter.version}</version>
50 <groupId>org.assertj</groupId>
51 <artifactId>assertj-core</artifactId>
55 <groupId>org.hamcrest</groupId>
56 <artifactId>hamcrest-all</artifactId>
57 <version>${hamcrest-all.version}</version>
61 <groupId>org.testng</groupId>
62 <artifactId>testng</artifactId>
63 <version>${testng.version}</version>
64 <scope>compile</scope>
68 <groupId>com.aventstack</groupId>
69 <artifactId>extentreports</artifactId>
70 <version>3.0.6</version>
71 <scope>compile</scope>
75 <groupId>com.typesafe</groupId>
76 <artifactId>config</artifactId>
77 <version>1.0.2</version>
78 <scope>compile</scope>
82 <groupId>log4j</groupId>
83 <artifactId>log4j</artifactId>
84 <version>1.2.17</version>
85 <scope>compile</scope>
89 <groupId>com.jcraft.jsch</groupId>
90 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
91 <version>0.1.41</version>
92 <scope>compile</scope>
96 <groupId>org.openecomp.sdc</groupId>
97 <artifactId>common-app-api</artifactId>
98 <version>${project.version}</version>
102 <groupId>org.openecomp.sdc.be</groupId>
103 <artifactId>common-be</artifactId>
104 <version>${project.version}</version>
107 <!-- CHECK CATLOG MODEL -->
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-model</artifactId>
111 <version>${project.version}</version>
116 <groupId>org.openecomp.sdc.be</groupId>
117 <artifactId>catalog-dao</artifactId>
118 <version>${project.version}</version>
120 <!-- functional java -->
122 <groupId>org.functionaljava</groupId>
123 <artifactId>functionaljava</artifactId>
124 <version>${functionaljava.version}</version>
125 <scope>compile</scope>
129 <groupId>com.datastax.cassandra</groupId>
130 <artifactId>cassandra-driver-core</artifactId>
131 <version>${cassandra.driver.version}</version>
132 <scope>compile</scope>
134 <!-- CASSANDRA END -->
136 <!-- slf4j + logback -->
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-api</artifactId>
140 <version>${slf4j-api.version}</version>
141 <scope>compile</scope>
145 <groupId>ch.qos.logback</groupId>
146 <artifactId>logback-classic</artifactId>
147 <version>${logback.version}</version>
148 <scope>compile</scope>
152 <groupId>ch.qos.logback</groupId>
153 <artifactId>logback-core</artifactId>
154 <version>${logback.version}</version>
155 <scope>compile</scope>
159 <groupId>com.googlecode.json-simple</groupId>
160 <artifactId>json-simple</artifactId>
161 <version>${json-simple.version}</version>
162 <scope>compile</scope>
165 <!-- File changes listener -->
167 <groupId>org.apache.commons</groupId>
168 <artifactId>commons-jci-core</artifactId>
169 <version>${commons-jci-core.version}</version>
170 <scope>compile</scope>
174 <groupId>commons-codec</groupId>
175 <artifactId>commons-codec</artifactId>
176 <version>${commons-codec}</version>
177 <scope>compile</scope>
182 <groupId>com.google.code.gson</groupId>
183 <artifactId>gson</artifactId>
184 <version>${gson.version}</version>
185 <scope>compile</scope>
190 <groupId>org.yaml</groupId>
191 <artifactId>snakeyaml</artifactId>
192 <version>${snakeyaml.version}</version>
193 <scope>compile</scope>
198 <groupId>org.apache.httpcomponents</groupId>
199 <artifactId>httpclient</artifactId>
200 <version>${httpclient.version}</version>
201 <scope>compile</scope>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpmime</artifactId>
207 <version>${httpclient.version}</version>
208 <scope>compile</scope>
212 <groupId>commons-io</groupId>
213 <artifactId>commons-io</artifactId>
214 <version>2.5</version>
215 <scope>compile</scope>
219 <groupId>commons-logging</groupId>
220 <artifactId>commons-logging</artifactId>
221 <version>${commons-logging}</version>
222 <scope>compile</scope>
227 <groupId>org.apache.httpcomponents</groupId>
228 <artifactId>httpcore</artifactId>
229 <version>${httpcore.version}</version>
230 <scope>compile</scope>
234 <groupId>org.janusgraph</groupId>
235 <artifactId>janusgraph-core</artifactId>
236 <version>${janusgraph.version}</version>
237 <scope>compile</scope>
240 <artifactId>slf4j-log4j12</artifactId>
241 <groupId>org.slf4j</groupId>
244 <artifactId>commons-collections</artifactId>
245 <groupId>commons-collections</groupId>
248 <artifactId>groovy</artifactId>
249 <groupId>org.codehaus.groovy</groupId>
252 <groupId>org.apache.thrift</groupId>
253 <artifactId>libthrift</artifactId>
259 <groupId>com.clearspring.analytics</groupId>
260 <artifactId>stream</artifactId>
261 <version>${clearspring.version}</version>
264 <groupId>org.janusgraph</groupId>
265 <artifactId>janusgraph-cql</artifactId>
266 <version>${janusgraph.version}</version>
267 <scope>compile</scope>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-log4j12</artifactId>
274 <groupId>org.json</groupId>
275 <artifactId>json</artifactId>
278 <artifactId>commons-collections</artifactId>
279 <groupId>commons-collections</groupId>
282 <artifactId>groovy</artifactId>
283 <groupId>org.codehaus.groovy</groupId>
286 <groupId>io.netty</groupId>
287 <artifactId>netty-all</artifactId>
293 <groupId>org.codehaus.jackson</groupId>
294 <artifactId>jackson-mapper-asl</artifactId>
295 <version>1.9.2</version>
296 <scope>compile</scope>
300 <groupId>com.fasterxml.jackson.core</groupId>
301 <artifactId>jackson-databind</artifactId>
302 <version>${jackson.version}</version>
305 <groupId>com.fasterxml.jackson.core</groupId>
306 <artifactId>jackson-core</artifactId>
312 <groupId>com.fasterxml.jackson.core</groupId>
313 <artifactId>jackson-core</artifactId>
314 <version>${jackson.version}</version>
315 <scope>compile</scope>
319 <groupId>org.onap.portal.sdk</groupId>
320 <artifactId>epsdk-fw</artifactId>
321 <version>${ecomp.version}</version>
322 <scope>compile</scope>
325 <artifactId>slf4j-log4j12</artifactId>
326 <groupId>org.slf4j</groupId>
332 <groupId>org.json</groupId>
333 <artifactId>json</artifactId>
334 <version>20131018</version>
338 <groupId>org.onap.sdc.sdc-tosca</groupId>
339 <artifactId>sdc-tosca</artifactId>
340 <version>${sdc-tosca-parser.version}</version>
344 <groupId>io.cucumber</groupId>
345 <artifactId>cucumber-junit</artifactId>
346 <version>${cucumber.version}</version>
351 <groupId>io.cucumber</groupId>
352 <artifactId>cucumber-core</artifactId>
353 <version>${cucumber.version}</version>
357 <groupId>io.cucumber</groupId>
358 <artifactId>gherkin</artifactId>
359 <version>13.0.0</version>
362 <groupId>io.cucumber</groupId>
363 <artifactId>cucumber-java</artifactId>
364 <version>${cucumber.version}</version>
369 <groupId>io.cucumber</groupId>
370 <artifactId>cucumber-jvm-deps</artifactId>
371 <version>1.0.6</version>
372 <scope>provided</scope>
376 <groupId>org.mock-server</groupId>
377 <artifactId>mockserver-netty</artifactId>
378 <version>${mockserver.netty.version}</version>
382 <artifactId>commons-collections</artifactId>
383 <groupId>commons-collections</groupId>
389 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
390 <artifactId>sdc-distribution-client</artifactId>
391 <version>1.2.2</version>
397 <groupId>io.cucumber</groupId>
398 <artifactId>cucumber-testng</artifactId>
399 <version>${cucumber.version}</version>
404 <groupId>org.springframework</groupId>
405 <artifactId>spring-context</artifactId>
406 <version>${spring.version}</version>
407 <scope>compile</scope>
412 <groupId>com.datastax.cassandra</groupId>
413 <artifactId>cassandra-driver-mapping</artifactId>
414 <version>${cassandra.driver.version}</version>
415 <scope>compile</scope>
417 <!-- CASSANDRA END -->
420 <groupId>org.codehaus.groovy</groupId>
421 <artifactId>groovy</artifactId>
425 <groupId>io.netty</groupId>
426 <artifactId>netty-all</artifactId>
430 <groupId>io.netty</groupId>
431 <artifactId>netty-handler</artifactId>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-clean-plugin</artifactId>
443 <id>clean.testsuit.folder</id>
452 <directory>${project.basedir}/sdc-api-tests</directory>
453 <followSymlinks>false</followSymlinks>
455 <include>*.jar</include>
458 <!-- Sanity test suites -->
461 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
463 <followSymlinks>false</followSymlinks>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-deploy-plugin</artifactId>
479 <!-- ============================================= -->
480 <!-- Create the JAR file with its dependencies -->
481 <!-- ============================================= -->
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-assembly-plugin</artifactId>
487 <id>create.jar.with.dependencies</id>
488 <phase>package</phase>
495 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
499 <descriptorRef>jar-with-dependencies</descriptorRef>
506 <groupId>com.github.sylvainlaurent.maven</groupId>
507 <artifactId>yaml-json-validator-maven-plugin</artifactId>
511 <phase>validate</phase>
513 <goal>validate</goal>
519 <include>src/main/resources/**/*.y*ml</include>
520 <include>src/test/resources/**/*.y*ml</include>
524 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
527 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
529 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
535 <include>src/main/resources/**/*.json</include>
536 <include>src/test/resources/**/*.json</include>
539 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
544 <skip>${skipYamlJsonValidator}</skip>
555 <activeByDefault>false</activeByDefault>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-resources-plugin</artifactId>
564 <id>copy-tests-suites</id>
565 <phase>verify</phase>
567 <goal>copy-resources</goal>
571 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
576 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
587 <id>copy-resources-test-apis-ci</id>
588 <phase>verify</phase>
590 <goal>copy-resources</goal>
593 <outputDirectory>sdc-api-tests</outputDirectory>
596 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
598 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
608 <groupId>io.fabric8</groupId>
609 <artifactId>docker-maven-plugin</artifactId>
611 <apiVersion>1.23</apiVersion>
612 <registry>nexus3.onap.org:10001</registry>
615 <username>docker</username>
616 <password>docker</password>
620 <!-- Build sanity image -->
622 <name>onap/sdc-api-tests</name>
623 <alias>sdc-api-tests</alias>
625 <cleanup>try</cleanup>
626 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
628 <tag>${docker.tag}</tag>
630 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
639 <id>clean-images</id>
640 <phase>pre-clean</phase>
645 <removeAll>true</removeAll>
646 <image>onap/sdc-api-tests</image>
651 <id>generate-images</id>
652 <phase>install</phase>
660 <phase>deploy</phase>
665 <image>onap/sdc-api-tests</image>