fix security vilation CVE-2015-3253
[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                         <version>2.4.8</version>
259                 </dependency>
260
261         </dependencies>
262
263         <build>
264
265                 <plugins>
266
267                         <plugin>
268                                 <groupId>org.apache.maven.plugins</groupId>
269                                 <artifactId>maven-clean-plugin</artifactId>
270                                 <executions>
271                                         <execution>
272                                                 <id>clean.tosca.chef.os.folder</id>
273                                                 <phase>clean</phase>
274                                                 <goals>
275                                                         <goal>clean</goal>
276                                                 </goals>
277                                                 <configuration>
278                                                         <filesets>
279
280                                                                 <!-- Sanity jar -->
281                                                                 <fileset>
282                                                                         <directory>${project.basedir}/sdc-ui-tests</directory>
283                                                                         <followSymlinks>false</followSymlinks>
284                                                                         <includes>
285                                                                                 <include>*.jar</include>
286                                                                         </includes>
287                                                                 </fileset>
288                                                                 <!-- Sanity test suites -->
289                                                                 <fileset>
290                                                                         <directory>${project.basedir}/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</directory>
291                                                                         <followSymlinks>false</followSymlinks>
292                                                                 </fileset>
293                                                         </filesets>
294                                                 </configuration>
295                                         </execution>
296                                 </executions>
297                         </plugin>
298                         <plugin>
299                                 <groupId>org.apache.maven.plugins</groupId>
300                                 <artifactId>maven-deploy-plugin</artifactId>
301                                 <configuration>
302                                         <skip>true</skip>
303                                 </configuration>
304                         </plugin>
305                         <plugin>
306                                 <groupId>org.apache.maven.plugins</groupId>
307                                 <artifactId>maven-assembly-plugin</artifactId>
308                                 <executions>
309                                         <execution>
310                                                 <id>create.jar.with.dependencies</id>
311                                                 <phase>package</phase>
312                                                 <goals>
313                                                         <goal>single</goal>
314                                                 </goals>
315                                                 <configuration>
316                                                         <archive>
317                                                                 <manifest>
318                                                                         <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
319                                                                 </manifest>
320                                                         </archive>
321                                                         <descriptorRefs>
322                                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
323                                                         </descriptorRefs>
324                                                 </configuration>
325                                         </execution>
326                                 </executions>
327                         </plugin>
328                         <plugin>
329                                 <groupId>com.github.sylvainlaurent.maven</groupId>
330                                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
331                                 <executions>
332                                         <execution>
333                                                 <id>validate</id>
334                                                 <phase>validate</phase>
335                                                 <goals>
336                                                         <goal>validate</goal>
337                                                 </goals>
338                                                 <configuration>
339                                                         <validationSets>
340                                                                 <validationSet>
341                                                                         <includes>
342                                                                                 <include>src/main/resources/**/*.y*ml</include>
343                                                                                 <include>src/test/resources/**/*.y*ml</include>
344                                                                         </includes>
345                                                                 </validationSet>
346                                                                 <validationSet>
347                                                                         <includes>
348                                                                                 <include>src/main/resources/**/*.json</include>
349                                                                                 <include>src/test/resources/**/*.json</include>
350                                                                         </includes>
351                                                                 </validationSet>
352                                                         </validationSets>
353                                                 </configuration>
354                                         </execution>
355                                 </executions>
356                         </plugin>
357                 </plugins>
358         </build>
359         <profiles>
360                 <profile>
361                         <id>docker</id>
362                         <activation>
363                                 <activeByDefault>false</activeByDefault>
364                         </activation>
365                         <build>
366                                 <plugins>
367                                         <plugin>
368                                                 <groupId>org.apache.maven.plugins</groupId>
369                                                 <artifactId>maven-resources-plugin</artifactId>
370                                                 <executions>
371                                                         <execution>
372                                                                 <id>copy-tests-suites</id>
373                                                                 <phase>verify</phase>
374                                                                 <goals>
375                                                                         <goal>copy-resources</goal>
376                                                                 </goals>
377                                                                 <configuration>
378                                                                         <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/testSuites</outputDirectory>
379                                                                         <resources>
380                                                                                 <resource>
381                                                                                         <directory>${project.parent.basedir}/ui-ci/src/main/resources/ci/testSuites</directory>
382                                                                                         <includes>
383                                                                                                 <include>*</include>
384                                                                                         </includes>
385                                                                                 </resource>
386                                                                         </resources>
387                                                                 </configuration>
388                                                         </execution>
389
390                                                         <execution>
391                                                                 <id>copy-csar-files</id>
392                                                                 <phase>verify</phase>
393                                                                 <goals>
394                                                                         <goal>copy-resources</goal>
395                                                                 </goals>
396                                                                 <configuration>
397                                                                         <outputDirectory>sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/files/default/Files/VNFs</outputDirectory>
398                                                                         <resources>
399                                                                                 <resource>
400                                                                                         <directory>${project.parent.basedir}/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/VNFs</directory>
401                                                                                         <includes>
402                                                                                                 <include>*</include>
403                                                                                         </includes>
404                                                                                 </resource>
405                                                                         </resources>
406                                                                 </configuration>
407                                                         </execution>
408
409                                                         <execution>
410                                                                 <id>copy-resources-ui-ci</id>
411                                                                 <phase>verify</phase>
412                                                                 <goals>
413                                                                         <goal>copy-resources</goal>
414                                                                 </goals>
415                                                                 <configuration>
416                                                                         <outputDirectory>${basedir}/sdc-ui-tests</outputDirectory>
417                                                                         <resources>
418                                                                                 <resource>
419                                                                                         <directory>${project.parent.basedir}/ui-ci/target</directory>
420                                                                                         <includes>
421                                                                                                 <include>ui-ci-${project.version}-jar-with-dependencies.jar</include>
422                                                                                         </includes>
423                                                                                 </resource>
424                                                                         </resources>
425                                                                 </configuration>
426                                                         </execution>
427                                                 </executions>
428                                         </plugin>
429
430                                         <plugin>
431                                                 <groupId>io.fabric8</groupId>
432                                                 <artifactId>docker-maven-plugin</artifactId>
433                                                 <configuration>
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>
453                                                                                         <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>
495                 </profile>
496         </profiles>
497 </project>