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.5.0-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>
148 <groupId>org.codehaus.jackson</groupId>
149 <artifactId>jackson-mapper-asl</artifactId>
150 <version>1.9.2</version>
151 <scope>compile</scope>
155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-databind</artifactId>
157 <version>${jackson.version}</version>
158 <scope>compile</scope>
162 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
163 <artifactId>sdc-distribution-client</artifactId>
164 <version>1.2.3</version>
165 <scope>compile</scope>
169 <groupId>junit</groupId>
170 <artifactId>junit</artifactId>
171 <version>${junit.version}</version>
172 <scope>compile</scope>
176 <groupId>org.testng</groupId>
177 <artifactId>testng</artifactId>
178 <version>6.11</version>
179 <scope>compile</scope>
183 <groupId>xml-apis</groupId>
184 <artifactId>xml-apis</artifactId>
185 <version>1.4.01</version>
186 <scope>compile</scope>
190 <groupId>com.googlecode.json-simple</groupId>
191 <artifactId>json-simple</artifactId>
192 <version>${json-simple.version}</version>
193 <scope>compile</scope>
197 <groupId>org.apache.commons</groupId>
198 <artifactId>commons-jci-core</artifactId>
199 <version>${commons-jci-core.version}</version>
200 <scope>compile</scope>
204 <groupId>commons-codec</groupId>
205 <artifactId>commons-codec</artifactId>
206 <version>${commons-codec}</version>
207 <scope>compile</scope>
211 <groupId>com.aventstack</groupId>
212 <artifactId>extentreports</artifactId>
213 <version>3.0.6</version>
214 <scope>compile</scope>
218 <groupId>net.lightbody.bmp</groupId>
219 <!-- To use the legacy, Jetty-based implementation, change the artifactId
220 to browsermob-core -->
221 <artifactId>browsermob-core</artifactId>
222 <version>2.1.4</version>
226 <groupId>com.github.markusbernhardt</groupId>
227 <artifactId>proxy-vole</artifactId>
228 <version>1.0.2</version>
232 <groupId>com.paulhammant</groupId>
233 <artifactId>ngwebdriver</artifactId>
234 <version>0.9.7</version>
235 <scope>compile</scope>
239 <groupId>com.google.inject</groupId>
240 <artifactId>guice</artifactId>
241 <version>4.1.0</version>
245 <groupId>org.codehaus.groovy</groupId>
246 <artifactId>groovy</artifactId>
250 <groupId>io.netty</groupId>
251 <artifactId>netty-handler</artifactId>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-clean-plugin</artifactId>
265 <id>clean.tosca.chef.os.folder</id>
275 <directory>${project.basedir}/sdc-ui-tests</directory>
276 <followSymlinks>false</followSymlinks>
278 <include>*.jar</include>
281 <!-- Sanity test suites -->
283 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
284 <followSymlinks>false</followSymlinks>
288 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</directory>
289 <followSymlinks>false</followSymlinks>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-deploy-plugin</artifactId>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-assembly-plugin</artifactId>
308 <id>create.jar.with.dependencies</id>
309 <phase>package</phase>
316 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
320 <descriptorRef>jar-with-dependencies</descriptorRef>
327 <groupId>com.github.sylvainlaurent.maven</groupId>
328 <artifactId>yaml-json-validator-maven-plugin</artifactId>
332 <phase>validate</phase>
334 <goal>validate</goal>
340 <include>src/main/resources/**/*.y*ml</include>
341 <include>src/test/resources/**/*.y*ml</include>
346 <include>src/main/resources/**/*.json</include>
347 <include>src/test/resources/**/*.json</include>
361 <activeByDefault>false</activeByDefault>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-resources-plugin</artifactId>
370 <id>copy-tests-suites</id>
371 <phase>verify</phase>
373 <goal>copy-resources</goal>
376 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
379 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
389 <id>copy-csar-files</id>
390 <phase>verify</phase>
392 <goal>copy-resources</goal>
395 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
398 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
408 <id>copy-resources-ui-ci</id>
409 <phase>verify</phase>
411 <goal>copy-resources</goal>
414 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
417 <directory>${project.parent.basedir}/ui-ci/target</directory>
419 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
429 <groupId>io.fabric8</groupId>
430 <artifactId>docker-maven-plugin</artifactId>
432 <apiVersion>1.23</apiVersion>
433 <registry>nexus3.onap.org:10001</registry>
436 <username>docker</username>
437 <password>docker</password>
442 <!-- Build sanity image -->
444 <name>onap/sdc-ui-tests</name>
445 <alias>sdc-ui-sanity</alias>
447 <cleanup>try</cleanup>
448 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
450 <tag>${docker.tag}</tag>
451 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
460 <id>clean-images</id>
461 <phase>pre-clean</phase>
466 <removeAll>true</removeAll>
467 <image>onap/sdc-ui-tests</image>
472 <id>generate-images</id>
473 <phase>install</phase>
481 <phase>deploy</phase>
486 <image>onap/sdc-ui-tests</image>