blob: 8efd5023913378ccfafe6ead77e6f33f1d999f65 [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>
Michael Lando5b593492018-07-29 16:13:45 +030026 <!-- <version>21.0</version> -->
Michael Landob3d48982017-06-11 14:22:02 +030027 <scope>compile</scope>
28 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +020029
Michael Landob3d48982017-06-11 14:22:02 +030030 <dependency>
31 <groupId>org.seleniumhq.selenium</groupId>
32 <artifactId>selenium-java</artifactId>
33 <version>2.53.1</version>
Michael Lando5b593492018-07-29 16:13:45 +030034 <!-- <version>3.4.0</version> -->
Michael Landob3d48982017-06-11 14:22:02 +030035 </dependency>
36
37 <dependency>
38 <groupId>org.seleniumhq.selenium</groupId>
39 <artifactId>selenium-server</artifactId>
40 <version>2.53.1</version>
Michael Lando5b593492018-07-29 16:13:45 +030041 <!-- <version>3.4.0</version> -->
Michael Landob3d48982017-06-11 14:22:02 +030042 <scope>runtime</scope>
43 </dependency>
44
45 <dependency>
46 <groupId>commons-net</groupId>
47 <artifactId>commons-net</artifactId>
48 <version>3.3</version>
49 <scope>compile</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>commons-io</groupId>
54 <artifactId>commons-io</artifactId>
55 <version>2.4</version>
56 <scope>compile</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>org.openecomp.sdc</groupId>
61 <artifactId>test-apis-ci</artifactId>
62 <version>${project.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +030063 <scope>compile</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>org.yaml</groupId>
68 <artifactId>snakeyaml</artifactId>
69 <version>${snakeyaml.version}</version>
70 <scope>compile</scope>
71 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +020072 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +030073 <groupId>org.functionaljava</groupId>
74 <artifactId>functionaljava</artifactId>
75 <version>${functionaljava.version}</version>
76 <scope>compile</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>com.google.code.gson</groupId>
81 <artifactId>gson</artifactId>
82 <version>${gson.version}</version>
83 <scope>compile</scope>
84 </dependency>
85
86 <!-- http client -->
87 <dependency>
88 <groupId>org.apache.httpcomponents</groupId>
89 <artifactId>httpclient</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +020090 <version>${httpclient.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +030091 <scope>compile</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>org.apache.httpcomponents</groupId>
96 <artifactId>httpmime</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +020097 <version>${httpclient.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +030098 <scope>compile</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>commons-logging</groupId>
103 <artifactId>commons-logging</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200104 <version>${commons-logging}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300105 <scope>compile</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>org.slf4j</groupId>
110 <artifactId>slf4j-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200111 <version>${slf4j-api.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300112 <scope>compile</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>ch.qos.logback</groupId>
117 <artifactId>logback-classic</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200118 <version>${logback.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300119 <scope>compile</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>ch.qos.logback</groupId>
124 <artifactId>logback-core</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200125 <version>${logback.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300126 <scope>compile</scope>
127 </dependency>
128
129 <!-- http core -->
130 <dependency>
131 <groupId>org.apache.httpcomponents</groupId>
132 <artifactId>httpcore</artifactId>
133 <version>${httpcore.version}</version>
134 <scope>compile</scope>
135 </dependency>
136
137 <!-- TITAN -->
138 <dependency>
139 <groupId>com.thinkaurelius.titan</groupId>
140 <artifactId>titan-core</artifactId>
141 <version>${titan.version}</version>
142 <scope>compile</scope>
143 </dependency>
144
145 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200146 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
147 <artifactId>sdc-titan-cassandra</artifactId>
148 <version>${sdc.titan.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300149 <scope>compile</scope>
150 </dependency>
151
152 <dependency>
153 <groupId>org.codehaus.jackson</groupId>
154 <artifactId>jackson-mapper-asl</artifactId>
155 <version>1.9.2</version>
156 <scope>compile</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>com.fasterxml.jackson.core</groupId>
161 <artifactId>jackson-databind</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200162 <version>${jackson.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300163 <scope>compile</scope>
164 </dependency>
165
166 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300167 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
168 <artifactId>sdc-distribution-client</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200169 <version>1.2.3</version>
Michael Landob3d48982017-06-11 14:22:02 +0300170 <scope>compile</scope>
171 </dependency>
172
173 <dependency>
174 <groupId>junit</groupId>
175 <artifactId>junit</artifactId>
176 <version>${junit.version}</version>
177 <scope>compile</scope>
178 </dependency>
179
180 <dependency>
181 <groupId>org.testng</groupId>
182 <artifactId>testng</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200183 <version>6.11</version>
Michael Landob3d48982017-06-11 14:22:02 +0300184 <scope>compile</scope>
185 </dependency>
186
187 <dependency>
188 <groupId>xml-apis</groupId>
189 <artifactId>xml-apis</artifactId>
190 <version>1.4.01</version>
191 <scope>compile</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>com.googlecode.json-simple</groupId>
196 <artifactId>json-simple</artifactId>
197 <version>${json-simple.version}</version>
198 <scope>compile</scope>
199 </dependency>
200
201 <dependency>
202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-jci-core</artifactId>
204 <version>${commons-jci-core.version}</version>
205 <scope>compile</scope>
206 </dependency>
207
208 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300209 <groupId>commons-codec</groupId>
210 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200211 <version>${commons-codec}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300212 <scope>compile</scope>
213 </dependency>
214
215 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200216 <groupId>com.aventstack</groupId>
217 <artifactId>extentreports</artifactId>
218 <version>3.0.6</version>
219 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300220 </dependency>
221
222 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200223 <groupId>net.lightbody.bmp</groupId>
shrikantawachar0ebace52018-04-09 13:03:56 +0530224 <!-- To use the legacy, Jetty-based implementation, change the artifactId
Michael Landoa5445102018-03-04 14:53:33 +0200225 to browsermob-core -->
226 <artifactId>browsermob-core</artifactId>
227 <version>2.1.4</version>
228 </dependency>
229
230 <dependency>
231 <groupId>com.github.markusbernhardt</groupId>
232 <artifactId>proxy-vole</artifactId>
233 <version>1.0.2</version>
234 </dependency>
235
236 <dependency>
237 <groupId>com.paulhammant</groupId>
238 <artifactId>ngwebdriver</artifactId>
239 <version>0.9.7</version>
240 <scope>compile</scope>
241 </dependency>
242
Michael Lando5b593492018-07-29 16:13:45 +0300243 <!--<dependency>-->
244 <!--<groupId>com.att.automation.common</groupId>-->
245 <!--<artifactId>report-portal-integration</artifactId>-->
246 <!--<version>RELEASE</version>-->
247 <!--</dependency>-->
248
Michael Landoa5445102018-03-04 14:53:33 +0200249 <dependency>
250 <groupId>com.google.inject</groupId>
251 <artifactId>guice</artifactId>
252 <version>4.1.0</version>
253 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300254
255
256
257
258
Michael Landob3d48982017-06-11 14:22:02 +0300259 </dependencies>
260
261 <build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200262
Michael Landob3d48982017-06-11 14:22:02 +0300263 <plugins>
Michael Lando5b593492018-07-29 16:13:45 +0300264<!-- <plugin> -->
265<!-- <groupId>org.apache.maven.plugins</groupId> -->
266<!-- <artifactId>maven-compiler-plugin</artifactId> -->
267<!-- <version>3.7.0</version> -->
268<!-- <configuration> -->
269<!-- <compilerArgument>-g:vars</compilerArgument> -->
270<!-- <debug>true</debug> -->
271<!-- <debuglevel>lines,vars,source</debuglevel> -->
272<!-- </configuration> -->
273<!-- </plugin> -->
274
275<!-- <plugin> -->
276<!-- <groupId>org.apache.maven.plugins</groupId> -->
277<!-- <artifactId>maven-surefire-plugin</artifactId> -->
278<!-- <version>2.19.1</version> -->
279<!-- <configuration> -->
280<!-- <suiteXmlFiles> -->
281<!-- <suiteXmlFile>${suiteXmlFile}</suiteXmlFile> -->
282<!-- </suiteXmlFiles> -->
283<!-- <argLine>-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar</argLine> -->
284<!-- </configuration> -->
285<!-- </plugin> -->
286
Michael Landob3d48982017-06-11 14:22:02 +0300287 <plugin>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200288 <artifactId>maven-clean-plugin</artifactId>
289 <version>3.0.0</version>
290 <executions>
291 <execution>
292 <id>clean.tosca.chef.os.folder</id>
293 <phase>clean</phase>
294 <goals>
295 <goal>clean</goal>
296 </goals>
297 <configuration>
298 <filesets>
299
300 <!-- Sanity jar -->
301 <fileset>
302 <directory>${project.basedir}/sdc-ui-tests</directory>
303 <followSymlinks>false</followSymlinks>
304 <includes>
305 <include>*.jar</include>
306 </includes>
307 </fileset>
308 <!-- Sanity test suites -->
309 <fileset>
310 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
311 <followSymlinks>false</followSymlinks>
312 </fileset>
313 </filesets>
314 </configuration>
315 </execution>
316 </executions>
317 </plugin>
318 <plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-deploy-plugin</artifactId>
321 <version>2.7</version>
322 <configuration>
323 <skip>true</skip>
324 </configuration>
325 </plugin>
326
327 <!-- ============================================= -->
328 <!-- Create the JAR file with its dependencies -->
329 <!-- ============================================= -->
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-assembly-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300333 <executions>
334 <execution>
335 <id>create.jar.with.dependencies</id>
336 <phase>package</phase>
337 <goals>
338 <goal>single</goal>
339 </goals>
340 <configuration>
341 <archive>
342 <manifest>
343 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
344 </manifest>
345 </archive>
346 <descriptorRefs>
347 <descriptorRef>jar-with-dependencies</descriptorRef>
348 </descriptorRefs>
349 </configuration>
350 </execution>
351 </executions>
Yuli Shlosberg98369b12018-04-10 19:36:24 +0300352 </plugin>
shrikantawachar0ebace52018-04-09 13:03:56 +0530353
Michael Landob3d48982017-06-11 14:22:02 +0300354 </plugins>
355 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200356 <profiles>
357 <profile>
358 <id>docker</id>
359 <activation>
360 <activeByDefault>false</activeByDefault>
361 </activation>
362 <build>
363 <plugins>
364 <plugin>
365 <artifactId>maven-resources-plugin</artifactId>
366 <version>3.0.2</version>
367 <executions>
368 <execution>
369 <id>copy-tests-suites</id>
370 <phase>verify</phase>
371 <goals>
372 <goal>copy-resources</goal>
373 </goals>
374 <configuration>
375 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
376 <resources>
377 <resource>
378 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
379 <includes>
380 <include>*</include>
381 </includes>
382 </resource>
383 </resources>
384 </configuration>
385 </execution>
386
387 <execution>
Yuli Shlosberg17889832018-04-08 14:03:29 +0300388 <id>copy-csar-files</id>
389 <phase>verify</phase>
390 <goals>
391 <goal>copy-resources</goal>
392 </goals>
393 <configuration>
394 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
395 <resources>
396 <resource>
397 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
398 <includes>
399 <include>*</include>
400 </includes>
401 </resource>
402 </resources>
403 </configuration>
404 </execution>
405
406 <execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200407 <id>copy-resources-ui-ci</id>
408 <phase>verify</phase>
409 <goals>
410 <goal>copy-resources</goal>
411 </goals>
412 <configuration>
413 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
414 <resources>
415 <resource>
416 <directory>${project.parent.basedir}/ui-ci/target</directory>
417 <includes>
418 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
419 </includes>
420 </resource>
421 </resources>
422 </configuration>
423 </execution>
424 </executions>
425 </plugin>
426
427 <plugin>
428 <groupId>io.fabric8</groupId>
429 <artifactId>docker-maven-plugin</artifactId>
430 <version>${fabric8.version}</version>
431
432 <configuration>
433 <verbose>true</verbose>
434 <apiVersion>1.23</apiVersion>
435 <registry>nexus3.onap.org:10001</registry>
436 <authConfig>
437 <pull>
438 <username>docker</username>
439 <password>docker</password>
440 </pull>
441 </authConfig>
442 <images>
443
444 <!-- Build sanity image -->
445 <image>
446 <name>onap/sdc-ui-tests</name>
447 <alias>sdc-ui-sanity</alias>
448 <build>
449 <cleanup>try</cleanup>
450 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
451 <tags>
452 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200453 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
454 </tags>
455 </build>
456 </image>
457
458 </images>
459 </configuration>
460 <executions>
461 <execution>
462 <id>clean-images</id>
463 <phase>pre-clean</phase>
464 <goals>
465 <goal>remove</goal>
466 </goals>
467 <configuration>
468 <removeAll>true</removeAll>
469 <image>onap/sdc-ui-tests</image>
470 </configuration>
471 </execution>
472
473 <execution>
474 <id>generate-images</id>
475 <phase>install</phase>
476 <goals>
477 <goal>build</goal>
478 </goals>
479 </execution>
480
481 <execution>
482 <id>push-images</id>
483 <phase>deploy</phase>
484 <goals>
485 <goal>push</goal>
486 </goals>
487 <configuration>
488 <image>onap/sdc-ui-tests</image>
489 </configuration>
490 </execution>
491 </executions>
492 </plugin>
493 </plugins>
494 </build>
Michael Lando5b593492018-07-29 16:13:45 +0300495 <!--<repositories>-->
496 <!--<repository>-->
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200497 </profile>
498 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300499 <!--<id>nexus_att_repository_id</id>-->
500 <!--<url>http://135.76.5.78:8083/nexus/content/groups/public</url>-->
501 <!--</repository>-->
502 <!--</repositories>-->
503 <!--<pluginRepositories>-->
504 <!--<pluginRepository>-->
505 <!--<id>nexus_att_repository_id</id>-->
506 <!--<url>http://135.76.5.78:8083/nexus/content/groups/public</url>-->
507 <!--</pluginRepository>-->
508 <!--</pluginRepositories>-->
Michael Landob3d48982017-06-11 14:22:02 +0300509</project>