Update release notes for R3 MR
[sdc.git] / ui-ci / pom.xml
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">
3
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>
12                 <version>1.3.7-SNAPSHOT</version>
13         </parent>
14
15         <properties>
16                 <sonar.skip>true</sonar.skip>
17                 <jacoco.skip>true</jacoco.skip>
18                 <aspectj.version>1.8.10</aspectj.version>
19         </properties>
20
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>
28
29                 <dependency>
30                         <groupId>org.seleniumhq.selenium</groupId>
31                         <artifactId>selenium-java</artifactId>
32
33                         <version>2.53.1</version>
34                         <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>
46                 </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>
73                         <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>
82                 <dependency>
83                         <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>
100                         <version>${httpclient.version}</version>
101                         <scope>compile</scope>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.apache.httpcomponents</groupId>
106                         <artifactId>httpmime</artifactId>
107                         <version>${httpclient.version}</version>
108                         <scope>compile</scope>
109                 </dependency>
110
111                 <dependency>
112                         <groupId>commons-logging</groupId>
113                         <artifactId>commons-logging</artifactId>
114                         <version>${commons-logging}</version>
115                         <scope>compile</scope>
116                 </dependency>
117
118                 <dependency>
119                         <groupId>org.slf4j</groupId>
120                         <artifactId>slf4j-api</artifactId>
121                         <version>${slf4j-api.version}</version>
122                         <scope>compile</scope>
123                 </dependency>
124
125                 <dependency>
126                         <groupId>ch.qos.logback</groupId>
127                         <artifactId>logback-classic</artifactId>
128                         <version>${logback.version}</version>
129                         <scope>compile</scope>
130                 </dependency>
131
132                 <dependency>
133                         <groupId>ch.qos.logback</groupId>
134                         <artifactId>logback-core</artifactId>
135                         <version>${logback.version}</version>
136                         <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>
153                         <exclusions>
154                                 <exclusion>
155                                         <artifactId>commons-collections</artifactId>
156                                         <groupId>commons-collections</groupId>
157                                 </exclusion>
158                                 <exclusion>
159                                         <artifactId>groovy</artifactId>
160                                         <groupId>org.codehaus.groovy</groupId>
161                                 </exclusion>
162                         </exclusions>
163                 </dependency>
164
165                 <dependency>
166                         <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
167                         <artifactId>sdc-titan-cassandra</artifactId>
168                         <version>${sdc.titan.version}</version>
169                         <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>
182                         <version>${jackson.version}</version>
183                         <scope>compile</scope>
184                 </dependency>
185
186                 <dependency>
187                         <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
188                         <artifactId>sdc-distribution-client</artifactId>
189                         <version>1.2.3</version>
190                         <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>
203                         <version>6.11</version>
204                         <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>
229                         <groupId>commons-codec</groupId>
230                         <artifactId>commons-codec</artifactId>
231                         <version>${commons-codec}</version>
232                         <scope>compile</scope>
233                 </dependency>
234
235                 <dependency>
236                         <groupId>com.aventstack</groupId>
237                         <artifactId>extentreports</artifactId>
238                         <version>3.0.6</version>
239                         <scope>compile</scope>
240                 </dependency>
241
242                 <dependency>
243                         <groupId>net.lightbody.bmp</groupId>
244                         <!-- To use the legacy, Jetty-based implementation, change the artifactId
245                                 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>
268
269                 <dependency>
270                         <groupId>org.codehaus.groovy</groupId>
271                         <artifactId>groovy</artifactId>
272                 </dependency>
273
274                 <dependency>
275                         <groupId>io.netty</groupId>
276                         <artifactId>netty-handler</artifactId>
277                 </dependency>
278
279         </dependencies>
280
281         <build>
282
283                 <plugins>
284
285                         <plugin>
286                                 <groupId>org.apache.maven.plugins</groupId>
287                                 <artifactId>maven-clean-plugin</artifactId>
288                                 <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                                                                 <!-- 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>
316                                                         </filesets>
317                                                 </configuration>
318                                         </execution>
319                                 </executions>
320                         </plugin>
321                         <plugin>
322                                 <groupId>org.apache.maven.plugins</groupId>
323                                 <artifactId>maven-deploy-plugin</artifactId>
324                                 <configuration>
325                                         <skip>true</skip>
326                                 </configuration>
327                         </plugin>
328                         <plugin>
329                                 <groupId>org.apache.maven.plugins</groupId>
330                                 <artifactId>maven-assembly-plugin</artifactId>
331                                 <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>
350                         </plugin>
351                         <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>
380                 </plugins>
381         </build>
382         <profiles>
383                 <profile>
384                         <id>docker</id>
385                         <activation>
386                                 <activeByDefault>false</activeByDefault>
387                         </activation>
388                         <build>
389                                 <plugins>
390                                         <plugin>
391                                                 <groupId>org.apache.maven.plugins</groupId>
392                                                 <artifactId>maven-resources-plugin</artifactId>
393                                                 <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>
414                                                                 <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>
433                                                                 <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>
456                                                 <configuration>
457                                                         <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>
476                                                                                         <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>
520 </project>