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>
38 <groupId>org.hamcrest</groupId>
39 <artifactId>hamcrest-core</artifactId>
40 <version>1.3</version>
44 <groupId>org.hamcrest</groupId>
45 <artifactId>hamcrest-library</artifactId>
46 <version>1.3</version>
50 <groupId>org.hamcrest</groupId>
51 <artifactId>hamcrest-all</artifactId>
52 <version>1.3</version>
56 <groupId>org.testng</groupId>
57 <artifactId>testng</artifactId>
58 <version>${testng.version}</version>
59 <scope>compile</scope>
63 <groupId>com.aventstack</groupId>
64 <artifactId>extentreports</artifactId>
65 <version>3.0.6</version>
66 <scope>compile</scope>
70 <groupId>org.mockito</groupId>
71 <artifactId>mockito-core</artifactId>
76 <groupId>com.typesafe</groupId>
77 <artifactId>config</artifactId>
78 <version>1.0.2</version>
79 <scope>compile</scope>
83 <groupId>log4j</groupId>
84 <artifactId>log4j</artifactId>
85 <version>1.2.17</version>
86 <scope>compile</scope>
90 <groupId>com.jcraft.jsch</groupId>
91 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
92 <version>0.1.41</version>
93 <scope>compile</scope>
97 <groupId>org.openecomp.sdc</groupId>
98 <artifactId>dmaap-publisher</artifactId>
99 <version>1.0.0</version>
100 <scope>provided</scope>
104 <groupId>org.openecomp.sdc</groupId>
105 <artifactId>common-app-api</artifactId>
106 <version>${project.version}</version>
107 <scope>compile</scope>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>common-be</artifactId>
113 <version>${project.version}</version>
114 <scope>compile</scope>
117 <!-- CHECK CATLOG MODEL -->
119 <groupId>org.openecomp.sdc.be</groupId>
120 <artifactId>catalog-model</artifactId>
121 <version>${project.version}</version>
122 <scope>compile</scope>
127 <groupId>org.openecomp.sdc.be</groupId>
128 <artifactId>catalog-dao</artifactId>
129 <version>${project.version}</version>
130 <scope>compile</scope>
132 <!-- functional java -->
134 <groupId>org.functionaljava</groupId>
135 <artifactId>functionaljava</artifactId>
136 <version>${functionaljava.version}</version>
137 <scope>compile</scope>
141 <groupId>com.datastax.cassandra</groupId>
142 <artifactId>cassandra-driver-core</artifactId>
143 <version>${cassandra.driver.version}</version>
144 <scope>compile</scope>
146 <!-- CASSANDRA END -->
148 <!-- slf4j + logback -->
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-api</artifactId>
152 <version>${slf4j-api.version}</version>
153 <scope>compile</scope>
157 <groupId>ch.qos.logback</groupId>
158 <artifactId>logback-classic</artifactId>
159 <version>${logback.version}</version>
160 <scope>compile</scope>
164 <groupId>ch.qos.logback</groupId>
165 <artifactId>logback-core</artifactId>
166 <version>${logback.version}</version>
167 <scope>compile</scope>
171 <groupId>com.googlecode.json-simple</groupId>
172 <artifactId>json-simple</artifactId>
173 <version>${json-simple.version}</version>
174 <scope>compile</scope>
177 <!-- File changes listener -->
179 <groupId>org.apache.commons</groupId>
180 <artifactId>commons-jci-core</artifactId>
181 <version>${commons-jci-core.version}</version>
182 <scope>compile</scope>
186 <groupId>commons-codec</groupId>
187 <artifactId>commons-codec</artifactId>
188 <version>${commons-codec}</version>
189 <scope>compile</scope>
194 <groupId>com.google.code.gson</groupId>
195 <artifactId>gson</artifactId>
196 <version>${gson.version}</version>
197 <scope>compile</scope>
202 <groupId>org.yaml</groupId>
203 <artifactId>snakeyaml</artifactId>
204 <version>${snakeyaml.version}</version>
205 <scope>compile</scope>
210 <groupId>org.apache.httpcomponents</groupId>
211 <artifactId>httpclient</artifactId>
212 <version>${httpclient.version}</version>
213 <scope>compile</scope>
217 <groupId>org.apache.httpcomponents</groupId>
218 <artifactId>httpmime</artifactId>
219 <version>${httpclient.version}</version>
220 <scope>compile</scope>
224 <groupId>commons-io</groupId>
225 <artifactId>commons-io</artifactId>
226 <version>2.5</version>
227 <scope>compile</scope>
231 <groupId>commons-logging</groupId>
232 <artifactId>commons-logging</artifactId>
233 <version>${commons-logging}</version>
234 <scope>compile</scope>
239 <groupId>org.apache.httpcomponents</groupId>
240 <artifactId>httpcore</artifactId>
241 <version>${httpcore.version}</version>
242 <scope>compile</scope>
247 <groupId>com.thinkaurelius.titan</groupId>
248 <artifactId>titan-core</artifactId>
249 <version>${titan.version}</version>
250 <scope>compile</scope>
253 <artifactId>slf4j-log4j12</artifactId>
254 <groupId>org.slf4j</groupId>
260 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
261 <artifactId>sdc-titan-cassandra</artifactId>
262 <version>${sdc.titan.version}</version>
263 <scope>compile</scope>
266 <artifactId>slf4j-log4j12</artifactId>
267 <groupId>org.slf4j</groupId>
273 <groupId>org.codehaus.jackson</groupId>
274 <artifactId>jackson-mapper-asl</artifactId>
275 <version>1.9.2</version>
276 <scope>compile</scope>
280 <groupId>com.fasterxml.jackson.core</groupId>
281 <artifactId>jackson-databind</artifactId>
282 <version>${jackson.version}</version>
283 <scope>compile</scope>
287 <groupId>com.fasterxml.jackson.core</groupId>
288 <artifactId>jackson-core</artifactId>
289 <version>${jackson.version}</version>
290 <scope>compile</scope>
294 <groupId>org.openecomp.ecompsdkos</groupId>
295 <artifactId>epsdk-fw</artifactId>
296 <version>${ecomp.version}</version>
297 <scope>compile</scope>
300 <artifactId>slf4j-log4j12</artifactId>
301 <groupId>org.slf4j</groupId>
307 <groupId>org.json</groupId>
308 <artifactId>json</artifactId>
309 <version>20131018</version>
313 <groupId>org.onap.sdc.sdc-tosca</groupId>
314 <artifactId>sdc-tosca</artifactId>
315 <version>1.4.1-SNAPSHOT</version>
316 <scope>compile</scope>
320 <groupId>info.cukes</groupId>
321 <artifactId>cucumber-junit</artifactId>
322 <version>1.2.4</version>
327 <groupId>info.cukes</groupId>
328 <artifactId>cucumber-core</artifactId>
329 <version>1.2.4</version>
334 <groupId>info.cukes</groupId>
335 <artifactId>gherkin</artifactId>
336 <version>2.12.2</version>
339 <groupId>info.cukes</groupId>
340 <artifactId>cucumber-java</artifactId>
341 <version>1.2.5</version>
346 <groupId>info.cukes</groupId>
347 <artifactId>cucumber-jvm-deps</artifactId>
348 <version>1.0.5</version>
352 <groupId>org.mock-server</groupId>
353 <artifactId>mockserver-netty</artifactId>
354 <version>3.10.4</version>
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 <!-- CASSANDRA END -->
394 <!-- ============================================= -->
395 <!-- Get the next build number -->
396 <!-- ============================================= -->
398 <!--<groupId>org.codehaus.mojo</groupId> -->
399 <!--<artifactId>properties-maven-plugin</artifactId> -->
400 <!--<version>1.0-alpha-1</version> -->
401 <!--<inherited>false</inherited> -->
405 <!--<id>tests</id> -->
406 <!--<phase>initialize</phase> -->
408 <!--<goal>read-project-properties</goal> -->
411 <!--<configuration> -->
413 <!--<file>../target/FullReleaseVersion.properties</file> -->
415 <!--</configuration> -->
417 <!--</executions> -->
423 <artifactId>maven-clean-plugin</artifactId>
424 <version>3.0.0</version>
427 <id>clean.tosca.chef.os.folder</id>
437 <directory>${project.basedir}/sdc-api-tests</directory>
438 <followSymlinks>false</followSymlinks>
440 <include>*.jar</include>
443 <!-- Sanity test suites -->
445 <directory>${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</directory>
446 <followSymlinks>false</followSymlinks>
455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-deploy-plugin</artifactId>
457 <version>2.7</version>
463 <!-- ============================================= -->
464 <!-- Create the JAR file with its dependencies -->
465 <!-- ============================================= -->
467 <groupId>org.apache.maven.plugins</groupId>
468 <artifactId>maven-assembly-plugin</artifactId>
471 <id>create.jar.with.dependencies</id>
472 <phase>package</phase>
479 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
483 <descriptorRef>jar-with-dependencies</descriptorRef>
495 <activeByDefault>false</activeByDefault>
500 <artifactId>maven-resources-plugin</artifactId>
501 <version>3.0.2</version>
504 <id>copy-tests-suites</id>
505 <phase>verify</phase>
507 <goal>copy-resources</goal>
510 <outputDirectory>sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites</outputDirectory>
513 <directory>${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites</directory>
523 <id>copy-resources-test-apis-ci</id>
524 <phase>verify</phase>
526 <goal>copy-resources</goal>
529 <outputDirectory>sdc-api-tests</outputDirectory>
532 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
534 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
544 <groupId>io.fabric8</groupId>
545 <artifactId>docker-maven-plugin</artifactId>
546 <version>${fabric8.version}</version>
549 <verbose>true</verbose>
550 <apiVersion>1.23</apiVersion>
551 <registry>nexus3.onap.org:10001</registry>
554 <username>docker</username>
555 <password>docker</password>
561 <!-- Build sanity image -->
563 <name>onap/sdc-api-tests</name>
564 <alias>sdc-api-tests</alias>
566 <cleanup>try</cleanup>
567 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
569 <tag>${docker.tag}</tag>
570 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
579 <id>clean-images</id>
580 <phase>pre-clean</phase>
585 <removeAll>true</removeAll>
586 <image>onap/sdc-api-tests</image>
591 <id>generate-images</id>
592 <phase>install</phase>
600 <phase>deploy</phase>
605 <image>onap/sdc-api-tests</image>