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>
242 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
243 <artifactId>sdc-titan-cassandra</artifactId>
244 <version>${sdc.titan.version}</version>
245 <scope>compile</scope>
248 <artifactId>slf4j-log4j12</artifactId>
249 <groupId>org.slf4j</groupId>
255 <groupId>org.codehaus.jackson</groupId>
256 <artifactId>jackson-mapper-asl</artifactId>
257 <version>1.9.2</version>
258 <scope>compile</scope>
262 <groupId>com.fasterxml.jackson.core</groupId>
263 <artifactId>jackson-databind</artifactId>
264 <version>${jackson.version}</version>
265 <scope>compile</scope>
269 <groupId>com.fasterxml.jackson.core</groupId>
270 <artifactId>jackson-core</artifactId>
271 <version>${jackson.version}</version>
272 <scope>compile</scope>
276 <groupId>org.openecomp.ecompsdkos</groupId>
277 <artifactId>epsdk-fw</artifactId>
278 <version>${ecomp.version}</version>
279 <scope>compile</scope>
282 <artifactId>slf4j-log4j12</artifactId>
283 <groupId>org.slf4j</groupId>
289 <groupId>org.json</groupId>
290 <artifactId>json</artifactId>
291 <version>20131018</version>
295 <groupId>org.onap.sdc.sdc-tosca</groupId>
296 <artifactId>sdc-tosca</artifactId>
297 <version>1.4.1</version>
298 <scope>compile</scope>
302 <groupId>info.cukes</groupId>
303 <artifactId>cucumber-junit</artifactId>
304 <version>1.2.4</version>
309 <groupId>info.cukes</groupId>
310 <artifactId>cucumber-core</artifactId>
311 <version>1.2.4</version>
316 <groupId>info.cukes</groupId>
317 <artifactId>gherkin</artifactId>
318 <version>2.12.2</version>
321 <groupId>info.cukes</groupId>
322 <artifactId>cucumber-java</artifactId>
323 <version>1.2.5</version>
328 <groupId>info.cukes</groupId>
329 <artifactId>cucumber-jvm-deps</artifactId>
330 <version>1.0.5</version>
334 <groupId>org.mock-server</groupId>
335 <artifactId>mockserver-netty</artifactId>
336 <version>3.10.4</version>
341 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
342 <artifactId>sdc-distribution-client</artifactId>
343 <version>1.2.2 </version>
349 <groupId>info.cukes</groupId>
350 <artifactId>cucumber-testng</artifactId>
351 <version>1.2.5</version>
356 <groupId>org.springframework</groupId>
357 <artifactId>spring-context</artifactId>
358 <version>${spring.version}</version>
359 <scope>compile</scope>
364 <groupId>com.datastax.cassandra</groupId>
365 <artifactId>cassandra-driver-mapping</artifactId>
366 <version>${cassandra.driver.version}</version>
367 <scope>compile</scope>
370 <!-- CASSANDRA END -->
376 <groupId>org.apache.maven.plugins</groupId>
377 <artifactId>maven-clean-plugin</artifactId>
380 <id>clean.testsuit.folder</id>
389 <directory>${project.basedir}/sdc-api-tests</directory>
390 <followSymlinks>false</followSymlinks>
392 <include>*.jar</include>
395 <!-- Sanity test suites -->
397 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
398 <followSymlinks>false</followSymlinks>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-deploy-plugin</artifactId>
414 <!-- ============================================= -->
415 <!-- Create the JAR file with its dependencies -->
416 <!-- ============================================= -->
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-assembly-plugin</artifactId>
422 <id>create.jar.with.dependencies</id>
423 <phase>package</phase>
430 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
434 <descriptorRef>jar-with-dependencies</descriptorRef>
441 <groupId>com.github.sylvainlaurent.maven</groupId>
442 <artifactId>yaml-json-validator-maven-plugin</artifactId>
446 <phase>validate</phase>
448 <goal>validate</goal>
454 <include>src/main/resources/**/*.y*ml</include>
455 <include>src/test/resources/**/*.y*ml</include>
458 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml</exclude>
459 <exclude>src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml</exclude>
460 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml</exclude>
465 <include>src/main/resources/**/*.json</include>
466 <include>src/test/resources/**/*.json</include>
469 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json</exclude>
483 <activeByDefault>false</activeByDefault>
488 <groupId>org.apache.maven.plugins</groupId>
489 <artifactId>maven-resources-plugin</artifactId>
492 <id>copy-tests-suites</id>
493 <phase>verify</phase>
495 <goal>copy-resources</goal>
498 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
501 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
511 <id>copy-resources-test-apis-ci</id>
512 <phase>verify</phase>
514 <goal>copy-resources</goal>
517 <outputDirectory>sdc-api-tests</outputDirectory>
520 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
522 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
532 <groupId>io.fabric8</groupId>
533 <artifactId>docker-maven-plugin</artifactId>
535 <apiVersion>1.23</apiVersion>
536 <registry>nexus3.onap.org:10001</registry>
539 <username>docker</username>
540 <password>docker</password>
546 <!-- Build sanity image -->
548 <name>onap/sdc-api-tests</name>
549 <alias>sdc-api-tests</alias>
551 <cleanup>try</cleanup>
552 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
554 <tag>${docker.tag}</tag>
555 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
564 <id>clean-images</id>
565 <phase>pre-clean</phase>
570 <removeAll>true</removeAll>
571 <image>onap/sdc-api-tests</image>
576 <id>generate-images</id>
577 <phase>install</phase>
585 <phase>deploy</phase>
590 <image>onap/sdc-api-tests</image>