1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>test-apis-ci</artifactId>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
11 <version>1.3.4-SNAPSHOT</version>
15 <sonar.skip>true</sonar.skip>
20 <groupId>com.google.guava</groupId>
21 <artifactId>guava</artifactId>
22 <version>${guava.version}</version>
23 <scope>compile</scope>
27 <groupId>junit</groupId>
28 <artifactId>junit</artifactId>
29 <version>${junit.version}</version>
30 <scope>compile</scope>
34 <groupId>org.assertj</groupId>
35 <artifactId>assertj-core</artifactId>
39 <groupId>org.hamcrest</groupId>
40 <artifactId>hamcrest-all</artifactId>
41 <version>1.3</version>
45 <groupId>org.testng</groupId>
46 <artifactId>testng</artifactId>
47 <version>${testng.version}</version>
48 <scope>compile</scope>
52 <groupId>com.aventstack</groupId>
53 <artifactId>extentreports</artifactId>
54 <version>3.0.6</version>
55 <scope>compile</scope>
59 <groupId>org.mockito</groupId>
60 <artifactId>mockito-core</artifactId>
65 <groupId>com.typesafe</groupId>
66 <artifactId>config</artifactId>
67 <version>1.0.2</version>
68 <scope>compile</scope>
72 <groupId>log4j</groupId>
73 <artifactId>log4j</artifactId>
74 <version>1.2.17</version>
75 <scope>compile</scope>
79 <groupId>com.jcraft.jsch</groupId>
80 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
81 <version>0.1.41</version>
82 <scope>compile</scope>
86 <groupId>org.openecomp.sdc</groupId>
87 <artifactId>common-app-api</artifactId>
88 <version>${project.version}</version>
89 <scope>compile</scope>
93 <groupId>org.openecomp.sdc.be</groupId>
94 <artifactId>common-be</artifactId>
95 <version>${project.version}</version>
96 <scope>compile</scope>
99 <!-- CHECK CATLOG MODEL -->
101 <groupId>org.openecomp.sdc.be</groupId>
102 <artifactId>catalog-model</artifactId>
103 <version>${project.version}</version>
104 <scope>compile</scope>
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-dao</artifactId>
111 <version>${project.version}</version>
112 <scope>compile</scope>
114 <!-- functional java -->
116 <groupId>org.functionaljava</groupId>
117 <artifactId>functionaljava</artifactId>
118 <version>${functionaljava.version}</version>
119 <scope>compile</scope>
123 <groupId>com.datastax.cassandra</groupId>
124 <artifactId>cassandra-driver-core</artifactId>
125 <version>${cassandra.driver.version}</version>
126 <scope>compile</scope>
128 <!-- CASSANDRA END -->
130 <!-- slf4j + logback -->
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-api</artifactId>
134 <version>${slf4j-api.version}</version>
135 <scope>compile</scope>
139 <groupId>ch.qos.logback</groupId>
140 <artifactId>logback-classic</artifactId>
141 <version>${logback.version}</version>
142 <scope>compile</scope>
146 <groupId>ch.qos.logback</groupId>
147 <artifactId>logback-core</artifactId>
148 <version>${logback.version}</version>
149 <scope>compile</scope>
153 <groupId>com.googlecode.json-simple</groupId>
154 <artifactId>json-simple</artifactId>
155 <version>${json-simple.version}</version>
156 <scope>compile</scope>
159 <!-- File changes listener -->
161 <groupId>org.apache.commons</groupId>
162 <artifactId>commons-jci-core</artifactId>
163 <version>${commons-jci-core.version}</version>
164 <scope>compile</scope>
168 <groupId>commons-codec</groupId>
169 <artifactId>commons-codec</artifactId>
170 <version>${commons-codec}</version>
171 <scope>compile</scope>
176 <groupId>com.google.code.gson</groupId>
177 <artifactId>gson</artifactId>
178 <version>${gson.version}</version>
179 <scope>compile</scope>
184 <groupId>org.yaml</groupId>
185 <artifactId>snakeyaml</artifactId>
186 <version>${snakeyaml.version}</version>
187 <scope>compile</scope>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpclient</artifactId>
194 <version>${httpclient.version}</version>
195 <scope>compile</scope>
199 <groupId>org.apache.httpcomponents</groupId>
200 <artifactId>httpmime</artifactId>
201 <version>${httpclient.version}</version>
202 <scope>compile</scope>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
208 <version>2.5</version>
209 <scope>compile</scope>
213 <groupId>commons-logging</groupId>
214 <artifactId>commons-logging</artifactId>
215 <version>${commons-logging}</version>
216 <scope>compile</scope>
221 <groupId>org.apache.httpcomponents</groupId>
222 <artifactId>httpcore</artifactId>
223 <version>${httpcore.version}</version>
224 <scope>compile</scope>
229 <groupId>com.thinkaurelius.titan</groupId>
230 <artifactId>titan-core</artifactId>
231 <version>${titan.version}</version>
232 <scope>compile</scope>
235 <artifactId>slf4j-log4j12</artifactId>
236 <groupId>org.slf4j</groupId>
239 <artifactId>commons-collections</artifactId>
240 <groupId>commons-collections</groupId>
243 <artifactId>groovy</artifactId>
244 <groupId>org.codehaus.groovy</groupId>
250 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
251 <artifactId>sdc-titan-cassandra</artifactId>
252 <version>${sdc.titan.version}</version>
253 <scope>compile</scope>
256 <artifactId>slf4j-log4j12</artifactId>
257 <groupId>org.slf4j</groupId>
263 <groupId>org.codehaus.jackson</groupId>
264 <artifactId>jackson-mapper-asl</artifactId>
265 <version>1.9.2</version>
266 <scope>compile</scope>
270 <groupId>com.fasterxml.jackson.core</groupId>
271 <artifactId>jackson-databind</artifactId>
272 <version>${jackson.version}</version>
273 <scope>compile</scope>
277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-core</artifactId>
279 <version>${jackson.version}</version>
280 <scope>compile</scope>
284 <groupId>org.onap.portal.sdk</groupId>
285 <artifactId>epsdk-fw</artifactId>
286 <version>${ecomp.version}</version>
287 <scope>compile</scope>
290 <artifactId>slf4j-log4j12</artifactId>
291 <groupId>org.slf4j</groupId>
297 <groupId>org.json</groupId>
298 <artifactId>json</artifactId>
299 <version>20131018</version>
303 <groupId>org.onap.sdc.sdc-tosca</groupId>
304 <artifactId>sdc-tosca</artifactId>
305 <version>1.4.1</version>
306 <scope>compile</scope>
310 <groupId>info.cukes</groupId>
311 <artifactId>cucumber-junit</artifactId>
312 <version>1.2.4</version>
317 <groupId>info.cukes</groupId>
318 <artifactId>cucumber-core</artifactId>
319 <version>1.2.4</version>
324 <groupId>info.cukes</groupId>
325 <artifactId>gherkin</artifactId>
326 <version>2.12.2</version>
329 <groupId>info.cukes</groupId>
330 <artifactId>cucumber-java</artifactId>
331 <version>1.2.5</version>
336 <groupId>info.cukes</groupId>
337 <artifactId>cucumber-jvm-deps</artifactId>
338 <version>1.0.5</version>
342 <groupId>org.mock-server</groupId>
343 <artifactId>mockserver-netty</artifactId>
344 <version>3.10.4</version>
348 <artifactId>commons-collections</artifactId>
349 <groupId>commons-collections</groupId>
355 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
356 <artifactId>sdc-distribution-client</artifactId>
357 <version>1.2.2 </version>
363 <groupId>info.cukes</groupId>
364 <artifactId>cucumber-testng</artifactId>
365 <version>1.2.5</version>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-context</artifactId>
372 <version>${spring.version}</version>
373 <scope>compile</scope>
378 <groupId>com.datastax.cassandra</groupId>
379 <artifactId>cassandra-driver-mapping</artifactId>
380 <version>${cassandra.driver.version}</version>
381 <scope>compile</scope>
383 <!-- CASSANDRA END -->
386 <groupId>org.codehaus.groovy</groupId>
387 <artifactId>groovy</artifactId>
391 <groupId>io.netty</groupId>
392 <artifactId>netty-all</artifactId>
396 <groupId>io.netty</groupId>
397 <artifactId>netty-handler</artifactId>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-clean-plugin</artifactId>
409 <id>clean.testsuit.folder</id>
418 <directory>${project.basedir}/sdc-api-tests</directory>
419 <followSymlinks>false</followSymlinks>
421 <include>*.jar</include>
424 <!-- Sanity test suites -->
426 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
427 <followSymlinks>false</followSymlinks>
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-deploy-plugin</artifactId>
443 <!-- ============================================= -->
444 <!-- Create the JAR file with its dependencies -->
445 <!-- ============================================= -->
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-assembly-plugin</artifactId>
451 <id>create.jar.with.dependencies</id>
452 <phase>package</phase>
459 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
463 <descriptorRef>jar-with-dependencies</descriptorRef>
470 <groupId>com.github.sylvainlaurent.maven</groupId>
471 <artifactId>yaml-json-validator-maven-plugin</artifactId>
475 <phase>validate</phase>
477 <goal>validate</goal>
483 <include>src/main/resources/**/*.y*ml</include>
484 <include>src/test/resources/**/*.y*ml</include>
487 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
488 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
489 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
494 <include>src/main/resources/**/*.json</include>
495 <include>src/test/resources/**/*.json</include>
498 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
512 <activeByDefault>false</activeByDefault>
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-resources-plugin</artifactId>
521 <id>copy-tests-suites</id>
522 <phase>verify</phase>
524 <goal>copy-resources</goal>
527 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
530 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
540 <id>copy-resources-test-apis-ci</id>
541 <phase>verify</phase>
543 <goal>copy-resources</goal>
546 <outputDirectory>sdc-api-tests</outputDirectory>
549 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
551 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
561 <groupId>io.fabric8</groupId>
562 <artifactId>docker-maven-plugin</artifactId>
564 <apiVersion>1.23</apiVersion>
565 <registry>nexus3.onap.org:10001</registry>
568 <username>docker</username>
569 <password>docker</password>
575 <!-- Build sanity image -->
577 <name>onap/sdc-api-tests</name>
578 <alias>sdc-api-tests</alias>
580 <cleanup>try</cleanup>
581 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
583 <tag>${docker.tag}</tag>
584 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
593 <id>clean-images</id>
594 <phase>pre-clean</phase>
599 <removeAll>true</removeAll>
600 <image>onap/sdc-api-tests</image>
605 <id>generate-images</id>
606 <phase>install</phase>
614 <phase>deploy</phase>
619 <image>onap/sdc-api-tests</image>