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>com.fasterxml.jackson.core</groupId>
91 <artifactId>jackson-core</artifactId>
92 <version>${jackson.version}</version>
96 <groupId>org.openecomp.sdc</groupId>
97 <artifactId>test-apis-ci</artifactId>
98 <version>${project.version}</version>
101 <groupId>com.fasterxml.jackson.core</groupId>
102 <artifactId>jackson-core</artifactId>
108 <groupId>org.yaml</groupId>
109 <artifactId>snakeyaml</artifactId>
110 <version>${snakeyaml.version}</version>
111 <scope>compile</scope>
114 <groupId>org.functionaljava</groupId>
115 <artifactId>functionaljava</artifactId>
116 <version>${functionaljava.version}</version>
117 <scope>compile</scope>
121 <groupId>com.google.code.gson</groupId>
122 <artifactId>gson</artifactId>
123 <version>${gson.version}</version>
124 <scope>compile</scope>
129 <groupId>org.apache.httpcomponents</groupId>
130 <artifactId>httpclient</artifactId>
131 <version>${httpclient.version}</version>
132 <scope>compile</scope>
136 <groupId>org.apache.httpcomponents</groupId>
137 <artifactId>httpmime</artifactId>
138 <version>${httpclient.version}</version>
139 <scope>compile</scope>
143 <groupId>commons-logging</groupId>
144 <artifactId>commons-logging</artifactId>
145 <version>${commons-logging}</version>
146 <scope>compile</scope>
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>
172 <groupId>org.apache.httpcomponents</groupId>
173 <artifactId>httpcore</artifactId>
174 <version>${httpcore.version}</version>
175 <scope>compile</scope>
179 <groupId>org.codehaus.jackson</groupId>
180 <artifactId>jackson-mapper-asl</artifactId>
181 <version>1.9.2</version>
182 <scope>compile</scope>
186 <groupId>com.fasterxml.jackson.core</groupId>
187 <artifactId>jackson-databind</artifactId>
188 <version>${jackson.version}</version>
191 <groupId>com.fasterxml.jackson.core</groupId>
192 <artifactId>jackson-core</artifactId>
198 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
199 <artifactId>sdc-distribution-client</artifactId>
200 <version>1.2.3</version>
201 <scope>compile</scope>
205 <groupId>org.hamcrest</groupId>
206 <artifactId>hamcrest</artifactId>
207 <version>${hamcrest.version}</version>
208 <scope>compile</scope>
212 <groupId>org.hamcrest</groupId>
213 <artifactId>hamcrest-library</artifactId>
214 <version>${hamcrest.version}</version>
215 <scope>compile</scope>
219 <groupId>org.junit.jupiter</groupId>
220 <artifactId>junit-jupiter</artifactId>
221 <version>${junitJupiter.version}</version>
226 <groupId>org.mockito</groupId>
227 <artifactId>mockito-junit-jupiter</artifactId>
228 <version>${mockitoJupiter.version}</version>
233 <groupId>org.testng</groupId>
234 <artifactId>testng</artifactId>
235 <version>6.11</version>
236 <scope>compile</scope>
240 <groupId>xml-apis</groupId>
241 <artifactId>xml-apis</artifactId>
242 <version>1.4.01</version>
243 <scope>compile</scope>
247 <groupId>com.googlecode.json-simple</groupId>
248 <artifactId>json-simple</artifactId>
249 <version>${json-simple.version}</version>
250 <scope>compile</scope>
254 <groupId>org.apache.commons</groupId>
255 <artifactId>commons-jci-core</artifactId>
256 <version>${commons-jci-core.version}</version>
257 <scope>compile</scope>
261 <groupId>commons-codec</groupId>
262 <artifactId>commons-codec</artifactId>
263 <version>${commons-codec}</version>
264 <scope>compile</scope>
268 <groupId>com.aventstack</groupId>
269 <artifactId>extentreports</artifactId>
270 <version>3.0.6</version>
271 <scope>compile</scope>
275 <groupId>net.lightbody.bmp</groupId>
276 <!-- To use the legacy, Jetty-based implementation, change the artifactId
277 to browsermob-core -->
278 <artifactId>browsermob-core</artifactId>
279 <version>2.1.4</version>
282 <groupId>com.fasterxml.jackson.core</groupId>
283 <artifactId>jackson-core</artifactId>
289 <groupId>com.github.markusbernhardt</groupId>
290 <artifactId>proxy-vole</artifactId>
291 <version>1.0.2</version>
295 <groupId>com.paulhammant</groupId>
296 <artifactId>ngwebdriver</artifactId>
297 <version>0.9.7</version>
298 <scope>compile</scope>
302 <groupId>com.google.inject</groupId>
303 <artifactId>guice</artifactId>
304 <version>4.1.0</version>
308 <groupId>org.codehaus.groovy</groupId>
309 <artifactId>groovy</artifactId>
313 <groupId>io.netty</groupId>
314 <artifactId>netty-handler</artifactId>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-clean-plugin</artifactId>
328 <id>clean.tosca.chef.os.folder</id>
338 <directory>${project.basedir}/sdc-ui-tests</directory>
339 <followSymlinks>false</followSymlinks>
341 <include>*.jar</include>
344 <!-- Sanity test suites -->
347 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
349 <followSymlinks>false</followSymlinks>
351 <!-- Package files -->
354 ${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
356 <followSymlinks>false</followSymlinks>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-deploy-plugin</artifactId>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-assembly-plugin</artifactId>
375 <id>create.jar.with.dependencies</id>
376 <phase>package</phase>
383 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
387 <descriptorRef>jar-with-dependencies</descriptorRef>
394 <groupId>com.github.sylvainlaurent.maven</groupId>
395 <artifactId>yaml-json-validator-maven-plugin</artifactId>
399 <phase>validate</phase>
401 <goal>validate</goal>
407 <include>src/main/resources/**/*.y*ml</include>
408 <include>src/test/resources/**/*.y*ml</include>
413 <include>src/main/resources/**/*.json</include>
414 <include>src/test/resources/**/*.json</include>
418 <skip>${skipYamlJsonValidator}</skip>
429 <activeByDefault>false</activeByDefault>
434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-resources-plugin</artifactId>
438 <id>copy-tests-suites</id>
439 <phase>verify</phase>
441 <goal>copy-resources</goal>
445 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites
449 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites
460 <id>copy-csar-files</id>
461 <phase>verify</phase>
463 <goal>copy-resources</goal>
467 sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files
472 ${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files
474 <filtering>false</filtering>
476 <include>VNFs/*</include>
477 <include>PNFs/*</include>
485 <id>copy-resources-ui-ci</id>
486 <phase>verify</phase>
488 <goal>copy-resources</goal>
491 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
494 <directory>${project.parent.basedir}/ui-ci/target</directory>
496 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
506 <groupId>io.fabric8</groupId>
507 <artifactId>docker-maven-plugin</artifactId>
509 <apiVersion>1.23</apiVersion>
510 <registry>nexus3.onap.org:10001</registry>
513 <username>docker</username>
514 <password>docker</password>
519 <!-- Build sanity image -->
521 <name>onap/sdc-ui-tests</name>
522 <alias>sdc-ui-sanity</alias>
524 <cleanup>try</cleanup>
525 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
527 <tag>${docker.tag}</tag>
529 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
539 <id>clean-images</id>
540 <phase>pre-clean</phase>
545 <removeAll>true</removeAll>
546 <image>onap/sdc-ui-tests</image>
551 <id>generate-images</id>
552 <phase>install</phase>
560 <phase>deploy</phase>
565 <image>onap/sdc-ui-tests</image>