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.5.2-SNAPSHOT</version>
15 <sonar.skip>true</sonar.skip>
16 <mockserver.netty.version>5.5.4</mockserver.netty.version>
21 <groupId>com.google.guava</groupId>
22 <artifactId>guava</artifactId>
23 <version>${guava.version}</version>
24 <scope>compile</scope>
28 <groupId>junit</groupId>
29 <artifactId>junit</artifactId>
30 <version>${junit.version}</version>
31 <scope>compile</scope>
35 <groupId>org.assertj</groupId>
36 <artifactId>assertj-core</artifactId>
40 <groupId>org.hamcrest</groupId>
41 <artifactId>hamcrest-all</artifactId>
42 <version>${hamcrest-all.version}</version>
46 <groupId>org.testng</groupId>
47 <artifactId>testng</artifactId>
48 <version>${testng.version}</version>
49 <scope>compile</scope>
53 <groupId>com.aventstack</groupId>
54 <artifactId>extentreports</artifactId>
55 <version>3.0.6</version>
56 <scope>compile</scope>
60 <groupId>org.mockito</groupId>
61 <artifactId>mockito-core</artifactId>
66 <groupId>com.typesafe</groupId>
67 <artifactId>config</artifactId>
68 <version>1.0.2</version>
69 <scope>compile</scope>
73 <groupId>log4j</groupId>
74 <artifactId>log4j</artifactId>
75 <version>1.2.17</version>
76 <scope>compile</scope>
80 <groupId>com.jcraft.jsch</groupId>
81 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
82 <version>0.1.41</version>
83 <scope>compile</scope>
87 <groupId>org.openecomp.sdc</groupId>
88 <artifactId>common-app-api</artifactId>
89 <version>${project.version}</version>
90 <scope>compile</scope>
94 <groupId>org.openecomp.sdc.be</groupId>
95 <artifactId>common-be</artifactId>
96 <version>${project.version}</version>
97 <scope>compile</scope>
100 <!-- CHECK CATLOG MODEL -->
102 <groupId>org.openecomp.sdc.be</groupId>
103 <artifactId>catalog-model</artifactId>
104 <version>${project.version}</version>
105 <scope>compile</scope>
110 <groupId>org.openecomp.sdc.be</groupId>
111 <artifactId>catalog-dao</artifactId>
112 <version>${project.version}</version>
113 <scope>compile</scope>
115 <!-- functional java -->
117 <groupId>org.functionaljava</groupId>
118 <artifactId>functionaljava</artifactId>
119 <version>${functionaljava.version}</version>
120 <scope>compile</scope>
124 <groupId>com.datastax.cassandra</groupId>
125 <artifactId>cassandra-driver-core</artifactId>
126 <version>${cassandra.driver.version}</version>
127 <scope>compile</scope>
129 <!-- CASSANDRA END -->
131 <!-- slf4j + logback -->
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-api</artifactId>
135 <version>${slf4j-api.version}</version>
136 <scope>compile</scope>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-classic</artifactId>
142 <version>${logback.version}</version>
143 <scope>compile</scope>
147 <groupId>ch.qos.logback</groupId>
148 <artifactId>logback-core</artifactId>
149 <version>${logback.version}</version>
150 <scope>compile</scope>
154 <groupId>com.googlecode.json-simple</groupId>
155 <artifactId>json-simple</artifactId>
156 <version>${json-simple.version}</version>
157 <scope>compile</scope>
160 <!-- File changes listener -->
162 <groupId>org.apache.commons</groupId>
163 <artifactId>commons-jci-core</artifactId>
164 <version>${commons-jci-core.version}</version>
165 <scope>compile</scope>
169 <groupId>commons-codec</groupId>
170 <artifactId>commons-codec</artifactId>
171 <version>${commons-codec}</version>
172 <scope>compile</scope>
177 <groupId>com.google.code.gson</groupId>
178 <artifactId>gson</artifactId>
179 <version>${gson.version}</version>
180 <scope>compile</scope>
185 <groupId>org.yaml</groupId>
186 <artifactId>snakeyaml</artifactId>
187 <version>${snakeyaml.version}</version>
188 <scope>compile</scope>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpclient</artifactId>
195 <version>${httpclient.version}</version>
196 <scope>compile</scope>
200 <groupId>org.apache.httpcomponents</groupId>
201 <artifactId>httpmime</artifactId>
202 <version>${httpclient.version}</version>
203 <scope>compile</scope>
207 <groupId>commons-io</groupId>
208 <artifactId>commons-io</artifactId>
209 <version>2.5</version>
210 <scope>compile</scope>
214 <groupId>commons-logging</groupId>
215 <artifactId>commons-logging</artifactId>
216 <version>${commons-logging}</version>
217 <scope>compile</scope>
222 <groupId>org.apache.httpcomponents</groupId>
223 <artifactId>httpcore</artifactId>
224 <version>${httpcore.version}</version>
225 <scope>compile</scope>
229 <groupId>org.janusgraph</groupId>
230 <artifactId>janusgraph-core</artifactId>
231 <version>${janusgraph.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>
247 <groupId>org.apache.thrift</groupId>
248 <artifactId>libthrift</artifactId>
254 <groupId>org.janusgraph</groupId>
255 <artifactId>janusgraph-cassandra</artifactId>
256 <version>${janusgraph.version}</version>
257 <scope>compile</scope>
260 <artifactId>slf4j-log4j12</artifactId>
261 <groupId>org.slf4j</groupId>
267 <groupId>org.codehaus.jackson</groupId>
268 <artifactId>jackson-mapper-asl</artifactId>
269 <version>1.9.2</version>
270 <scope>compile</scope>
274 <groupId>com.fasterxml.jackson.core</groupId>
275 <artifactId>jackson-databind</artifactId>
276 <version>${jackson.version}</version>
277 <scope>compile</scope>
281 <groupId>com.fasterxml.jackson.core</groupId>
282 <artifactId>jackson-core</artifactId>
283 <version>${jackson.version}</version>
284 <scope>compile</scope>
288 <groupId>org.onap.portal.sdk</groupId>
289 <artifactId>epsdk-fw</artifactId>
290 <version>${ecomp.version}</version>
291 <scope>compile</scope>
294 <artifactId>slf4j-log4j12</artifactId>
295 <groupId>org.slf4j</groupId>
301 <groupId>org.json</groupId>
302 <artifactId>json</artifactId>
303 <version>20131018</version>
307 <groupId>org.onap.sdc.sdc-tosca</groupId>
308 <artifactId>sdc-tosca</artifactId>
309 <version>1.4.6</version>
310 <scope>compile</scope>
314 <groupId>info.cukes</groupId>
315 <artifactId>cucumber-junit</artifactId>
316 <version>1.2.4</version>
321 <groupId>info.cukes</groupId>
322 <artifactId>cucumber-core</artifactId>
323 <version>1.2.4</version>
328 <groupId>info.cukes</groupId>
329 <artifactId>gherkin</artifactId>
330 <version>2.12.2</version>
333 <groupId>info.cukes</groupId>
334 <artifactId>cucumber-java</artifactId>
335 <version>1.2.5</version>
340 <groupId>info.cukes</groupId>
341 <artifactId>cucumber-jvm-deps</artifactId>
342 <version>1.0.5</version>
346 <groupId>org.mock-server</groupId>
347 <artifactId>mockserver-netty</artifactId>
348 <version>${mockserver.netty.version}</version>
352 <artifactId>commons-collections</artifactId>
353 <groupId>commons-collections</groupId>
359 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
360 <artifactId>sdc-distribution-client</artifactId>
361 <version>1.2.2 </version>
367 <groupId>info.cukes</groupId>
368 <artifactId>cucumber-testng</artifactId>
369 <version>1.2.5</version>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-context</artifactId>
376 <version>${spring.version}</version>
377 <scope>compile</scope>
382 <groupId>com.datastax.cassandra</groupId>
383 <artifactId>cassandra-driver-mapping</artifactId>
384 <version>${cassandra.driver.version}</version>
385 <scope>compile</scope>
388 <groupId>org.apache.thrift</groupId>
389 <artifactId>libthrift</artifactId>
390 <version>${libthrift.version}</version>
392 <!-- CASSANDRA END -->
395 <groupId>org.codehaus.groovy</groupId>
396 <artifactId>groovy</artifactId>
400 <groupId>io.netty</groupId>
401 <artifactId>netty-all</artifactId>
405 <groupId>io.netty</groupId>
406 <artifactId>netty-handler</artifactId>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-clean-plugin</artifactId>
418 <id>clean.testsuit.folder</id>
427 <directory>${project.basedir}/sdc-api-tests</directory>
428 <followSymlinks>false</followSymlinks>
430 <include>*.jar</include>
433 <!-- Sanity test suites -->
435 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
436 <followSymlinks>false</followSymlinks>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-deploy-plugin</artifactId>
452 <!-- ============================================= -->
453 <!-- Create the JAR file with its dependencies -->
454 <!-- ============================================= -->
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-assembly-plugin</artifactId>
460 <id>create.jar.with.dependencies</id>
461 <phase>package</phase>
468 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
472 <descriptorRef>jar-with-dependencies</descriptorRef>
479 <groupId>com.github.sylvainlaurent.maven</groupId>
480 <artifactId>yaml-json-validator-maven-plugin</artifactId>
484 <phase>validate</phase>
486 <goal>validate</goal>
492 <include>src/main/resources/**/*.y*ml</include>
493 <include>src/test/resources/**/*.y*ml</include>
496 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
497 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
498 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
503 <include>src/main/resources/**/*.json</include>
504 <include>src/test/resources/**/*.json</include>
507 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
521 <activeByDefault>false</activeByDefault>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-resources-plugin</artifactId>
530 <id>copy-tests-suites</id>
531 <phase>verify</phase>
533 <goal>copy-resources</goal>
536 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
539 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
549 <id>copy-resources-test-apis-ci</id>
550 <phase>verify</phase>
552 <goal>copy-resources</goal>
555 <outputDirectory>sdc-api-tests</outputDirectory>
558 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
560 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
570 <groupId>io.fabric8</groupId>
571 <artifactId>docker-maven-plugin</artifactId>
573 <apiVersion>1.23</apiVersion>
574 <registry>nexus3.onap.org:10001</registry>
577 <username>docker</username>
578 <password>docker</password>
584 <!-- Build sanity image -->
586 <name>onap/sdc-api-tests</name>
587 <alias>sdc-api-tests</alias>
589 <cleanup>try</cleanup>
590 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
592 <tag>${docker.tag}</tag>
593 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
602 <id>clean-images</id>
603 <phase>pre-clean</phase>
608 <removeAll>true</removeAll>
609 <image>onap/sdc-api-tests</image>
614 <id>generate-images</id>
615 <phase>install</phase>
623 <phase>deploy</phase>
628 <image>onap/sdc-api-tests</image>