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>
39 <groupId>com.google.guava</groupId>
40 <artifactId>guava</artifactId>
41 <version>${guava.version}</version>
42 <scope>compile</scope>
46 <groupId>org.seleniumhq.selenium</groupId>
47 <artifactId>selenium-java</artifactId>
49 <version>2.53.1</version>
52 <groupId>org.eclipse.jetty</groupId>
53 <artifactId>jetty-util</artifactId>
56 <groupId>io.netty</groupId>
57 <artifactId>netty</artifactId>
63 <groupId>org.eclipse.jetty</groupId>
64 <artifactId>jetty-util</artifactId>
65 <version>${jetty.version}</version>
69 <groupId>org.seleniumhq.selenium</groupId>
70 <artifactId>selenium-server</artifactId>
71 <version>2.53.1</version>
72 <scope>runtime</scope>
76 <groupId>commons-net</groupId>
77 <artifactId>commons-net</artifactId>
78 <version>3.3</version>
79 <scope>compile</scope>
83 <groupId>commons-io</groupId>
84 <artifactId>commons-io</artifactId>
85 <version>2.4</version>
86 <scope>compile</scope>
90 <groupId>org.openecomp.sdc</groupId>
91 <artifactId>test-apis-ci</artifactId>
92 <version>${project.version}</version>
93 <scope>compile</scope>
97 <groupId>org.yaml</groupId>
98 <artifactId>snakeyaml</artifactId>
99 <version>${snakeyaml.version}</version>
100 <scope>compile</scope>
103 <groupId>org.functionaljava</groupId>
104 <artifactId>functionaljava</artifactId>
105 <version>${functionaljava.version}</version>
106 <scope>compile</scope>
110 <groupId>com.google.code.gson</groupId>
111 <artifactId>gson</artifactId>
112 <version>${gson.version}</version>
113 <scope>compile</scope>
118 <groupId>org.apache.httpcomponents</groupId>
119 <artifactId>httpclient</artifactId>
120 <version>${httpclient.version}</version>
121 <scope>compile</scope>
125 <groupId>org.apache.httpcomponents</groupId>
126 <artifactId>httpmime</artifactId>
127 <version>${httpclient.version}</version>
128 <scope>compile</scope>
132 <groupId>commons-logging</groupId>
133 <artifactId>commons-logging</artifactId>
134 <version>${commons-logging}</version>
135 <scope>compile</scope>
139 <groupId>org.slf4j</groupId>
140 <artifactId>slf4j-api</artifactId>
141 <version>${slf4j-api.version}</version>
142 <scope>compile</scope>
146 <groupId>ch.qos.logback</groupId>
147 <artifactId>logback-classic</artifactId>
148 <version>${logback.version}</version>
149 <scope>compile</scope>
153 <groupId>ch.qos.logback</groupId>
154 <artifactId>logback-core</artifactId>
155 <version>${logback.version}</version>
156 <scope>compile</scope>
161 <groupId>org.apache.httpcomponents</groupId>
162 <artifactId>httpcore</artifactId>
163 <version>${httpcore.version}</version>
164 <scope>compile</scope>
168 <groupId>org.codehaus.jackson</groupId>
169 <artifactId>jackson-mapper-asl</artifactId>
170 <version>1.9.2</version>
171 <scope>compile</scope>
175 <groupId>com.fasterxml.jackson.core</groupId>
176 <artifactId>jackson-databind</artifactId>
177 <version>${jackson.version}</version>
178 <scope>compile</scope>
182 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
183 <artifactId>sdc-distribution-client</artifactId>
184 <version>1.2.3</version>
185 <scope>compile</scope>
189 <groupId>org.hamcrest</groupId>
190 <artifactId>hamcrest</artifactId>
191 <version>${hamcrest.version}</version>
192 <scope>compile</scope>
196 <groupId>org.hamcrest</groupId>
197 <artifactId>hamcrest-library</artifactId>
198 <version>${hamcrest.version}</version>
199 <scope>compile</scope>
203 <groupId>org.junit.jupiter</groupId>
204 <artifactId>junit-jupiter</artifactId>
205 <version>${junitJupiter.version}</version>
210 <groupId>org.mockito</groupId>
211 <artifactId>mockito-junit-jupiter</artifactId>
212 <version>${mockitoJupiter.version}</version>
217 <groupId>org.testng</groupId>
218 <artifactId>testng</artifactId>
219 <version>6.11</version>
220 <scope>compile</scope>
224 <groupId>xml-apis</groupId>
225 <artifactId>xml-apis</artifactId>
226 <version>1.4.01</version>
227 <scope>compile</scope>
231 <groupId>com.googlecode.json-simple</groupId>
232 <artifactId>json-simple</artifactId>
233 <version>${json-simple.version}</version>
234 <scope>compile</scope>
238 <groupId>org.apache.commons</groupId>
239 <artifactId>commons-jci-core</artifactId>
240 <version>${commons-jci-core.version}</version>
241 <scope>compile</scope>
245 <groupId>commons-codec</groupId>
246 <artifactId>commons-codec</artifactId>
247 <version>${commons-codec}</version>
248 <scope>compile</scope>
252 <groupId>com.aventstack</groupId>
253 <artifactId>extentreports</artifactId>
254 <version>3.0.6</version>
255 <scope>compile</scope>
259 <groupId>net.lightbody.bmp</groupId>
260 <!-- To use the legacy, Jetty-based implementation, change the artifactId
261 to browsermob-core -->
262 <artifactId>browsermob-core</artifactId>
263 <version>2.1.4</version>
267 <groupId>com.github.markusbernhardt</groupId>
268 <artifactId>proxy-vole</artifactId>
269 <version>1.0.2</version>
273 <groupId>com.paulhammant</groupId>
274 <artifactId>ngwebdriver</artifactId>
275 <version>0.9.7</version>
276 <scope>compile</scope>
280 <groupId>com.google.inject</groupId>
281 <artifactId>guice</artifactId>
282 <version>4.1.0</version>
286 <groupId>org.codehaus.groovy</groupId>
287 <artifactId>groovy</artifactId>
291 <groupId>io.netty</groupId>
292 <artifactId>netty-handler</artifactId>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-clean-plugin</artifactId>
306 <id>clean.tosca.chef.os.folder</id>
316 <directory>${project.basedir}/sdc-ui-tests</directory>
317 <followSymlinks>false</followSymlinks>
319 <include>*.jar</include>
322 <!-- Sanity test suites -->
325 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
327 <followSymlinks>false</followSymlinks>
329 <!-- Package files -->
332 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
334 <followSymlinks>false</followSymlinks>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-deploy-plugin</artifactId>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-assembly-plugin</artifactId>
353 <id>create.jar.with.dependencies</id>
354 <phase>package</phase>
361 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
365 <descriptorRef>jar-with-dependencies</descriptorRef>
372 <groupId>com.github.sylvainlaurent.maven</groupId>
373 <artifactId>yaml-json-validator-maven-plugin</artifactId>
377 <phase>validate</phase>
379 <goal>validate</goal>
385 <include>src/main/resources/**/*.y*ml</include>
386 <include>src/test/resources/**/*.y*ml</include>
391 <include>src/main/resources/**/*.json</include>
392 <include>src/test/resources/**/*.json</include>
406 <activeByDefault>false</activeByDefault>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-resources-plugin</artifactId>
415 <id>copy-tests-suites</id>
416 <phase>verify</phase>
418 <goal>copy-resources</goal>
422 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
426 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites
437 <id>copy-csar-files</id>
438 <phase>verify</phase>
440 <goal>copy-resources</goal>
444 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
449 ${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files
451 <filtering>false</filtering>
453 <include>VNFs/*</include>
454 <include>PNFs/*</include>
462 <id>copy-resources-ui-ci</id>
463 <phase>verify</phase>
465 <goal>copy-resources</goal>
468 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
471 <directory>${project.parent.basedir}/ui-ci/target</directory>
473 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
483 <groupId>io.fabric8</groupId>
484 <artifactId>docker-maven-plugin</artifactId>
486 <apiVersion>1.23</apiVersion>
487 <registry>nexus3.onap.org:10001</registry>
490 <username>docker</username>
491 <password>docker</password>
496 <!-- Build sanity image -->
498 <name>onap/sdc-ui-tests</name>
499 <alias>sdc-ui-sanity</alias>
501 <cleanup>try</cleanup>
502 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
504 <tag>${docker.tag}</tag>
506 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
516 <id>clean-images</id>
517 <phase>pre-clean</phase>
522 <removeAll>true</removeAll>
523 <image>onap/sdc-ui-tests</image>
528 <id>generate-images</id>
529 <phase>install</phase>
537 <phase>deploy</phase>
542 <image>onap/sdc-ui-tests</image>