blob: c5b5b09c1ba30cbcba15aacf4faa31adedcd64e2 [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 Landod8a0dea2018-06-02 19:23:27 +030012 <version>1.3.0-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>
311 </filesets>
312 </configuration>
313 </execution>
314 </executions>
315 </plugin>
316 <plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-deploy-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300319 <configuration>
320 <skip>true</skip>
321 </configuration>
322 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-assembly-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300326 <executions>
327 <execution>
328 <id>create.jar.with.dependencies</id>
329 <phase>package</phase>
330 <goals>
331 <goal>single</goal>
332 </goals>
333 <configuration>
334 <archive>
335 <manifest>
336 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
337 </manifest>
338 </archive>
339 <descriptorRefs>
340 <descriptorRef>jar-with-dependencies</descriptorRef>
341 </descriptorRefs>
342 </configuration>
343 </execution>
344 </executions>
Yuli Shlosberg98369b12018-04-10 19:36:24 +0300345 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100346 <plugin>
347 <groupId>com.github.sylvainlaurent.maven</groupId>
348 <artifactId>yaml-json-validator-maven-plugin</artifactId>
349 <executions>
350 <execution>
351 <id>validate</id>
352 <phase>validate</phase>
353 <goals>
354 <goal>validate</goal>
355 </goals>
356 <configuration>
357 <validationSets>
358 <validationSet>
359 <includes>
360 <include>src/main/resources/**/*.y*ml</include>
361 <include>src/test/resources/**/*.y*ml</include>
362 </includes>
363 </validationSet>
364 <validationSet>
365 <includes>
366 <include>src/main/resources/**/*.json</include>
367 <include>src/test/resources/**/*.json</include>
368 </includes>
369 </validationSet>
370 </validationSets>
371 </configuration>
372 </execution>
373 </executions>
374 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300375 </plugins>
376 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200377 <profiles>
378 <profile>
379 <id>docker</id>
380 <activation>
381 <activeByDefault>false</activeByDefault>
382 </activation>
383 <build>
384 <plugins>
385 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300386 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200387 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200388 <executions>
389 <execution>
390 <id>copy-tests-suites</id>
391 <phase>verify</phase>
392 <goals>
393 <goal>copy-resources</goal>
394 </goals>
395 <configuration>
396 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
397 <resources>
398 <resource>
399 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
400 <includes>
401 <include>*</include>
402 </includes>
403 </resource>
404 </resources>
405 </configuration>
406 </execution>
407
408 <execution>
Yuli Shlosberg17889832018-04-08 14:03:29 +0300409 <id>copy-csar-files</id>
410 <phase>verify</phase>
411 <goals>
412 <goal>copy-resources</goal>
413 </goals>
414 <configuration>
415 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
416 <resources>
417 <resource>
418 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
419 <includes>
420 <include>*</include>
421 </includes>
422 </resource>
423 </resources>
424 </configuration>
425 </execution>
426
427 <execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200428 <id>copy-resources-ui-ci</id>
429 <phase>verify</phase>
430 <goals>
431 <goal>copy-resources</goal>
432 </goals>
433 <configuration>
434 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
435 <resources>
436 <resource>
437 <directory>${project.parent.basedir}/ui-ci/target</directory>
438 <includes>
439 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
440 </includes>
441 </resource>
442 </resources>
443 </configuration>
444 </execution>
445 </executions>
446 </plugin>
447
448 <plugin>
449 <groupId>io.fabric8</groupId>
450 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200451 <configuration>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200452 <apiVersion>1.23</apiVersion>
453 <registry>nexus3.onap.org:10001</registry>
454 <authConfig>
455 <pull>
456 <username>docker</username>
457 <password>docker</password>
458 </pull>
459 </authConfig>
460 <images>
461
462 <!-- Build sanity image -->
463 <image>
464 <name>onap/sdc-ui-tests</name>
465 <alias>sdc-ui-sanity</alias>
466 <build>
467 <cleanup>try</cleanup>
468 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
469 <tags>
470 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200471 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
472 </tags>
473 </build>
474 </image>
475
476 </images>
477 </configuration>
478 <executions>
479 <execution>
480 <id>clean-images</id>
481 <phase>pre-clean</phase>
482 <goals>
483 <goal>remove</goal>
484 </goals>
485 <configuration>
486 <removeAll>true</removeAll>
487 <image>onap/sdc-ui-tests</image>
488 </configuration>
489 </execution>
490
491 <execution>
492 <id>generate-images</id>
493 <phase>install</phase>
494 <goals>
495 <goal>build</goal>
496 </goals>
497 </execution>
498
499 <execution>
500 <id>push-images</id>
501 <phase>deploy</phase>
502 <goals>
503 <goal>push</goal>
504 </goals>
505 <configuration>
506 <image>onap/sdc-ui-tests</image>
507 </configuration>
508 </execution>
509 </executions>
510 </plugin>
511 </plugins>
512 </build>
513 </profile>
514 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300515</project>