Fix for Penetration test _ Session and cookie management
[vid.git] / vid-automation / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <groupId>org.onap.vid</groupId>
6     <artifactId>automationTest</artifactId>
7     <version>1.0-SNAPSHOT</version>
8     <properties>
9         <springframework.version>5.2.3.RELEASE</springframework.version>
10         <jersey.version>2.29</jersey.version>
11         <jackson.version>2.9.9</jackson.version>
12         <jackson.databind.version>2.9.9.3</jackson.databind.version>
13         <aspectj.version>1.8.10</aspectj.version>
14         <selenium.version>3.141.59</selenium.version>
15         <log4j.version>2.13.0</log4j.version>
16         <apachehttp.version>4.5.11</apachehttp.version>
17
18     </properties>
19
20     <dependencies>
21         <dependency>
22             <groupId>com.google.guava</groupId>
23             <artifactId>guava</artifactId>
24             <version>28.2-jre</version>
25         </dependency>
26         <dependency>
27             <groupId>org.apache.logging.log4j</groupId>
28             <artifactId>log4j-api</artifactId>
29             <version>${log4j.version}</version>
30         </dependency>
31         <dependency>
32             <groupId>org.apache.logging.log4j</groupId>
33             <artifactId>log4j-core</artifactId>
34             <version>${log4j.version}</version>
35         </dependency>
36         <dependency>
37             <groupId>org.apache.logging.log4j</groupId>
38             <artifactId>log4j-1.2-api</artifactId>
39             <version>${log4j.version}</version>
40         </dependency>
41         <dependency>
42             <groupId>javax.ws.rs</groupId>
43             <artifactId>javax.ws.rs-api</artifactId>
44             <version>2.0.1</version>
45         </dependency>
46
47         <dependency>
48             <groupId>com.aventstack</groupId>
49             <artifactId>extentreports</artifactId>
50             <version>3.1.5</version>
51         </dependency>
52
53         <dependency>
54             <groupId>ch.qos.logback</groupId>
55             <artifactId>logback-classic</artifactId>
56             <version>LATEST</version>
57         </dependency>
58         <dependency>
59             <groupId>com.github.markusbernhardt</groupId>
60             <artifactId>proxy-vole</artifactId>
61             <version>1.0.2</version>
62         </dependency>
63         <dependency>
64             <groupId>org.apache.httpcomponents</groupId>
65             <artifactId>httpclient</artifactId>
66             <version>${apachehttp.version}</version>
67         </dependency>
68         <dependency>
69             <groupId>org.apache.httpcomponents</groupId>
70             <artifactId>httpmime</artifactId>
71             <version>${apachehttp.version}</version>
72         </dependency>
73         <dependency>
74             <groupId>com.paulhammant</groupId>
75             <artifactId>ngwebdriver</artifactId>
76             <version>0.9.7</version>
77         </dependency>
78         <dependency>
79             <groupId>org.yaml</groupId>
80             <artifactId>snakeyaml</artifactId>
81             <version>1.25</version>
82         </dependency>
83         <dependency>
84             <groupId>joda-time</groupId>
85             <artifactId>joda-time</artifactId>
86             <version>2.9.9</version>
87         </dependency>
88         <dependency>
89             <groupId>net.lightbody.bmp</groupId>
90             <artifactId>browsermob-core</artifactId>
91             <version>2.1.4</version>
92         </dependency>
93         <dependency>
94             <groupId>junit</groupId>
95             <artifactId>junit</artifactId>
96             <version>RELEASE</version>
97         </dependency>
98
99         <dependency>
100             <groupId>org.seleniumhq.selenium</groupId>
101             <artifactId>selenium-java</artifactId>
102             <version>${selenium.version}</version>
103         </dependency>
104         <dependency>
105             <groupId>org.seleniumhq.selenium</groupId>
106             <artifactId>selenium-server</artifactId>
107             <version>${selenium.version}</version>
108             <scope>runtime</scope>
109         </dependency>
110
111         <dependency>
112             <groupId>org.seleniumhq.selenium</groupId>
113             <artifactId>selenium-api</artifactId>
114             <version>${selenium.version}</version>
115         </dependency>
116         <dependency>
117             <groupId>org.functionaljava</groupId>
118             <artifactId>functionaljava</artifactId>
119             <version>RELEASE</version>
120         </dependency>
121         <dependency>
122             <groupId>org.testng</groupId>
123             <artifactId>testng</artifactId>
124             <version>6.14.3</version>
125         </dependency>
126         <dependency>
127             <groupId>org.glassfish.jersey.core</groupId>
128             <artifactId>jersey-common</artifactId>
129             <version>${jersey.version}</version>
130         </dependency>
131         <dependency>
132             <groupId>org.glassfish.jersey.core</groupId>
133             <artifactId>jersey-client</artifactId>
134             <version>${jersey.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.glassfish.jersey.media</groupId>
138             <artifactId>jersey-media-json-jackson</artifactId>
139             <version>${jersey.version}</version>
140         </dependency>
141         <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
142         <dependency>
143             <groupId>org.glassfish.jersey.inject</groupId>
144             <artifactId>jersey-hk2</artifactId>
145             <version>${jersey.version}</version>
146         </dependency>
147         <dependency>
148             <groupId>com.fasterxml.jackson.core</groupId>
149             <artifactId>jackson-annotations</artifactId>
150             <version>${jackson.version}</version>
151         </dependency>
152         <dependency>
153             <groupId>com.fasterxml.jackson.core</groupId>
154             <artifactId>jackson-core</artifactId>
155             <version>${jackson.version}</version>
156         </dependency>
157         <dependency>
158             <groupId>com.fasterxml.jackson.core</groupId>
159             <artifactId>jackson-databind</artifactId>
160             <version>${jackson.databind.version}</version>
161         </dependency>
162         <dependency>
163             <groupId>commons-beanutils</groupId>
164             <artifactId>commons-beanutils</artifactId>
165             <version>1.9.4</version>
166         </dependency>
167         <dependency>
168             <groupId>org.springframework</groupId>
169             <artifactId>spring-web</artifactId>
170             <version>${springframework.version}</version>
171         </dependency>
172         <dependency>
173             <groupId>org.skyscreamer</groupId>
174             <artifactId>jsonassert</artifactId>
175             <version>1.5.0</version>
176         </dependency>
177         <dependency>
178             <groupId>commons-io</groupId>
179             <artifactId>commons-io</artifactId>
180             <version>2.5</version>
181         </dependency>
182         <dependency>
183             <groupId>org.mariadb.jdbc</groupId>
184             <artifactId>mariadb-java-client</artifactId>
185             <version>1.4.6</version>
186         </dependency>
187         <dependency>
188             <groupId>org.hamcrest</groupId>
189             <artifactId>java-hamcrest</artifactId>
190             <version>2.0.0.0</version>
191         </dependency>
192         <dependency>
193             <groupId>org.apache.commons</groupId>
194             <artifactId>commons-text</artifactId>
195             <version>1.8</version>
196         </dependency>
197         <dependency>
198             <groupId>org.apache.commons</groupId>
199             <artifactId>commons-lang3</artifactId>
200             <version>3.9</version>
201         </dependency>
202         <dependency>
203             <groupId>org.apache.commons</groupId>
204             <artifactId>commons-proxy</artifactId>
205             <version>1.0</version>
206         </dependency>
207
208         <dependency>
209             <groupId>net.javacrumbs.json-unit</groupId>
210             <artifactId>json-unit</artifactId>
211             <version>2.2.0</version>
212         </dependency>
213         <dependency>
214             <groupId>org.togglz</groupId>
215             <artifactId>togglz-spring-core</artifactId>
216             <version>2.5.0.Final</version>
217         </dependency>
218         <dependency>
219             <groupId>javax.enterprise</groupId>
220             <artifactId>cdi-api</artifactId>
221             <version>1.0</version>
222         </dependency>
223         <dependency>
224             <groupId>net.code-story</groupId>
225             <artifactId>http</artifactId>
226             <version>2.105</version>
227             <scope>test</scope>
228         </dependency>
229         <dependency>
230             <groupId>javax.xml.bind</groupId>
231             <artifactId>jaxb-api</artifactId>
232             <version>2.2.11</version>
233         </dependency>
234     </dependencies>
235     <build>
236         <plugins>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-compiler-plugin</artifactId>
240                 <version>3.8.1</version>
241                 <configuration>
242                     <source>1.8</source>
243                     <target>1.8</target>
244                     <debug>true</debug>
245                     <debuglevel>lines,vars,source</debuglevel>
246                 </configuration>
247             </plugin>
248             <plugin>
249                 <groupId>org.apache.maven.plugins</groupId>
250                 <artifactId>maven-assembly-plugin</artifactId>
251                 <version>3.2.0</version>
252                 <executions>
253                     <execution>
254                         <id>create.jar.with.dependencies</id>
255                         <phase>package</phase>
256                         <goals>
257                             <goal>single</goal>
258                         </goals>
259                         <configuration>
260                             <archive>
261                                 <manifest>
262                                     <mainClass>vid.automation.test.StartTest</mainClass>
263                                 </manifest>
264                             </archive>
265                             <descriptorRefs>
266                                 <descriptorRef>jar-with-dependencies</descriptorRef>
267                             </descriptorRefs>
268                         </configuration>
269                     </execution>
270                 </executions>
271             </plugin>
272             <plugin>
273                 <groupId>org.apache.maven.plugins</groupId>
274                 <artifactId>maven-surefire-plugin</artifactId>
275                 <version>2.22.2</version>
276                 <configuration>
277                     <includes>
278                         <include>${test}</include>
279                     </includes>
280                     <systemPropertyVariables>
281                         <log4j.configurationFile>./conf/log4j2.xml</log4j.configurationFile>
282                     </systemPropertyVariables>
283                     <suiteXmlFiles>
284                         <suiteXmlFile>TestNg-ApiTest.xml</suiteXmlFile>
285                     </suiteXmlFiles>
286                     <argLine>
287                         -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
288                     </argLine>
289                     <useSystemClassLoader>false</useSystemClassLoader>
290                 </configuration>
291             </plugin>
292         </plugins>
293     </build>
294 </project>