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.6.5-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.assertj</groupId>
37 <artifactId>assertj-core</artifactId>
41 <groupId>org.hamcrest</groupId>
42 <artifactId>hamcrest-all</artifactId>
43 <version>${hamcrest-all.version}</version>
47 <groupId>org.testng</groupId>
48 <artifactId>testng</artifactId>
49 <version>${testng.version}</version>
50 <scope>compile</scope>
54 <groupId>com.aventstack</groupId>
55 <artifactId>extentreports</artifactId>
56 <version>3.0.6</version>
57 <scope>compile</scope>
61 <groupId>org.mockito</groupId>
62 <artifactId>mockito-core</artifactId>
67 <groupId>com.typesafe</groupId>
68 <artifactId>config</artifactId>
69 <version>1.0.2</version>
70 <scope>compile</scope>
74 <groupId>log4j</groupId>
75 <artifactId>log4j</artifactId>
76 <version>1.2.17</version>
77 <scope>compile</scope>
81 <groupId>com.jcraft.jsch</groupId>
82 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
83 <version>0.1.41</version>
84 <scope>compile</scope>
88 <groupId>org.openecomp.sdc</groupId>
89 <artifactId>common-app-api</artifactId>
90 <version>${project.version}</version>
94 <groupId>org.openecomp.sdc.be</groupId>
95 <artifactId>common-be</artifactId>
96 <version>${project.version}</version>
99 <!-- CHECK CATLOG MODEL -->
101 <groupId>org.openecomp.sdc.be</groupId>
102 <artifactId>catalog-model</artifactId>
103 <version>${project.version}</version>
108 <groupId>org.openecomp.sdc.be</groupId>
109 <artifactId>catalog-dao</artifactId>
110 <version>${project.version}</version>
112 <!-- functional java -->
114 <groupId>org.functionaljava</groupId>
115 <artifactId>functionaljava</artifactId>
116 <version>${functionaljava.version}</version>
117 <scope>compile</scope>
121 <groupId>com.datastax.cassandra</groupId>
122 <artifactId>cassandra-driver-core</artifactId>
123 <version>${cassandra.driver.version}</version>
124 <scope>compile</scope>
126 <!-- CASSANDRA END -->
128 <!-- slf4j + logback -->
130 <groupId>org.slf4j</groupId>
131 <artifactId>slf4j-api</artifactId>
132 <version>${slf4j-api.version}</version>
133 <scope>compile</scope>
137 <groupId>ch.qos.logback</groupId>
138 <artifactId>logback-classic</artifactId>
139 <version>${logback.version}</version>
140 <scope>compile</scope>
144 <groupId>ch.qos.logback</groupId>
145 <artifactId>logback-core</artifactId>
146 <version>${logback.version}</version>
147 <scope>compile</scope>
151 <groupId>com.googlecode.json-simple</groupId>
152 <artifactId>json-simple</artifactId>
153 <version>${json-simple.version}</version>
154 <scope>compile</scope>
157 <!-- File changes listener -->
159 <groupId>org.apache.commons</groupId>
160 <artifactId>commons-jci-core</artifactId>
161 <version>${commons-jci-core.version}</version>
162 <scope>compile</scope>
166 <groupId>commons-codec</groupId>
167 <artifactId>commons-codec</artifactId>
168 <version>${commons-codec}</version>
169 <scope>compile</scope>
174 <groupId>com.google.code.gson</groupId>
175 <artifactId>gson</artifactId>
176 <version>${gson.version}</version>
177 <scope>compile</scope>
182 <groupId>org.yaml</groupId>
183 <artifactId>snakeyaml</artifactId>
184 <version>${snakeyaml.version}</version>
185 <scope>compile</scope>
190 <groupId>org.apache.httpcomponents</groupId>
191 <artifactId>httpclient</artifactId>
192 <version>${httpclient.version}</version>
193 <scope>compile</scope>
197 <groupId>org.apache.httpcomponents</groupId>
198 <artifactId>httpmime</artifactId>
199 <version>${httpclient.version}</version>
200 <scope>compile</scope>
204 <groupId>commons-io</groupId>
205 <artifactId>commons-io</artifactId>
206 <version>2.5</version>
207 <scope>compile</scope>
211 <groupId>commons-logging</groupId>
212 <artifactId>commons-logging</artifactId>
213 <version>${commons-logging}</version>
214 <scope>compile</scope>
219 <groupId>org.apache.httpcomponents</groupId>
220 <artifactId>httpcore</artifactId>
221 <version>${httpcore.version}</version>
222 <scope>compile</scope>
226 <groupId>org.janusgraph</groupId>
227 <artifactId>janusgraph-core</artifactId>
228 <version>${janusgraph.version}</version>
229 <scope>compile</scope>
232 <artifactId>slf4j-log4j12</artifactId>
233 <groupId>org.slf4j</groupId>
236 <artifactId>commons-collections</artifactId>
237 <groupId>commons-collections</groupId>
240 <artifactId>groovy</artifactId>
241 <groupId>org.codehaus.groovy</groupId>
244 <groupId>org.apache.thrift</groupId>
245 <artifactId>libthrift</artifactId>
251 <groupId>com.clearspring.analytics</groupId>
252 <artifactId>stream</artifactId>
253 <version>${clearspring.version}</version>
256 <groupId>org.janusgraph</groupId>
257 <artifactId>janusgraph-cql</artifactId>
258 <version>${janusgraph.version}</version>
259 <scope>compile</scope>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-log4j12</artifactId>
266 <groupId>org.json</groupId>
267 <artifactId>json</artifactId>
270 <artifactId>commons-collections</artifactId>
271 <groupId>commons-collections</groupId>
274 <artifactId>groovy</artifactId>
275 <groupId>org.codehaus.groovy</groupId>
278 <groupId>io.netty</groupId>
279 <artifactId>netty-all</artifactId>
285 <groupId>org.codehaus.jackson</groupId>
286 <artifactId>jackson-mapper-asl</artifactId>
287 <version>1.9.2</version>
288 <scope>compile</scope>
292 <groupId>com.fasterxml.jackson.core</groupId>
293 <artifactId>jackson-databind</artifactId>
294 <version>${jackson.version}</version>
295 <scope>compile</scope>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-core</artifactId>
301 <version>${jackson.version}</version>
302 <scope>compile</scope>
306 <groupId>org.onap.portal.sdk</groupId>
307 <artifactId>epsdk-fw</artifactId>
308 <version>${ecomp.version}</version>
309 <scope>compile</scope>
312 <artifactId>slf4j-log4j12</artifactId>
313 <groupId>org.slf4j</groupId>
319 <groupId>org.json</groupId>
320 <artifactId>json</artifactId>
321 <version>20131018</version>
325 <groupId>org.onap.sdc.sdc-tosca</groupId>
326 <artifactId>sdc-tosca</artifactId>
327 <version>${sdc-tosca-parser.version}</version>
331 <groupId>info.cukes</groupId>
332 <artifactId>cucumber-junit</artifactId>
333 <version>1.2.4</version>
338 <groupId>info.cukes</groupId>
339 <artifactId>cucumber-core</artifactId>
340 <version>1.2.4</version>
345 <groupId>info.cukes</groupId>
346 <artifactId>gherkin</artifactId>
347 <version>2.12.2</version>
350 <groupId>info.cukes</groupId>
351 <artifactId>cucumber-java</artifactId>
352 <version>1.2.5</version>
357 <groupId>info.cukes</groupId>
358 <artifactId>cucumber-jvm-deps</artifactId>
359 <version>1.0.5</version>
363 <groupId>org.mock-server</groupId>
364 <artifactId>mockserver-netty</artifactId>
365 <version>${mockserver.netty.version}</version>
369 <artifactId>commons-collections</artifactId>
370 <groupId>commons-collections</groupId>
376 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
377 <artifactId>sdc-distribution-client</artifactId>
378 <version>1.2.2</version>
384 <groupId>info.cukes</groupId>
385 <artifactId>cucumber-testng</artifactId>
386 <version>1.2.5</version>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-context</artifactId>
393 <version>${spring.version}</version>
394 <scope>compile</scope>
399 <groupId>com.datastax.cassandra</groupId>
400 <artifactId>cassandra-driver-mapping</artifactId>
401 <version>${cassandra.driver.version}</version>
402 <scope>compile</scope>
405 <groupId>org.apache.thrift</groupId>
406 <artifactId>libthrift</artifactId>
407 <version>${libthrift.version}</version>
409 <!-- CASSANDRA END -->
412 <groupId>org.codehaus.groovy</groupId>
413 <artifactId>groovy</artifactId>
417 <groupId>io.netty</groupId>
418 <artifactId>netty-all</artifactId>
422 <groupId>io.netty</groupId>
423 <artifactId>netty-handler</artifactId>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-clean-plugin</artifactId>
435 <id>clean.testsuit.folder</id>
444 <directory>${project.basedir}/sdc-api-tests</directory>
445 <followSymlinks>false</followSymlinks>
447 <include>*.jar</include>
450 <!-- Sanity test suites -->
453 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
455 <followSymlinks>false</followSymlinks>
464 <groupId>org.apache.maven.plugins</groupId>
465 <artifactId>maven-deploy-plugin</artifactId>
471 <!-- ============================================= -->
472 <!-- Create the JAR file with its dependencies -->
473 <!-- ============================================= -->
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-assembly-plugin</artifactId>
479 <id>create.jar.with.dependencies</id>
480 <phase>package</phase>
487 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
491 <descriptorRef>jar-with-dependencies</descriptorRef>
498 <groupId>com.github.sylvainlaurent.maven</groupId>
499 <artifactId>yaml-json-validator-maven-plugin</artifactId>
503 <phase>validate</phase>
505 <goal>validate</goal>
511 <include>src/main/resources/**/*.y*ml</include>
512 <include>src/test/resources/**/*.y*ml</include>
516 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
519 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
521 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
527 <include>src/main/resources/**/*.json</include>
528 <include>src/test/resources/**/*.json</include>
531 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
546 <activeByDefault>false</activeByDefault>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-resources-plugin</artifactId>
555 <id>copy-tests-suites</id>
556 <phase>verify</phase>
558 <goal>copy-resources</goal>
562 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
567 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
578 <id>copy-resources-test-apis-ci</id>
579 <phase>verify</phase>
581 <goal>copy-resources</goal>
584 <outputDirectory>sdc-api-tests</outputDirectory>
587 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
589 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
599 <groupId>io.fabric8</groupId>
600 <artifactId>docker-maven-plugin</artifactId>
602 <apiVersion>1.23</apiVersion>
603 <registry>nexus3.onap.org:10001</registry>
606 <username>docker</username>
607 <password>docker</password>
611 <!-- Build sanity image -->
613 <name>onap/sdc-api-tests</name>
614 <alias>sdc-api-tests</alias>
616 <cleanup>try</cleanup>
617 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
619 <tag>${docker.tag}</tag>
621 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
630 <id>clean-images</id>
631 <phase>pre-clean</phase>
636 <removeAll>true</removeAll>
637 <image>onap/sdc-api-tests</image>
642 <id>generate-images</id>
643 <phase>install</phase>
651 <phase>deploy</phase>
656 <image>onap/sdc-api-tests</image>