blob: c1ea1396af99580a66785f65934df3ba895c5b17 [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>
Tal Gitelman05930e32018-09-16 17:31:01 +0300143 <exclusions>
144 <exclusion>
145 <artifactId>commons-collections</artifactId>
146 <groupId>commons-collections</groupId>
147 </exclusion>
148 </exclusions>
Michael Landob3d48982017-06-11 14:22:02 +0300149 </dependency>
150
151 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200152 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
153 <artifactId>sdc-titan-cassandra</artifactId>
154 <version>${sdc.titan.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300155 <scope>compile</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>org.codehaus.jackson</groupId>
160 <artifactId>jackson-mapper-asl</artifactId>
161 <version>1.9.2</version>
162 <scope>compile</scope>
163 </dependency>
164
165 <dependency>
166 <groupId>com.fasterxml.jackson.core</groupId>
167 <artifactId>jackson-databind</artifactId>
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +0200168 <version>${jackson.version}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300169 <scope>compile</scope>
170 </dependency>
171
172 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300173 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
174 <artifactId>sdc-distribution-client</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200175 <version>1.2.3</version>
Michael Landob3d48982017-06-11 14:22:02 +0300176 <scope>compile</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>junit</groupId>
181 <artifactId>junit</artifactId>
182 <version>${junit.version}</version>
183 <scope>compile</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>org.testng</groupId>
188 <artifactId>testng</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200189 <version>6.11</version>
Michael Landob3d48982017-06-11 14:22:02 +0300190 <scope>compile</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>xml-apis</groupId>
195 <artifactId>xml-apis</artifactId>
196 <version>1.4.01</version>
197 <scope>compile</scope>
198 </dependency>
199
200 <dependency>
201 <groupId>com.googlecode.json-simple</groupId>
202 <artifactId>json-simple</artifactId>
203 <version>${json-simple.version}</version>
204 <scope>compile</scope>
205 </dependency>
206
207 <dependency>
208 <groupId>org.apache.commons</groupId>
209 <artifactId>commons-jci-core</artifactId>
210 <version>${commons-jci-core.version}</version>
211 <scope>compile</scope>
212 </dependency>
213
214 <dependency>
Michael Landob3d48982017-06-11 14:22:02 +0300215 <groupId>commons-codec</groupId>
216 <artifactId>commons-codec</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200217 <version>${commons-codec}</version>
Michael Landob3d48982017-06-11 14:22:02 +0300218 <scope>compile</scope>
219 </dependency>
220
221 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200222 <groupId>com.aventstack</groupId>
223 <artifactId>extentreports</artifactId>
224 <version>3.0.6</version>
225 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300226 </dependency>
227
228 <dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200229 <groupId>net.lightbody.bmp</groupId>
shrikantawachar0ebace52018-04-09 13:03:56 +0530230 <!-- To use the legacy, Jetty-based implementation, change the artifactId
Michael Landoa5445102018-03-04 14:53:33 +0200231 to browsermob-core -->
232 <artifactId>browsermob-core</artifactId>
233 <version>2.1.4</version>
234 </dependency>
235
236 <dependency>
237 <groupId>com.github.markusbernhardt</groupId>
238 <artifactId>proxy-vole</artifactId>
239 <version>1.0.2</version>
240 </dependency>
241
242 <dependency>
243 <groupId>com.paulhammant</groupId>
244 <artifactId>ngwebdriver</artifactId>
245 <version>0.9.7</version>
246 <scope>compile</scope>
247 </dependency>
248
249 <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
Tal Gitelmane0199372018-09-18 11:57:53 +0300255 <dependency>
256 <groupId>org.codehaus.groovy</groupId>
257 <artifactId>groovy</artifactId>
Tal Gitelmane0199372018-09-18 11:57:53 +0300258 </dependency>
259
Michael Landob3d48982017-06-11 14:22:02 +0300260 </dependencies>
261
262 <build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200263
Michael Landob3d48982017-06-11 14:22:02 +0300264 <plugins>
Michael Lando5b593492018-07-29 16:13:45 +0300265
Michael Landob3d48982017-06-11 14:22:02 +0300266 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300267 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200268 <artifactId>maven-clean-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200269 <executions>
270 <execution>
271 <id>clean.tosca.chef.os.folder</id>
272 <phase>clean</phase>
273 <goals>
274 <goal>clean</goal>
275 </goals>
276 <configuration>
277 <filesets>
278
279 <!-- Sanity jar -->
280 <fileset>
281 <directory>${project.basedir}/sdc-ui-tests</directory>
282 <followSymlinks>false</followSymlinks>
283 <includes>
284 <include>*.jar</include>
285 </includes>
286 </fileset>
287 <!-- Sanity test suites -->
288 <fileset>
289 <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
290 <followSymlinks>false</followSymlinks>
291 </fileset>
292 </filesets>
293 </configuration>
294 </execution>
295 </executions>
296 </plugin>
297 <plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-deploy-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300300 <configuration>
301 <skip>true</skip>
302 </configuration>
303 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-assembly-plugin</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300307 <executions>
308 <execution>
309 <id>create.jar.with.dependencies</id>
310 <phase>package</phase>
311 <goals>
312 <goal>single</goal>
313 </goals>
314 <configuration>
315 <archive>
316 <manifest>
317 <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
318 </manifest>
319 </archive>
320 <descriptorRefs>
321 <descriptorRef>jar-with-dependencies</descriptorRef>
322 </descriptorRefs>
323 </configuration>
324 </execution>
325 </executions>
Yuli Shlosberg98369b12018-04-10 19:36:24 +0300326 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100327 <plugin>
328 <groupId>com.github.sylvainlaurent.maven</groupId>
329 <artifactId>yaml-json-validator-maven-plugin</artifactId>
330 <executions>
331 <execution>
332 <id>validate</id>
333 <phase>validate</phase>
334 <goals>
335 <goal>validate</goal>
336 </goals>
337 <configuration>
338 <validationSets>
339 <validationSet>
340 <includes>
341 <include>src/main/resources/**/*.y*ml</include>
342 <include>src/test/resources/**/*.y*ml</include>
343 </includes>
344 </validationSet>
345 <validationSet>
346 <includes>
347 <include>src/main/resources/**/*.json</include>
348 <include>src/test/resources/**/*.json</include>
349 </includes>
350 </validationSet>
351 </validationSets>
352 </configuration>
353 </execution>
354 </executions>
355 </plugin>
Michael Landob3d48982017-06-11 14:22:02 +0300356 </plugins>
357 </build>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200358 <profiles>
359 <profile>
360 <id>docker</id>
361 <activation>
362 <activeByDefault>false</activeByDefault>
363 </activation>
364 <build>
365 <plugins>
366 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300367 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200368 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200369 <executions>
370 <execution>
371 <id>copy-tests-suites</id>
372 <phase>verify</phase>
373 <goals>
374 <goal>copy-resources</goal>
375 </goals>
376 <configuration>
377 <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
378 <resources>
379 <resource>
380 <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
381 <includes>
382 <include>*</include>
383 </includes>
384 </resource>
385 </resources>
386 </configuration>
387 </execution>
388
389 <execution>
Yuli Shlosberg17889832018-04-08 14:03:29 +0300390 <id>copy-csar-files</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/Files/VNFs</outputDirectory>
397 <resources>
398 <resource>
399 <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
400 <includes>
401 <include>*</include>
402 </includes>
403 </resource>
404 </resources>
405 </configuration>
406 </execution>
407
408 <execution>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200409 <id>copy-resources-ui-ci</id>
410 <phase>verify</phase>
411 <goals>
412 <goal>copy-resources</goal>
413 </goals>
414 <configuration>
415 <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
416 <resources>
417 <resource>
418 <directory>${project.parent.basedir}/ui-ci/target</directory>
419 <includes>
420 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
421 </includes>
422 </resource>
423 </resources>
424 </configuration>
425 </execution>
426 </executions>
427 </plugin>
428
429 <plugin>
430 <groupId>io.fabric8</groupId>
431 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200432 <configuration>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200433 <apiVersion>1.23</apiVersion>
434 <registry>nexus3.onap.org:10001</registry>
435 <authConfig>
436 <pull>
437 <username>docker</username>
438 <password>docker</password>
439 </pull>
440 </authConfig>
441 <images>
442
443 <!-- Build sanity image -->
444 <image>
445 <name>onap/sdc-ui-tests</name>
446 <alias>sdc-ui-sanity</alias>
447 <build>
448 <cleanup>try</cleanup>
449 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
450 <tags>
451 <tag>${docker.tag}</tag>
Yuli Shlosbergf59a2252018-03-21 11:14:08 +0200452 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
453 </tags>
454 </build>
455 </image>
456
457 </images>
458 </configuration>
459 <executions>
460 <execution>
461 <id>clean-images</id>
462 <phase>pre-clean</phase>
463 <goals>
464 <goal>remove</goal>
465 </goals>
466 <configuration>
467 <removeAll>true</removeAll>
468 <image>onap/sdc-ui-tests</image>
469 </configuration>
470 </execution>
471
472 <execution>
473 <id>generate-images</id>
474 <phase>install</phase>
475 <goals>
476 <goal>build</goal>
477 </goals>
478 </execution>
479
480 <execution>
481 <id>push-images</id>
482 <phase>deploy</phase>
483 <goals>
484 <goal>push</goal>
485 </goals>
486 <configuration>
487 <image>onap/sdc-ui-tests</image>
488 </configuration>
489 </execution>
490 </executions>
491 </plugin>
492 </plugins>
493 </build>
494 </profile>
495 </profiles>
Michael Landob3d48982017-06-11 14:22:02 +0300496</project>