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.0-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>
246 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
247 <artifactId>sdc-titan-cassandra</artifactId>
248 <version>${sdc.titan.version}</version>
249 <scope>compile</scope>
252 <artifactId>slf4j-log4j12</artifactId>
253 <groupId>org.slf4j</groupId>
259 <groupId>org.codehaus.jackson</groupId>
260 <artifactId>jackson-mapper-asl</artifactId>
261 <version>1.9.2</version>
262 <scope>compile</scope>
266 <groupId>com.fasterxml.jackson.core</groupId>
267 <artifactId>jackson-databind</artifactId>
268 <version>${jackson.version}</version>
269 <scope>compile</scope>
273 <groupId>com.fasterxml.jackson.core</groupId>
274 <artifactId>jackson-core</artifactId>
275 <version>${jackson.version}</version>
276 <scope>compile</scope>
280 <groupId>org.openecomp.ecompsdkos</groupId>
281 <artifactId>epsdk-fw</artifactId>
282 <version>${ecomp.version}</version>
283 <scope>compile</scope>
286 <artifactId>slf4j-log4j12</artifactId>
287 <groupId>org.slf4j</groupId>
293 <groupId>org.json</groupId>
294 <artifactId>json</artifactId>
295 <version>20131018</version>
299 <groupId>org.onap.sdc.sdc-tosca</groupId>
300 <artifactId>sdc-tosca</artifactId>
301 <version>1.4.1</version>
302 <scope>compile</scope>
306 <groupId>info.cukes</groupId>
307 <artifactId>cucumber-junit</artifactId>
308 <version>1.2.4</version>
313 <groupId>info.cukes</groupId>
314 <artifactId>cucumber-core</artifactId>
315 <version>1.2.4</version>
320 <groupId>info.cukes</groupId>
321 <artifactId>gherkin</artifactId>
322 <version>2.12.2</version>
325 <groupId>info.cukes</groupId>
326 <artifactId>cucumber-java</artifactId>
327 <version>1.2.5</version>
332 <groupId>info.cukes</groupId>
333 <artifactId>cucumber-jvm-deps</artifactId>
334 <version>1.0.5</version>
338 <groupId>org.mock-server</groupId>
339 <artifactId>mockserver-netty</artifactId>
340 <version>3.10.4</version>
344 <artifactId>commons-collections</artifactId>
345 <groupId>commons-collections</groupId>
351 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
352 <artifactId>sdc-distribution-client</artifactId>
353 <version>1.2.2 </version>
359 <groupId>info.cukes</groupId>
360 <artifactId>cucumber-testng</artifactId>
361 <version>1.2.5</version>
366 <groupId>org.springframework</groupId>
367 <artifactId>spring-context</artifactId>
368 <version>${spring.version}</version>
369 <scope>compile</scope>
374 <groupId>com.datastax.cassandra</groupId>
375 <artifactId>cassandra-driver-mapping</artifactId>
376 <version>${cassandra.driver.version}</version>
377 <scope>compile</scope>
379 <!-- CASSANDRA END -->
382 <groupId>org.codehaus.groovy</groupId>
383 <artifactId>groovy</artifactId>
387 <groupId>io.netty</groupId>
388 <artifactId>netty-all</artifactId>
392 <groupId>io.netty</groupId>
393 <artifactId>netty-handler</artifactId>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-clean-plugin</artifactId>
405 <id>clean.testsuit.folder</id>
414 <directory>${project.basedir}/sdc-api-tests</directory>
415 <followSymlinks>false</followSymlinks>
417 <include>*.jar</include>
420 <!-- Sanity test suites -->
422 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
423 <followSymlinks>false</followSymlinks>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-deploy-plugin</artifactId>
439 <!-- ============================================= -->
440 <!-- Create the JAR file with its dependencies -->
441 <!-- ============================================= -->
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-assembly-plugin</artifactId>
447 <id>create.jar.with.dependencies</id>
448 <phase>package</phase>
455 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
459 <descriptorRef>jar-with-dependencies</descriptorRef>
466 <groupId>com.github.sylvainlaurent.maven</groupId>
467 <artifactId>yaml-json-validator-maven-plugin</artifactId>
471 <phase>validate</phase>
473 <goal>validate</goal>
479 <include>src/main/resources/**/*.y*ml</include>
480 <include>src/test/resources/**/*.y*ml</include>
483 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
484 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
485 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
490 <include>src/main/resources/**/*.json</include>
491 <include>src/test/resources/**/*.json</include>
494 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
508 <activeByDefault>false</activeByDefault>
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-resources-plugin</artifactId>
517 <id>copy-tests-suites</id>
518 <phase>verify</phase>
520 <goal>copy-resources</goal>
523 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
526 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
536 <id>copy-resources-test-apis-ci</id>
537 <phase>verify</phase>
539 <goal>copy-resources</goal>
542 <outputDirectory>sdc-api-tests</outputDirectory>
545 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
547 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
557 <groupId>io.fabric8</groupId>
558 <artifactId>docker-maven-plugin</artifactId>
560 <apiVersion>1.23</apiVersion>
561 <registry>nexus3.onap.org:10001</registry>
564 <username>docker</username>
565 <password>docker</password>
571 <!-- Build sanity image -->
573 <name>onap/sdc-api-tests</name>
574 <alias>sdc-api-tests</alias>
576 <cleanup>try</cleanup>
577 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
579 <tag>${docker.tag}</tag>
580 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
589 <id>clean-images</id>
590 <phase>pre-clean</phase>
595 <removeAll>true</removeAll>
596 <image>onap/sdc-api-tests</image>
601 <id>generate-images</id>
602 <phase>install</phase>
610 <phase>deploy</phase>
615 <image>onap/sdc-api-tests</image>