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.2.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>
33 <groupId>org.hamcrest</groupId>
34 <artifactId>hamcrest-core</artifactId>
35 <version>1.3</version>
39 <groupId>org.hamcrest</groupId>
40 <artifactId>hamcrest-library</artifactId>
41 <version>1.3</version>
45 <groupId>org.hamcrest</groupId>
46 <artifactId>hamcrest-all</artifactId>
47 <version>1.3</version>
51 <groupId>org.testng</groupId>
52 <artifactId>testng</artifactId>
53 <version>${testng.version}</version>
54 <scope>compile</scope>
58 <groupId>com.aventstack</groupId>
59 <artifactId>extentreports</artifactId>
60 <version>3.0.6</version>
61 <scope>compile</scope>
65 <groupId>org.mockito</groupId>
66 <artifactId>mockito-core</artifactId>
71 <groupId>com.typesafe</groupId>
72 <artifactId>config</artifactId>
73 <version>1.0.2</version>
74 <scope>compile</scope>
78 <groupId>log4j</groupId>
79 <artifactId>log4j</artifactId>
80 <version>1.2.17</version>
81 <scope>compile</scope>
85 <groupId>com.jcraft.jsch</groupId>
86 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
87 <version>0.1.41</version>
88 <scope>compile</scope>
92 <groupId>org.openecomp.sdc</groupId>
93 <artifactId>dmaap-publisher</artifactId>
94 <version>1.0.0</version>
95 <scope>provided</scope>
99 <groupId>org.openecomp.sdc</groupId>
100 <artifactId>common-app-api</artifactId>
101 <version>${project.version}</version>
102 <scope>compile</scope>
106 <groupId>org.openecomp.sdc.be</groupId>
107 <artifactId>common-be</artifactId>
108 <version>${project.version}</version>
109 <scope>compile</scope>
112 <!-- CHECK CATLOG MODEL -->
114 <groupId>org.openecomp.sdc.be</groupId>
115 <artifactId>catalog-model</artifactId>
116 <version>${project.version}</version>
117 <scope>compile</scope>
122 <groupId>org.openecomp.sdc.be</groupId>
123 <artifactId>catalog-dao</artifactId>
124 <version>${project.version}</version>
125 <scope>compile</scope>
127 <!-- functional java -->
129 <groupId>org.functionaljava</groupId>
130 <artifactId>functionaljava</artifactId>
131 <version>${functionaljava.version}</version>
132 <scope>compile</scope>
136 <groupId>com.datastax.cassandra</groupId>
137 <artifactId>cassandra-driver-core</artifactId>
138 <version>${cassandra.driver.version}</version>
139 <scope>compile</scope>
141 <!-- CASSANDRA END -->
143 <!-- slf4j + logback -->
145 <groupId>org.slf4j</groupId>
146 <artifactId>slf4j-api</artifactId>
147 <version>${slf4j-api.version}</version>
148 <scope>compile</scope>
152 <groupId>ch.qos.logback</groupId>
153 <artifactId>logback-classic</artifactId>
154 <version>${logback.version}</version>
155 <scope>compile</scope>
159 <groupId>ch.qos.logback</groupId>
160 <artifactId>logback-core</artifactId>
161 <version>${logback.version}</version>
162 <scope>compile</scope>
166 <groupId>com.googlecode.json-simple</groupId>
167 <artifactId>json-simple</artifactId>
168 <version>${json-simple.version}</version>
169 <scope>compile</scope>
172 <!-- File changes listener -->
174 <groupId>org.apache.commons</groupId>
175 <artifactId>commons-jci-core</artifactId>
176 <version>${commons-jci-core.version}</version>
177 <scope>compile</scope>
181 <groupId>commons-codec</groupId>
182 <artifactId>commons-codec</artifactId>
183 <version>${commons-codec}</version>
184 <scope>compile</scope>
189 <groupId>com.google.code.gson</groupId>
190 <artifactId>gson</artifactId>
191 <version>${gson.version}</version>
192 <scope>compile</scope>
197 <groupId>org.yaml</groupId>
198 <artifactId>snakeyaml</artifactId>
199 <version>${snakeyaml.version}</version>
200 <scope>compile</scope>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpclient</artifactId>
207 <version>${httpclient.version}</version>
208 <scope>compile</scope>
212 <groupId>org.apache.httpcomponents</groupId>
213 <artifactId>httpmime</artifactId>
214 <version>${httpclient.version}</version>
215 <scope>compile</scope>
219 <groupId>commons-io</groupId>
220 <artifactId>commons-io</artifactId>
221 <version>2.5</version>
222 <scope>compile</scope>
226 <groupId>commons-logging</groupId>
227 <artifactId>commons-logging</artifactId>
228 <version>${commons-logging}</version>
229 <scope>compile</scope>
234 <groupId>org.apache.httpcomponents</groupId>
235 <artifactId>httpcore</artifactId>
236 <version>${httpcore.version}</version>
237 <scope>compile</scope>
242 <groupId>com.thinkaurelius.titan</groupId>
243 <artifactId>titan-core</artifactId>
244 <version>${titan.version}</version>
245 <scope>compile</scope>
248 <artifactId>slf4j-log4j12</artifactId>
249 <groupId>org.slf4j</groupId>
255 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
256 <artifactId>sdc-titan-cassandra</artifactId>
257 <version>${sdc.titan.version}</version>
258 <scope>compile</scope>
261 <artifactId>slf4j-log4j12</artifactId>
262 <groupId>org.slf4j</groupId>
268 <groupId>org.codehaus.jackson</groupId>
269 <artifactId>jackson-mapper-asl</artifactId>
270 <version>1.9.2</version>
271 <scope>compile</scope>
275 <groupId>com.fasterxml.jackson.core</groupId>
276 <artifactId>jackson-databind</artifactId>
277 <version>${jackson.version}</version>
278 <scope>compile</scope>
282 <groupId>com.fasterxml.jackson.core</groupId>
283 <artifactId>jackson-core</artifactId>
284 <version>${jackson.version}</version>
285 <scope>compile</scope>
289 <groupId>org.openecomp.ecompsdkos</groupId>
290 <artifactId>epsdk-fw</artifactId>
291 <version>${ecomp.version}</version>
292 <scope>compile</scope>
295 <artifactId>slf4j-log4j12</artifactId>
296 <groupId>org.slf4j</groupId>
302 <groupId>org.json</groupId>
303 <artifactId>json</artifactId>
304 <version>20131018</version>
308 <groupId>org.openecomp.sdc.sdc-tosca</groupId>
309 <artifactId>sdc-tosca</artifactId>
310 <version>1.2.1-SNAPSHOT</version>
311 <scope>compile</scope>
315 <groupId>info.cukes</groupId>
316 <artifactId>cucumber-junit</artifactId>
317 <version>1.2.4</version>
322 <groupId>info.cukes</groupId>
323 <artifactId>cucumber-core</artifactId>
324 <version>1.2.4</version>
329 <groupId>info.cukes</groupId>
330 <artifactId>gherkin</artifactId>
331 <version>2.12.2</version>
334 <groupId>info.cukes</groupId>
335 <artifactId>cucumber-java</artifactId>
336 <version>1.2.5</version>
341 <groupId>info.cukes</groupId>
342 <artifactId>cucumber-jvm-deps</artifactId>
343 <version>1.0.5</version>
347 <groupId>org.mock-server</groupId>
348 <artifactId>mockserver-netty</artifactId>
349 <version>3.10.4</version>
354 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
355 <artifactId>sdc-distribution-client</artifactId>
356 <version>1.2.2 </version>
362 <groupId>info.cukes</groupId>
363 <artifactId>cucumber-testng</artifactId>
364 <version>1.2.5</version>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-context</artifactId>
371 <version>${spring.version}</version>
372 <scope>compile</scope>
377 <groupId>com.datastax.cassandra</groupId>
378 <artifactId>cassandra-driver-mapping</artifactId>
379 <version>${cassandra.driver.version}</version>
380 <scope>compile</scope>
383 <!-- CASSANDRA END -->
389 <!-- ============================================= -->
390 <!-- Get the next build number -->
391 <!-- ============================================= -->
393 <!--<groupId>org.codehaus.mojo</groupId> -->
394 <!--<artifactId>properties-maven-plugin</artifactId> -->
395 <!--<version>1.0-alpha-1</version> -->
396 <!--<inherited>false</inherited> -->
400 <!--<id>tests</id> -->
401 <!--<phase>initialize</phase> -->
403 <!--<goal>read-project-properties</goal> -->
406 <!--<configuration> -->
408 <!--<file>../target/FullReleaseVersion.properties</file> -->
410 <!--</configuration> -->
412 <!--</executions> -->
418 <artifactId>maven-clean-plugin</artifactId>
419 <version>3.0.0</version>
422 <id>clean.tosca.chef.os.folder</id>
432 <directory>${project.basedir}/sdc-api-tests</directory>
433 <followSymlinks>false</followSymlinks>
435 <include>*.jar</include>
438 <!-- Sanity test suites -->
440 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
441 <followSymlinks>false</followSymlinks>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-deploy-plugin</artifactId>
452 <version>2.7</version>
458 <!-- ============================================= -->
459 <!-- Create the JAR file with its dependencies -->
460 <!-- ============================================= -->
462 <groupId>org.apache.maven.plugins</groupId>
463 <artifactId>maven-assembly-plugin</artifactId>
466 <id>create.jar.with.dependencies</id>
467 <phase>package</phase>
474 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
478 <descriptorRef>jar-with-dependencies</descriptorRef>
490 <activeByDefault>false</activeByDefault>
495 <artifactId>maven-resources-plugin</artifactId>
496 <version>3.0.2</version>
499 <id>copy-tests-suites</id>
500 <phase>verify</phase>
502 <goal>copy-resources</goal>
505 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
508 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
518 <id>copy-resources-test-apis-ci</id>
519 <phase>verify</phase>
521 <goal>copy-resources</goal>
524 <outputDirectory>sdc-api-tests</outputDirectory>
527 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
529 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
539 <groupId>io.fabric8</groupId>
540 <artifactId>docker-maven-plugin</artifactId>
541 <version>${fabric8.version}</version>
544 <verbose>true</verbose>
545 <apiVersion>1.23</apiVersion>
546 <registry>nexus3.onap.org:10001</registry>
549 <username>docker</username>
550 <password>docker</password>
556 <!-- Build sanity image -->
558 <name>onap/sdc-api-tests</name>
559 <alias>sdc-api-tests</alias>
561 <cleanup>try</cleanup>
562 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
564 <tag>${docker.tag}</tag>
565 <tag>${docker.latest.tag}</tag>
566 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
575 <id>clean-images</id>
576 <phase>pre-clean</phase>
581 <removeAll>true</removeAll>
582 <image>onap/sdc-api-tests</image>
587 <id>generate-images</id>
588 <phase>install</phase>
596 <phase>deploy</phase>
601 <image>onap/sdc-api-tests</image>