blob: dc9d118aa8c8c78a47f9de0544252e48c1c80c4d [file] [log] [blame]
Michael Landob3d48982017-06-11 14:22:02 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
shrikantawachar0ebace52018-04-09 13:03:56 +05302 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Landob3d48982017-06-11 14:22:02 +03003
4 <modelVersion>4.0.0</modelVersion>
5
6 <artifactId>ui-ci</artifactId>
7 <description>Selenium tests for the SDnC Application</description>
8
9 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
Michael Lando540a71e2018-11-05 09:48:40 +020012 <version>1.3.3-SNAPSHOT</version>
Michael Landob3d48982017-06-11 14:22:02 +030013 </parent>
Michael Landoa5445102018-03-04 14:53:33 +020014
Michael Lando660b57d2017-10-11 09:45:53 +030015 <properties>
Gitelman, Tal (tg851x)e482ae42018-03-11 19:37:06 +020016 <sonar.skip>true</sonar.skip>
Tal Gitelman51d50f02017-12-10 18:55:03 +020017 <jacoco.skip>true</jacoco.skip>
Michael Landoa5445102018-03-04 14:53:33 +020018 <aspectj.version>1.8.10</aspectj.version>
Michael Lando660b57d2017-10-11 09:45:53 +030019 </properties>
Michael Landob3d48982017-06-11 14:22:02 +030020
21 <dependencies>
22 <dependency>
23 <groupId>com.google.guava</groupId>
24 <artifactId>guava</artifactId>
25 <version>${guava.version}</version>
26 <scope>compile</scope>
27 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +020028
Michael Landob3d48982017-06-11 14:22:02 +030029 <dependency>
30 <groupId>org.seleniumhq.selenium</groupId>
31 <artifactId>selenium-java</artifactId>
Yuli Shlosbergd4929e32018-10-02 17:51:22 +030032
Michael Landob3d48982017-06-11 14:22:02 +030033 <version>2.53.1</version>
Yuli Shlosbergd4929e32018-10-02 17:51:22 +030034 <exclusions>
35 <exclusion>
36 <groupId>org.eclipse.jetty</groupId>
37 <artifactId>jetty-util</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
41
42 <dependency>
43 <groupId>org.eclipse.jetty</groupId>
44 <artifactId>jetty-util</artifactId>
45 <version>${jetty.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +030046 </dependency>
47
48 <dependency>
49 <groupId>org.seleniumhq.selenium</groupId>
50 <artifactId>selenium-server</artifactId>
51 <version>2.53.1</version>
52 <scope>runtime</scope>
53 </dependency>
54
55 <dependency>
56 <groupId>commons-net</groupId>
57 <artifactId>commons-net</artifactId>
58 <version>3.3</version>
59 <scope>compile</scope>
60 </dependency>
61
62 <dependency>
63 <groupId>commons-io</groupId>
64 <artifactId>commons-io</artifactId>
65 <version>2.4</version>
66 <scope>compile</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.openecomp.sdc</groupId>
71 <artifactId>test-apis-ci</artifactId>
72 <version>${project.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +030073 <scope>compile</scope>
74 </dependency>
75
76 <dependency>
77 <groupId>org.yaml</groupId>
78 <artifactId>snakeyaml</artifactId>
79 <version>${snakeyaml.version}</version>
80 <scope>compile</scope>
81 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +020082 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +030083 <groupId>org.functionaljava</groupId>
84 <artifactId>functionaljava</artifactId>
85 <version>${functionaljava.version}</version>
86 <scope>compile</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>com.google.code.gson</groupId>
91 <artifactId>gson</artifactId>
92 <version>${gson.version}</version>
93 <scope>compile</scope>
94 </dependency>
95
96 <!-- http client -->
97 <dependency>
98 <groupId>org.apache.httpcomponents</groupId>
99 <artifactId>httpclient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200100 <version>${httpclient.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300101 <scope>compile</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.apache.httpcomponents</groupId>
106 <artifactId>httpmime</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200107 <version>${httpclient.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300108 <scope>compile</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>commons-logging</groupId>
113 <artifactId>commons-logging</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200114 <version>${commons-logging}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300115 <scope>compile</scope>
116 </dependency>
117
118 <dependency>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200121 <version>${slf4j-api.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300122 <scope>compile</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>ch.qos.logback</groupId>
127 <artifactId>logback-classic</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200128 <version>${logback.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300129 <scope>compile</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>ch.qos.logback</groupId>
134 <artifactId>logback-core</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200135 <version>${logback.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300136 <scope>compile</scope>
137 </dependency>
138
139 <!-- http core -->
140 <dependency>
141 <groupId>org.apache.httpcomponents</groupId>
142 <artifactId>httpcore</artifactId>
143 <version>${httpcore.version}</version>
144 <scope>compile</scope>
145 </dependency>
146
147 <!-- TITAN -->
148 <dependency>
149 <groupId>com.thinkaurelius.titan</groupId>
150 <artifactId>titan-core</artifactId>
151 <version>${titan.version}</version>
152 <scope>compile</scope>
Tal Gitelman05930e32018-09-16 17:31:01 +0300153 <exclusions>
154 <exclusion>
155 <artifactId>commons-collections</artifactId>
156 <groupId>commons-collections</groupId>
157 </exclusion>
Tal Gitelman96dbee32018-10-10 16:39:59 +0300158 <exclusion>
159 <artifactId>groovy</artifactId>
160 <groupId>org.codehaus.groovy</groupId>
161 </exclusion>
Tal Gitelman05930e32018-09-16 17:31:01 +0300162 </exclusions>
Michael Landob3d48982017-06-11 14:22:02 +0300163 </dependency>
164
165 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200166 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
167 <artifactId>sdc-titan-cassandra</artifactId>
168 <version>${sdc.titan.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300169 <scope>compile</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>org.codehaus.jackson</groupId>
174 <artifactId>jackson-mapper-asl</artifactId>
175 <version>1.9.2</version>
176 <scope>compile</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>com.fasterxml.jackson.core</groupId>
181 <artifactId>jackson-databind</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200182 <version>${jackson.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300183 <scope>compile</scope>
184 </dependency>
185
186 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300187 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
188 <artifactId>sdc-distribution-client</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200189 <version>1.2.3</version>
Michael Landob3d48982017-06-11 14:22:02 +0300190 <scope>compile</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
196 <version>${junit.version}</version>
197 <scope>compile</scope>
198 </dependency>
199
200 <dependency>
201 <groupId>org.testng</groupId>
202 <artifactId>testng</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200203 <version>6.11</version>
Michael Landob3d48982017-06-11 14:22:02 +0300204 <scope>compile</scope>
205 </dependency>
206
207 <dependency>
208 <groupId>xml-apis</groupId>
209 <artifactId>xml-apis</artifactId>
210 <version>1.4.01</version>
211 <scope>compile</scope>
212 </dependency>
213
214 <dependency>
215 <groupId>com.googlecode.json-simple</groupId>
216 <artifactId>json-simple</artifactId>
217 <version>${json-simple.version}</version>
218 <scope>compile</scope>
219 </dependency>
220
221 <dependency>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-jci-core</artifactId>
224 <version>${commons-jci-core.version}</version>
225 <scope>compile</scope>
226 </dependency>
227
228 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300229 <groupId>commons-codec</groupId>
230 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200231 <version>${commons-codec}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300232 <scope>compile</scope>
233 </dependency>
234
235 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200236 <groupId>com.aventstack</groupId>
237 <artifactId>extentreports</artifactId>
238 <version>3.0.6</version>
239 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300240 </dependency>
241
242 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200243 <groupId>net.lightbody.bmp</groupId>
shrikantawachar0ebace52018-04-09 13:03:56 +0530244 <!-- To use the legacy, Jetty-based implementation, change the artifactId
Michael Landoa5445102018-03-04 14:53:33 +0200245 to browsermob-core -->
246 <artifactId>browsermob-core</artifactId>
247 <version>2.1.4</version>
248 </dependency>
249
250 <dependency>
251 <groupId>com.github.markusbernhardt</groupId>
252 <artifactId>proxy-vole</artifactId>
253 <version>1.0.2</version>
254 </dependency>
255
256 <dependency>
257 <groupId>com.paulhammant</groupId>
258 <artifactId>ngwebdriver</artifactId>
259 <version>0.9.7</version>
260 <scope>compile</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>com.google.inject</groupId>
265 <artifactId>guice</artifactId>
266 <version>4.1.0</version>
267 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300268
Tal Gitelmane0199372018-09-18 11:57:53 +0300269 <dependency>
270 <groupId>org.codehaus.groovy</groupId>
271 <artifactId>groovy</artifactId>
Tal Gitelmane0199372018-09-18 11:57:53 +0300272 </dependency>
273
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300274 <dependency>
275 <groupId>io.netty</groupId>
276 <artifactId>netty-handler</artifactId>
277 </dependency>
278
Michael Landob3d48982017-06-11 14:22:02 +0300279 </dependencies>
280
281 <build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200282
Michael Landob3d48982017-06-11 14:22:02 +0300283 <plugins>
Michael Lando5b593492018-07-29 16:13:45 +0300284
Michael Landob3d48982017-06-11 14:22:02 +0300285 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300286 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200287 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200288 <executions>
289 <execution>
290 <id>clean.tosca.chef.os.folder</id>
291 <phase>clean</phase>
292 <goals>
293 <goal>clean</goal>
294 </goals>
295 <configuration>
296 <filesets>
297
298 <!-- Sanity jar -->
299 <fileset>
300 <directory>${project.basedir}/sdc-ui-tests</directory>
301 <followSymlinks>false</followSymlinks>
302 <includes>
303 <include>*.jar</include>
304 </includes>
305 </fileset>
306 <!-- Sanity test suites -->
307 <fileset>
308 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
309 <followSymlinks>false</followSymlinks>
310 </fileset>
Yuli Shlosberg9ffdb632018-10-22 16:54:02 +0300311 <!-- VNF files -->
312 <fileset>
313 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</directory>
314 <followSymlinks>false</followSymlinks>
315 </fileset>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200316 </filesets>
317 </configuration>
318 </execution>
319 </executions>
320 </plugin>
321 <plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-deploy-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300324 <configuration>
325 <skip>true</skip>
326 </configuration>
327 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-assembly-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300331 <executions>
332 <execution>
333 <id>create.jar.with.dependencies</id>
334 <phase>package</phase>
335 <goals>
336 <goal>single</goal>
337 </goals>
338 <configuration>
339 <archive>
340 <manifest>
341 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
342 </manifest>
343 </archive>
344 <descriptorRefs>
345 <descriptorRef>jar-with-dependencies</descriptorRef>
346 </descriptorRefs>
347 </configuration>
348 </execution>
349 </executions>
Yuli Shlosberg98369b12018-04-10 19:36:24 +0300350 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100351 <plugin>
352 <groupId>com.github.sylvainlaurent.maven</groupId>
353 <artifactId>yaml-json-validator-maven-plugin</artifactId>
354 <executions>
355 <execution>
356 <id>validate</id>
357 <phase>validate</phase>
358 <goals>
359 <goal>validate</goal>
360 </goals>
361 <configuration>
362 <validationSets>
363 <validationSet>
364 <includes>
365 <include>src/main/resources/**/*.y*ml</include>
366 <include>src/test/resources/**/*.y*ml</include>
367 </includes>
368 </validationSet>
369 <validationSet>
370 <includes>
371 <include>src/main/resources/**/*.json</include>
372 <include>src/test/resources/**/*.json</include>
373 </includes>
374 </validationSet>
375 </validationSets>
376 </configuration>
377 </execution>
378 </executions>
379 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300380 </plugins>
381 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200382 <profiles>
383 <profile>
384 <id>docker</id>
385 <activation>
386 <activeByDefault>false</activeByDefault>
387 </activation>
388 <build>
389 <plugins>
390 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300391 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200392 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200393 <executions>
394 <execution>
395 <id>copy-tests-suites</id>
396 <phase>verify</phase>
397 <goals>
398 <goal>copy-resources</goal>
399 </goals>
400 <configuration>
401 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
402 <resources>
403 <resource>
404 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
405 <includes>
406 <include>*</include>
407 </includes>
408 </resource>
409 </resources>
410 </configuration>
411 </execution>
412
413 <execution>
Yuli Shlosberg17889832018-04-08 14:03:29 +0300414 <id>copy-csar-files</id>
415 <phase>verify</phase>
416 <goals>
417 <goal>copy-resources</goal>
418 </goals>
419 <configuration>
420 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
421 <resources>
422 <resource>
423 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
424 <includes>
425 <include>*</include>
426 </includes>
427 </resource>
428 </resources>
429 </configuration>
430 </execution>
431
432 <execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200433 <id>copy-resources-ui-ci</id>
434 <phase>verify</phase>
435 <goals>
436 <goal>copy-resources</goal>
437 </goals>
438 <configuration>
439 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
440 <resources>
441 <resource>
442 <directory>${project.parent.basedir}/ui-ci/target</directory>
443 <includes>
444 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
445 </includes>
446 </resource>
447 </resources>
448 </configuration>
449 </execution>
450 </executions>
451 </plugin>
452
453 <plugin>
454 <groupId>io.fabric8</groupId>
455 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200456 <configuration>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200457 <apiVersion>1.23</apiVersion>
458 <registry>nexus3.onap.org:10001</registry>
459 <authConfig>
460 <pull>
461 <username>docker</username>
462 <password>docker</password>
463 </pull>
464 </authConfig>
465 <images>
466
467 <!-- Build sanity image -->
468 <image>
469 <name>onap/sdc-ui-tests</name>
470 <alias>sdc-ui-sanity</alias>
471 <build>
472 <cleanup>try</cleanup>
473 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
474 <tags>
475 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200476 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
477 </tags>
478 </build>
479 </image>
480
481 </images>
482 </configuration>
483 <executions>
484 <execution>
485 <id>clean-images</id>
486 <phase>pre-clean</phase>
487 <goals>
488 <goal>remove</goal>
489 </goals>
490 <configuration>
491 <removeAll>true</removeAll>
492 <image>onap/sdc-ui-tests</image>
493 </configuration>
494 </execution>
495
496 <execution>
497 <id>generate-images</id>
498 <phase>install</phase>
499 <goals>
500 <goal>build</goal>
501 </goals>
502 </execution>
503
504 <execution>
505 <id>push-images</id>
506 <phase>deploy</phase>
507 <goals>
508 <goal>push</goal>
509 </goals>
510 <configuration>
511 <image>onap/sdc-ui-tests</image>
512 </configuration>
513 </execution>
514 </executions>
515 </plugin>
516 </plugins>
517 </build>
518 </profile>
519 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300520</project>