fix netty security violation
[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.0-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                         <!-- <version>21.0</version> -->
27                         <scope>compile</scope>
28                 </dependency>
29
30                 <dependency>
31                         <groupId>org.seleniumhq.selenium</groupId>
32                         <artifactId>selenium-java</artifactId>
33                         <version>2.53.1</version>
34                         <!-- <version>3.4.0</version> -->
35                 </dependency>
36
37                 <dependency>
38                         <groupId>org.seleniumhq.selenium</groupId>
39                         <artifactId>selenium-server</artifactId>
40                         <version>2.53.1</version>
41                         <!-- <version>3.4.0</version> -->
42                         <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>
63                         <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>
72                 <dependency>
73                         <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>
90                         <version>${httpclient.version}</version>
91                         <scope>compile</scope>
92                 </dependency>
93
94                 <dependency>
95                         <groupId>org.apache.httpcomponents</groupId>
96                         <artifactId>httpmime</artifactId>
97                         <version>${httpclient.version}</version>
98                         <scope>compile</scope>
99                 </dependency>
100
101                 <dependency>
102                         <groupId>commons-logging</groupId>
103                         <artifactId>commons-logging</artifactId>
104                         <version>${commons-logging}</version>
105                         <scope>compile</scope>
106                 </dependency>
107
108                 <dependency>
109                         <groupId>org.slf4j</groupId>
110                         <artifactId>slf4j-api</artifactId>
111                         <version>${slf4j-api.version}</version>
112                         <scope>compile</scope>
113                 </dependency>
114
115                 <dependency>
116                         <groupId>ch.qos.logback</groupId>
117                         <artifactId>logback-classic</artifactId>
118                         <version>${logback.version}</version>
119                         <scope>compile</scope>
120                 </dependency>
121
122                 <dependency>
123                         <groupId>ch.qos.logback</groupId>
124                         <artifactId>logback-core</artifactId>
125                         <version>${logback.version}</version>
126                         <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                         <exclusions>
144                                 <exclusion>
145                                         <artifactId>commons-collections</artifactId>
146                                         <groupId>commons-collections</groupId>
147                                 </exclusion>
148                         </exclusions>
149                 </dependency>
150
151                 <dependency>
152                         <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
153                         <artifactId>sdc-titan-cassandra</artifactId>
154                         <version>${sdc.titan.version}</version>
155                         <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>
168                         <version>${jackson.version}</version>
169                         <scope>compile</scope>
170                 </dependency>
171
172                 <dependency>
173                         <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
174                         <artifactId>sdc-distribution-client</artifactId>
175                         <version>1.2.3</version>
176                         <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>
189                         <version>6.11</version>
190                         <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>
215                         <groupId>commons-codec</groupId>
216                         <artifactId>commons-codec</artifactId>
217                         <version>${commons-codec}</version>
218                         <scope>compile</scope>
219                 </dependency>
220
221                 <dependency>
222                         <groupId>com.aventstack</groupId>
223                         <artifactId>extentreports</artifactId>
224                         <version>3.0.6</version>
225                         <scope>compile</scope>
226                 </dependency>
227
228                 <dependency>
229                         <groupId>net.lightbody.bmp</groupId>
230                         <!-- To use the legacy, Jetty-based implementation, change the artifactId
231                                 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>
254
255                 <dependency>
256                         <groupId>org.codehaus.groovy</groupId>
257                         <artifactId>groovy</artifactId>
258                 </dependency>
259
260                 <dependency>
261                         <groupId>io.netty</groupId>
262                         <artifactId>netty-handler</artifactId>
263                 </dependency>
264
265         </dependencies>
266
267         <build>
268
269                 <plugins>
270
271                         <plugin>
272                                 <groupId>org.apache.maven.plugins</groupId>
273                                 <artifactId>maven-clean-plugin</artifactId>
274                                 <executions>
275                                         <execution>
276                                                 <id>clean.tosca.chef.os.folder</id>
277                                                 <phase>clean</phase>
278                                                 <goals>
279                                                         <goal>clean</goal>
280                                                 </goals>
281                                                 <configuration>
282                                                         <filesets>
283
284                                                                 <!-- Sanity jar -->
285                                                                 <fileset>
286                                                                         <directory>${project.basedir}/sdc-ui-tests</directory>
287                                                                         <followSymlinks>false</followSymlinks>
288                                                                         <includes>
289                                                                                 <include>*.jar</include>
290                                                                         </includes>
291                                                                 </fileset>
292                                                                 <!-- Sanity test suites -->
293                                                                 <fileset>
294                                                                         <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
295                                                                         <followSymlinks>false</followSymlinks>
296                                                                 </fileset>
297                                                         </filesets>
298                                                 </configuration>
299                                         </execution>
300                                 </executions>
301                         </plugin>
302                         <plugin>
303                                 <groupId>org.apache.maven.plugins</groupId>
304                                 <artifactId>maven-deploy-plugin</artifactId>
305                                 <configuration>
306                                         <skip>true</skip>
307                                 </configuration>
308                         </plugin>
309                         <plugin>
310                                 <groupId>org.apache.maven.plugins</groupId>
311                                 <artifactId>maven-assembly-plugin</artifactId>
312                                 <executions>
313                                         <execution>
314                                                 <id>create.jar.with.dependencies</id>
315                                                 <phase>package</phase>
316                                                 <goals>
317                                                         <goal>single</goal>
318                                                 </goals>
319                                                 <configuration>
320                                                         <archive>
321                                                                 <manifest>
322                                                                         <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
323                                                                 </manifest>
324                                                         </archive>
325                                                         <descriptorRefs>
326                                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
327                                                         </descriptorRefs>
328                                                 </configuration>
329                                         </execution>
330                                 </executions>
331                         </plugin>
332                         <plugin>
333                                 <groupId>com.github.sylvainlaurent.maven</groupId>
334                                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
335                                 <executions>
336                                         <execution>
337                                                 <id>validate</id>
338                                                 <phase>validate</phase>
339                                                 <goals>
340                                                         <goal>validate</goal>
341                                                 </goals>
342                                                 <configuration>
343                                                         <validationSets>
344                                                                 <validationSet>
345                                                                         <includes>
346                                                                                 <include>src/main/resources/**/*.y*ml</include>
347                                                                                 <include>src/test/resources/**/*.y*ml</include>
348                                                                         </includes>
349                                                                 </validationSet>
350                                                                 <validationSet>
351                                                                         <includes>
352                                                                                 <include>src/main/resources/**/*.json</include>
353                                                                                 <include>src/test/resources/**/*.json</include>
354                                                                         </includes>
355                                                                 </validationSet>
356                                                         </validationSets>
357                                                 </configuration>
358                                         </execution>
359                                 </executions>
360                         </plugin>
361                 </plugins>
362         </build>
363         <profiles>
364                 <profile>
365                         <id>docker</id>
366                         <activation>
367                                 <activeByDefault>false</activeByDefault>
368                         </activation>
369                         <build>
370                                 <plugins>
371                                         <plugin>
372                                                 <groupId>org.apache.maven.plugins</groupId>
373                                                 <artifactId>maven-resources-plugin</artifactId>
374                                                 <executions>
375                                                         <execution>
376                                                                 <id>copy-tests-suites</id>
377                                                                 <phase>verify</phase>
378                                                                 <goals>
379                                                                         <goal>copy-resources</goal>
380                                                                 </goals>
381                                                                 <configuration>
382                                                                         <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
383                                                                         <resources>
384                                                                                 <resource>
385                                                                                         <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
386                                                                                         <includes>
387                                                                                                 <include>*</include>
388                                                                                         </includes>
389                                                                                 </resource>
390                                                                         </resources>
391                                                                 </configuration>
392                                                         </execution>
393
394                                                         <execution>
395                                                                 <id>copy-csar-files</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/Files/VNFs</outputDirectory>
402                                                                         <resources>
403                                                                                 <resource>
404                                                                                         <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
405                                                                                         <includes>
406                                                                                                 <include>*</include>
407                                                                                         </includes>
408                                                                                 </resource>
409                                                                         </resources>
410                                                                 </configuration>
411                                                         </execution>
412
413                                                         <execution>
414                                                                 <id>copy-resources-ui-ci</id>
415                                                                 <phase>verify</phase>
416                                                                 <goals>
417                                                                         <goal>copy-resources</goal>
418                                                                 </goals>
419                                                                 <configuration>
420                                                                         <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
421                                                                         <resources>
422                                                                                 <resource>
423                                                                                         <directory>${project.parent.basedir}/ui-ci/target</directory>
424                                                                                         <includes>
425                                                                                                 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
426                                                                                         </includes>
427                                                                                 </resource>
428                                                                         </resources>
429                                                                 </configuration>
430                                                         </execution>
431                                                 </executions>
432                                         </plugin>
433
434                                         <plugin>
435                                                 <groupId>io.fabric8</groupId>
436                                                 <artifactId>docker-maven-plugin</artifactId>
437                                                 <configuration>
438                                                         <apiVersion>1.23</apiVersion>
439                                                         <registry>nexus3.onap.org:10001</registry>
440                                                         <authConfig>
441                                                                 <pull>
442                                                                         <username>docker</username>
443                                                                         <password>docker</password>
444                                                                 </pull>
445                                                         </authConfig>
446                                                         <images>
447
448                                                                 <!-- Build sanity image -->
449                                                                 <image>
450                                                                         <name>onap/sdc-ui-tests</name>
451                                                                         <alias>sdc-ui-sanity</alias>
452                                                                         <build>
453                                                                                 <cleanup>try</cleanup>
454                                                                                 <dockerFileDir>${project.basedir}/sdc-ui-tests</dockerFileDir>
455                                                                                 <tags>
456                                                                                         <tag>${docker.tag}</tag>
457                                                                                         <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
458                                                                                 </tags>
459                                                                         </build>
460                                                                 </image>
461
462                                                         </images>
463                                                 </configuration>
464                                                 <executions>
465                                                         <execution>
466                                                                 <id>clean-images</id>
467                                                                 <phase>pre-clean</phase>
468                                                                 <goals>
469                                                                         <goal>remove</goal>
470                                                                 </goals>
471                                                                 <configuration>
472                                                                         <removeAll>true</removeAll>
473                                                                         <image>onap/sdc-ui-tests</image>
474                                                                 </configuration>
475                                                         </execution>
476
477                                                         <execution>
478                                                                 <id>generate-images</id>
479                                                                 <phase>install</phase>
480                                                                 <goals>
481                                                                         <goal>build</goal>
482                                                                 </goals>
483                                                         </execution>
484
485                                                         <execution>
486                                                                 <id>push-images</id>
487                                                                 <phase>deploy</phase>
488                                                                 <goals>
489                                                                         <goal>push</goal>
490                                                                 </goals>
491                                                                 <configuration>
492                                                                         <image>onap/sdc-ui-tests</image>
493                                                                 </configuration>
494                                                         </execution>
495                                                 </executions>
496                                         </plugin>
497                                 </plugins>
498                         </build>
499                 </profile>
500         </profiles>
501 </project>