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>ui-ci</artifactId>
7 <description>Selenium tests for the SDnC Application</description>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.3.7-SNAPSHOT</version>
16 <sonar.skip>true</sonar.skip>
17 <jacoco.skip>true</jacoco.skip>
18 <aspectj.version>1.8.10</aspectj.version>
23 <groupId>com.google.guava</groupId>
24 <artifactId>guava</artifactId>
25 <version>${guava.version}</version>
26 <scope>compile</scope>
30 <groupId>org.seleniumhq.selenium</groupId>
31 <artifactId>selenium-java</artifactId>
33 <version>2.53.1</version>
36 <groupId>org.eclipse.jetty</groupId>
37 <artifactId>jetty-util</artifactId>
43 <groupId>org.eclipse.jetty</groupId>
44 <artifactId>jetty-util</artifactId>
45 <version>${jetty.version}</version>
49 <groupId>org.seleniumhq.selenium</groupId>
50 <artifactId>selenium-server</artifactId>
51 <version>2.53.1</version>
52 <scope>runtime</scope>
56 <groupId>commons-net</groupId>
57 <artifactId>commons-net</artifactId>
58 <version>3.3</version>
59 <scope>compile</scope>
63 <groupId>commons-io</groupId>
64 <artifactId>commons-io</artifactId>
65 <version>2.4</version>
66 <scope>compile</scope>
70 <groupId>org.openecomp.sdc</groupId>
71 <artifactId>test-apis-ci</artifactId>
72 <version>${project.version}</version>
73 <scope>compile</scope>
77 <groupId>org.yaml</groupId>
78 <artifactId>snakeyaml</artifactId>
79 <version>${snakeyaml.version}</version>
80 <scope>compile</scope>
83 <groupId>org.functionaljava</groupId>
84 <artifactId>functionaljava</artifactId>
85 <version>${functionaljava.version}</version>
86 <scope>compile</scope>
90 <groupId>com.google.code.gson</groupId>
91 <artifactId>gson</artifactId>
92 <version>${gson.version}</version>
93 <scope>compile</scope>
98 <groupId>org.apache.httpcomponents</groupId>
99 <artifactId>httpclient</artifactId>
100 <version>${httpclient.version}</version>
101 <scope>compile</scope>
105 <groupId>org.apache.httpcomponents</groupId>
106 <artifactId>httpmime</artifactId>
107 <version>${httpclient.version}</version>
108 <scope>compile</scope>
112 <groupId>commons-logging</groupId>
113 <artifactId>commons-logging</artifactId>
114 <version>${commons-logging}</version>
115 <scope>compile</scope>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-api</artifactId>
121 <version>${slf4j-api.version}</version>
122 <scope>compile</scope>
126 <groupId>ch.qos.logback</groupId>
127 <artifactId>logback-classic</artifactId>
128 <version>${logback.version}</version>
129 <scope>compile</scope>
133 <groupId>ch.qos.logback</groupId>
134 <artifactId>logback-core</artifactId>
135 <version>${logback.version}</version>
136 <scope>compile</scope>
141 <groupId>org.apache.httpcomponents</groupId>
142 <artifactId>httpcore</artifactId>
143 <version>${httpcore.version}</version>
144 <scope>compile</scope>
149 <groupId>com.thinkaurelius.titan</groupId>
150 <artifactId>titan-core</artifactId>
151 <version>${titan.version}</version>
152 <scope>compile</scope>
155 <artifactId>commons-collections</artifactId>
156 <groupId>commons-collections</groupId>
159 <artifactId>groovy</artifactId>
160 <groupId>org.codehaus.groovy</groupId>
166 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
167 <artifactId>sdc-titan-cassandra</artifactId>
168 <version>${sdc.titan.version}</version>
169 <scope>compile</scope>
173 <groupId>org.codehaus.jackson</groupId>
174 <artifactId>jackson-mapper-asl</artifactId>
175 <version>1.9.2</version>
176 <scope>compile</scope>
180 <groupId>com.fasterxml.jackson.core</groupId>
181 <artifactId>jackson-databind</artifactId>
182 <version>${jackson.version}</version>
183 <scope>compile</scope>
187 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
188 <artifactId>sdc-distribution-client</artifactId>
189 <version>1.2.3</version>
190 <scope>compile</scope>
194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
196 <version>${junit.version}</version>
197 <scope>compile</scope>
201 <groupId>org.testng</groupId>
202 <artifactId>testng</artifactId>
203 <version>6.11</version>
204 <scope>compile</scope>
208 <groupId>xml-apis</groupId>
209 <artifactId>xml-apis</artifactId>
210 <version>1.4.01</version>
211 <scope>compile</scope>
215 <groupId>com.googlecode.json-simple</groupId>
216 <artifactId>json-simple</artifactId>
217 <version>${json-simple.version}</version>
218 <scope>compile</scope>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-jci-core</artifactId>
224 <version>${commons-jci-core.version}</version>
225 <scope>compile</scope>
229 <groupId>commons-codec</groupId>
230 <artifactId>commons-codec</artifactId>
231 <version>${commons-codec}</version>
232 <scope>compile</scope>
236 <groupId>com.aventstack</groupId>
237 <artifactId>extentreports</artifactId>
238 <version>3.0.6</version>
239 <scope>compile</scope>
243 <groupId>net.lightbody.bmp</groupId>
244 <!-- To use the legacy, Jetty-based implementation, change the artifactId
245 to browsermob-core -->
246 <artifactId>browsermob-core</artifactId>
247 <version>2.1.4</version>
251 <groupId>com.github.markusbernhardt</groupId>
252 <artifactId>proxy-vole</artifactId>
253 <version>1.0.2</version>
257 <groupId>com.paulhammant</groupId>
258 <artifactId>ngwebdriver</artifactId>
259 <version>0.9.7</version>
260 <scope>compile</scope>
264 <groupId>com.google.inject</groupId>
265 <artifactId>guice</artifactId>
266 <version>4.1.0</version>
270 <groupId>org.codehaus.groovy</groupId>
271 <artifactId>groovy</artifactId>
275 <groupId>io.netty</groupId>
276 <artifactId>netty-handler</artifactId>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-clean-plugin</artifactId>
290 <id>clean.tosca.chef.os.folder</id>
300 <directory>${project.basedir}/sdc-ui-tests</directory>
301 <followSymlinks>false</followSymlinks>
303 <include>*.jar</include>
306 <!-- Sanity test suites -->
308 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
309 <followSymlinks>false</followSymlinks>
313 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</directory>
314 <followSymlinks>false</followSymlinks>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-deploy-plugin</artifactId>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-assembly-plugin</artifactId>
333 <id>create.jar.with.dependencies</id>
334 <phase>package</phase>
341 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
345 <descriptorRef>jar-with-dependencies</descriptorRef>
352 <groupId>com.github.sylvainlaurent.maven</groupId>
353 <artifactId>yaml-json-validator-maven-plugin</artifactId>
357 <phase>validate</phase>
359 <goal>validate</goal>
365 <include>src/main/resources/**/*.y*ml</include>
366 <include>src/test/resources/**/*.y*ml</include>
371 <include>src/main/resources/**/*.json</include>
372 <include>src/test/resources/**/*.json</include>
386 <activeByDefault>false</activeByDefault>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-resources-plugin</artifactId>
395 <id>copy-tests-suites</id>
396 <phase>verify</phase>
398 <goal>copy-resources</goal>
401 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
404 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
414 <id>copy-csar-files</id>
415 <phase>verify</phase>
417 <goal>copy-resources</goal>
420 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
423 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
433 <id>copy-resources-ui-ci</id>
434 <phase>verify</phase>
436 <goal>copy-resources</goal>
439 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
442 <directory>${project.parent.basedir}/ui-ci/target</directory>
444 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
454 <groupId>io.fabric8</groupId>
455 <artifactId>docker-maven-plugin</artifactId>
457 <apiVersion>1.23</apiVersion>
458 <registry>nexus3.onap.org:10001</registry>
461 <username>docker</username>
462 <password>docker</password>
467 <!-- Build sanity image -->
469 <name>onap/sdc-ui-tests</name>
470 <alias>sdc-ui-sanity</alias>
472 <cleanup>try</cleanup>
473 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
475 <tag>${docker.tag}</tag>
476 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
485 <id>clean-images</id>
486 <phase>pre-clean</phase>
491 <removeAll>true</removeAll>
492 <image>onap/sdc-ui-tests</image>
497 <id>generate-images</id>
498 <phase>install</phase>
506 <phase>deploy</phase>
511 <image>onap/sdc-ui-tests</image>