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.6.1-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>
40 <groupId>io.netty</groupId>
41 <artifactId>netty</artifactId>
47 <groupId>org.eclipse.jetty</groupId>
48 <artifactId>jetty-util</artifactId>
49 <version>${jetty.version}</version>
53 <groupId>org.seleniumhq.selenium</groupId>
54 <artifactId>selenium-server</artifactId>
55 <version>2.53.1</version>
56 <scope>runtime</scope>
60 <groupId>commons-net</groupId>
61 <artifactId>commons-net</artifactId>
62 <version>3.3</version>
63 <scope>compile</scope>
67 <groupId>commons-io</groupId>
68 <artifactId>commons-io</artifactId>
69 <version>2.4</version>
70 <scope>compile</scope>
74 <groupId>org.openecomp.sdc</groupId>
75 <artifactId>test-apis-ci</artifactId>
76 <version>${project.version}</version>
77 <scope>compile</scope>
81 <groupId>org.yaml</groupId>
82 <artifactId>snakeyaml</artifactId>
83 <version>${snakeyaml.version}</version>
84 <scope>compile</scope>
87 <groupId>org.functionaljava</groupId>
88 <artifactId>functionaljava</artifactId>
89 <version>${functionaljava.version}</version>
90 <scope>compile</scope>
94 <groupId>com.google.code.gson</groupId>
95 <artifactId>gson</artifactId>
96 <version>${gson.version}</version>
97 <scope>compile</scope>
102 <groupId>org.apache.httpcomponents</groupId>
103 <artifactId>httpclient</artifactId>
104 <version>${httpclient.version}</version>
105 <scope>compile</scope>
109 <groupId>org.apache.httpcomponents</groupId>
110 <artifactId>httpmime</artifactId>
111 <version>${httpclient.version}</version>
112 <scope>compile</scope>
116 <groupId>commons-logging</groupId>
117 <artifactId>commons-logging</artifactId>
118 <version>${commons-logging}</version>
119 <scope>compile</scope>
123 <groupId>org.slf4j</groupId>
124 <artifactId>slf4j-api</artifactId>
125 <version>${slf4j-api.version}</version>
126 <scope>compile</scope>
130 <groupId>ch.qos.logback</groupId>
131 <artifactId>logback-classic</artifactId>
132 <version>${logback.version}</version>
133 <scope>compile</scope>
137 <groupId>ch.qos.logback</groupId>
138 <artifactId>logback-core</artifactId>
139 <version>${logback.version}</version>
140 <scope>compile</scope>
145 <groupId>org.apache.httpcomponents</groupId>
146 <artifactId>httpcore</artifactId>
147 <version>${httpcore.version}</version>
148 <scope>compile</scope>
152 <groupId>org.codehaus.jackson</groupId>
153 <artifactId>jackson-mapper-asl</artifactId>
154 <version>1.9.2</version>
155 <scope>compile</scope>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-databind</artifactId>
161 <version>${jackson.version}</version>
162 <scope>compile</scope>
166 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
167 <artifactId>sdc-distribution-client</artifactId>
168 <version>1.2.3</version>
169 <scope>compile</scope>
173 <groupId>org.hamcrest</groupId>
174 <artifactId>hamcrest</artifactId>
175 <version>${hamcrest.version}</version>
176 <scope>compile</scope>
180 <groupId>org.hamcrest</groupId>
181 <artifactId>hamcrest-library</artifactId>
182 <version>${hamcrest.version}</version>
183 <scope>compile</scope>
187 <groupId>junit</groupId>
188 <artifactId>junit</artifactId>
189 <version>${junit.version}</version>
190 <scope>compile</scope>
194 <groupId>org.testng</groupId>
195 <artifactId>testng</artifactId>
196 <version>6.11</version>
197 <scope>compile</scope>
201 <groupId>xml-apis</groupId>
202 <artifactId>xml-apis</artifactId>
203 <version>1.4.01</version>
204 <scope>compile</scope>
208 <groupId>com.googlecode.json-simple</groupId>
209 <artifactId>json-simple</artifactId>
210 <version>${json-simple.version}</version>
211 <scope>compile</scope>
215 <groupId>org.apache.commons</groupId>
216 <artifactId>commons-jci-core</artifactId>
217 <version>${commons-jci-core.version}</version>
218 <scope>compile</scope>
222 <groupId>commons-codec</groupId>
223 <artifactId>commons-codec</artifactId>
224 <version>${commons-codec}</version>
225 <scope>compile</scope>
229 <groupId>com.aventstack</groupId>
230 <artifactId>extentreports</artifactId>
231 <version>3.0.6</version>
232 <scope>compile</scope>
236 <groupId>net.lightbody.bmp</groupId>
237 <!-- To use the legacy, Jetty-based implementation, change the artifactId
238 to browsermob-core -->
239 <artifactId>browsermob-core</artifactId>
240 <version>2.1.4</version>
244 <groupId>com.github.markusbernhardt</groupId>
245 <artifactId>proxy-vole</artifactId>
246 <version>1.0.2</version>
250 <groupId>com.paulhammant</groupId>
251 <artifactId>ngwebdriver</artifactId>
252 <version>0.9.7</version>
253 <scope>compile</scope>
257 <groupId>com.google.inject</groupId>
258 <artifactId>guice</artifactId>
259 <version>4.1.0</version>
263 <groupId>org.codehaus.groovy</groupId>
264 <artifactId>groovy</artifactId>
268 <groupId>io.netty</groupId>
269 <artifactId>netty-handler</artifactId>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-clean-plugin</artifactId>
283 <id>clean.tosca.chef.os.folder</id>
293 <directory>${project.basedir}/sdc-ui-tests</directory>
294 <followSymlinks>false</followSymlinks>
296 <include>*.jar</include>
299 <!-- Sanity test suites -->
301 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
302 <followSymlinks>false</followSymlinks>
304 <!-- Package files -->
306 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files</directory>
307 <followSymlinks>false</followSymlinks>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-deploy-plugin</artifactId>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-assembly-plugin</artifactId>
326 <id>create.jar.with.dependencies</id>
327 <phase>package</phase>
334 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
338 <descriptorRef>jar-with-dependencies</descriptorRef>
345 <groupId>com.github.sylvainlaurent.maven</groupId>
346 <artifactId>yaml-json-validator-maven-plugin</artifactId>
350 <phase>validate</phase>
352 <goal>validate</goal>
358 <include>src/main/resources/**/*.y*ml</include>
359 <include>src/test/resources/**/*.y*ml</include>
364 <include>src/main/resources/**/*.json</include>
365 <include>src/test/resources/**/*.json</include>
379 <activeByDefault>false</activeByDefault>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-resources-plugin</artifactId>
388 <id>copy-tests-suites</id>
389 <phase>verify</phase>
391 <goal>copy-resources</goal>
394 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
397 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
407 <id>copy-csar-files</id>
408 <phase>verify</phase>
410 <goal>copy-resources</goal>
413 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files</outputDirectory>
416 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files</directory>
417 <filtering>false</filtering>
419 <include>VNFs/*</include>
420 <include>PNFs/*</include>
428 <id>copy-resources-ui-ci</id>
429 <phase>verify</phase>
431 <goal>copy-resources</goal>
434 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
437 <directory>${project.parent.basedir}/ui-ci/target</directory>
439 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
449 <groupId>io.fabric8</groupId>
450 <artifactId>docker-maven-plugin</artifactId>
452 <apiVersion>1.23</apiVersion>
453 <registry>nexus3.onap.org:10001</registry>
456 <username>docker</username>
457 <password>docker</password>
462 <!-- Build sanity image -->
464 <name>onap/sdc-ui-tests</name>
465 <alias>sdc-ui-sanity</alias>
467 <cleanup>try</cleanup>
468 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
470 <tag>${docker.tag}</tag>
471 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
480 <id>clean-images</id>
481 <phase>pre-clean</phase>
486 <removeAll>true</removeAll>
487 <image>onap/sdc-ui-tests</image>
492 <id>generate-images</id>
493 <phase>install</phase>
501 <phase>deploy</phase>
506 <image>onap/sdc-ui-tests</image>