1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
7 <artifactId>ui-ci</artifactId>
8 <description>Selenium tests for the SDnC Application</description>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>sdc-main</artifactId>
13 <version>1.7.0-SNAPSHOT</version>
17 <sonar.skip>true</sonar.skip>
18 <jacoco.skip>true</jacoco.skip>
19 <aspectj.version>1.8.10</aspectj.version>
23 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
25 <groupId>org.junit.jupiter</groupId>
26 <artifactId>junit-jupiter-engine</artifactId>
27 <version>${junitJupiter.version}</version>
30 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
32 <groupId>org.junit.vintage</groupId>
33 <artifactId>junit-vintage-engine</artifactId>
34 <version>${junitJupiter.version}</version>
38 <groupId>com.google.guava</groupId>
39 <artifactId>guava</artifactId>
40 <version>${guava.version}</version>
41 <scope>compile</scope>
45 <groupId>org.seleniumhq.selenium</groupId>
46 <artifactId>selenium-java</artifactId>
48 <version>2.53.1</version>
51 <groupId>org.eclipse.jetty</groupId>
52 <artifactId>jetty-util</artifactId>
55 <groupId>io.netty</groupId>
56 <artifactId>netty</artifactId>
62 <groupId>org.eclipse.jetty</groupId>
63 <artifactId>jetty-util</artifactId>
64 <version>${jetty.version}</version>
68 <groupId>org.seleniumhq.selenium</groupId>
69 <artifactId>selenium-server</artifactId>
70 <version>2.53.1</version>
71 <scope>runtime</scope>
75 <groupId>commons-net</groupId>
76 <artifactId>commons-net</artifactId>
77 <version>3.3</version>
78 <scope>compile</scope>
82 <groupId>commons-io</groupId>
83 <artifactId>commons-io</artifactId>
84 <version>2.4</version>
85 <scope>compile</scope>
89 <groupId>org.openecomp.sdc</groupId>
90 <artifactId>test-apis-ci</artifactId>
91 <version>${project.version}</version>
92 <scope>compile</scope>
96 <groupId>org.yaml</groupId>
97 <artifactId>snakeyaml</artifactId>
98 <version>${snakeyaml.version}</version>
99 <scope>compile</scope>
102 <groupId>org.functionaljava</groupId>
103 <artifactId>functionaljava</artifactId>
104 <version>${functionaljava.version}</version>
105 <scope>compile</scope>
109 <groupId>com.google.code.gson</groupId>
110 <artifactId>gson</artifactId>
111 <version>${gson.version}</version>
112 <scope>compile</scope>
117 <groupId>org.apache.httpcomponents</groupId>
118 <artifactId>httpclient</artifactId>
119 <version>${httpclient.version}</version>
120 <scope>compile</scope>
124 <groupId>org.apache.httpcomponents</groupId>
125 <artifactId>httpmime</artifactId>
126 <version>${httpclient.version}</version>
127 <scope>compile</scope>
131 <groupId>commons-logging</groupId>
132 <artifactId>commons-logging</artifactId>
133 <version>${commons-logging}</version>
134 <scope>compile</scope>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-api</artifactId>
140 <version>${slf4j-api.version}</version>
141 <scope>compile</scope>
145 <groupId>ch.qos.logback</groupId>
146 <artifactId>logback-classic</artifactId>
147 <version>${logback.version}</version>
148 <scope>compile</scope>
152 <groupId>ch.qos.logback</groupId>
153 <artifactId>logback-core</artifactId>
154 <version>${logback.version}</version>
155 <scope>compile</scope>
160 <groupId>org.apache.httpcomponents</groupId>
161 <artifactId>httpcore</artifactId>
162 <version>${httpcore.version}</version>
163 <scope>compile</scope>
167 <groupId>org.codehaus.jackson</groupId>
168 <artifactId>jackson-mapper-asl</artifactId>
169 <version>1.9.2</version>
170 <scope>compile</scope>
174 <groupId>com.fasterxml.jackson.core</groupId>
175 <artifactId>jackson-databind</artifactId>
176 <version>${jackson.version}</version>
177 <scope>compile</scope>
181 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
182 <artifactId>sdc-distribution-client</artifactId>
183 <version>1.2.3</version>
184 <scope>compile</scope>
188 <groupId>org.hamcrest</groupId>
189 <artifactId>hamcrest</artifactId>
190 <version>${hamcrest.version}</version>
191 <scope>compile</scope>
195 <groupId>org.hamcrest</groupId>
196 <artifactId>hamcrest-library</artifactId>
197 <version>${hamcrest.version}</version>
198 <scope>compile</scope>
202 <groupId>org.junit.jupiter</groupId>
203 <artifactId>junit-jupiter</artifactId>
204 <version>${junitJupiter.version}</version>
209 <groupId>org.mockito</groupId>
210 <artifactId>mockito-junit-jupiter</artifactId>
211 <version>${mockitoJupiter.version}</version>
216 <groupId>org.testng</groupId>
217 <artifactId>testng</artifactId>
218 <version>6.11</version>
219 <scope>compile</scope>
223 <groupId>xml-apis</groupId>
224 <artifactId>xml-apis</artifactId>
225 <version>1.4.01</version>
226 <scope>compile</scope>
230 <groupId>com.googlecode.json-simple</groupId>
231 <artifactId>json-simple</artifactId>
232 <version>${json-simple.version}</version>
233 <scope>compile</scope>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-jci-core</artifactId>
239 <version>${commons-jci-core.version}</version>
240 <scope>compile</scope>
244 <groupId>commons-codec</groupId>
245 <artifactId>commons-codec</artifactId>
246 <version>${commons-codec}</version>
247 <scope>compile</scope>
251 <groupId>com.aventstack</groupId>
252 <artifactId>extentreports</artifactId>
253 <version>3.0.6</version>
254 <scope>compile</scope>
258 <groupId>net.lightbody.bmp</groupId>
259 <!-- To use the legacy, Jetty-based implementation, change the artifactId
260 to browsermob-core -->
261 <artifactId>browsermob-core</artifactId>
262 <version>2.1.4</version>
266 <groupId>com.github.markusbernhardt</groupId>
267 <artifactId>proxy-vole</artifactId>
268 <version>1.0.2</version>
272 <groupId>com.paulhammant</groupId>
273 <artifactId>ngwebdriver</artifactId>
274 <version>0.9.7</version>
275 <scope>compile</scope>
279 <groupId>com.google.inject</groupId>
280 <artifactId>guice</artifactId>
281 <version>4.1.0</version>
285 <groupId>org.codehaus.groovy</groupId>
286 <artifactId>groovy</artifactId>
290 <groupId>io.netty</groupId>
291 <artifactId>netty-handler</artifactId>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-clean-plugin</artifactId>
305 <id>clean.tosca.chef.os.folder</id>
315 <directory>${project.basedir}/sdc-ui-tests</directory>
316 <followSymlinks>false</followSymlinks>
318 <include>*.jar</include>
321 <!-- Sanity test suites -->
324 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
326 <followSymlinks>false</followSymlinks>
328 <!-- Package files -->
331 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
333 <followSymlinks>false</followSymlinks>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-deploy-plugin</artifactId>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-assembly-plugin</artifactId>
352 <id>create.jar.with.dependencies</id>
353 <phase>package</phase>
360 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
364 <descriptorRef>jar-with-dependencies</descriptorRef>
371 <groupId>com.github.sylvainlaurent.maven</groupId>
372 <artifactId>yaml-json-validator-maven-plugin</artifactId>
376 <phase>validate</phase>
378 <goal>validate</goal>
384 <include>src/main/resources/**/*.y*ml</include>
385 <include>src/test/resources/**/*.y*ml</include>
390 <include>src/main/resources/**/*.json</include>
391 <include>src/test/resources/**/*.json</include>
405 <activeByDefault>false</activeByDefault>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-resources-plugin</artifactId>
414 <id>copy-tests-suites</id>
415 <phase>verify</phase>
417 <goal>copy-resources</goal>
421 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
425 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites
436 <id>copy-csar-files</id>
437 <phase>verify</phase>
439 <goal>copy-resources</goal>
443 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
448 ${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files
450 <filtering>false</filtering>
452 <include>VNFs/*</include>
453 <include>PNFs/*</include>
461 <id>copy-resources-ui-ci</id>
462 <phase>verify</phase>
464 <goal>copy-resources</goal>
467 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
470 <directory>${project.parent.basedir}/ui-ci/target</directory>
472 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
482 <groupId>io.fabric8</groupId>
483 <artifactId>docker-maven-plugin</artifactId>
485 <apiVersion>1.23</apiVersion>
486 <registry>nexus3.onap.org:10001</registry>
489 <username>docker</username>
490 <password>docker</password>
495 <!-- Build sanity image -->
497 <name>onap/sdc-ui-tests</name>
498 <alias>sdc-ui-sanity</alias>
500 <cleanup>try</cleanup>
501 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
503 <tag>${docker.tag}</tag>
505 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
515 <id>clean-images</id>
516 <phase>pre-clean</phase>
521 <removeAll>true</removeAll>
522 <image>onap/sdc-ui-tests</image>
527 <id>generate-images</id>
528 <phase>install</phase>
536 <phase>deploy</phase>
541 <image>onap/sdc-ui-tests</image>