Merge "Translate owning entity name to owning entity ID - update api test to except...
[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.1.9.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.12.0</log4j.version>
16         <apachehttp.version>4.4.1</apachehttp.version>
17
18     </properties>
19
20     <dependencies>
21         <dependency>
22             <groupId>com.google.guava</groupId>
23             <artifactId>guava</artifactId>
24             <version>23.0</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>httpcore</artifactId>
71             <version>${apachehttp.version}</version>
72         </dependency>
73         <dependency>
74             <groupId>org.apache.httpcomponents</groupId>
75             <artifactId>httpmime</artifactId>
76             <version>${apachehttp.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>com.paulhammant</groupId>
80             <artifactId>ngwebdriver</artifactId>
81             <version>0.9.7</version>
82         </dependency>
83         <dependency>
84             <groupId>org.yaml</groupId>
85             <artifactId>snakeyaml</artifactId>
86             <version>1.14</version>
87         </dependency>
88         <dependency>
89             <groupId>joda-time</groupId>
90             <artifactId>joda-time</artifactId>
91             <version>2.9.9</version>
92         </dependency>
93         <dependency>
94             <groupId>net.lightbody.bmp</groupId>
95             <artifactId>browsermob-core</artifactId>
96             <version>2.1.4</version>
97         </dependency>
98         <dependency>
99             <groupId>junit</groupId>
100             <artifactId>junit</artifactId>
101             <version>RELEASE</version>
102         </dependency>
103
104         <dependency>
105             <groupId>org.seleniumhq.selenium</groupId>
106             <artifactId>selenium-java</artifactId>
107             <version>${selenium.version}</version>
108         </dependency>
109         <dependency>
110             <groupId>org.seleniumhq.selenium</groupId>
111             <artifactId>selenium-server</artifactId>
112             <version>${selenium.version}</version>
113             <scope>runtime</scope>
114         </dependency>
115
116         <dependency>
117             <groupId>org.seleniumhq.selenium</groupId>
118             <artifactId>selenium-api</artifactId>
119             <version>${selenium.version}</version>
120         </dependency>
121         <dependency>
122             <groupId>org.functionaljava</groupId>
123             <artifactId>functionaljava</artifactId>
124             <version>RELEASE</version>
125         </dependency>
126         <dependency>
127             <groupId>org.testng</groupId>
128             <artifactId>testng</artifactId>
129             <version>6.14.3</version>
130         </dependency>
131         <dependency>
132             <groupId>org.glassfish.jersey.core</groupId>
133             <artifactId>jersey-common</artifactId>
134             <version>${jersey.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.glassfish.jersey.core</groupId>
138             <artifactId>jersey-client</artifactId>
139             <version>${jersey.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>org.glassfish.jersey.media</groupId>
143             <artifactId>jersey-media-json-jackson</artifactId>
144             <version>${jersey.version}</version>
145         </dependency>
146         <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
147         <dependency>
148             <groupId>org.glassfish.jersey.inject</groupId>
149             <artifactId>jersey-hk2</artifactId>
150             <version>${jersey.version}</version>
151         </dependency>
152         <dependency>
153             <groupId>com.fasterxml.jackson.core</groupId>
154             <artifactId>jackson-annotations</artifactId>
155             <version>${jackson.version}</version>
156         </dependency>
157         <dependency>
158             <groupId>com.fasterxml.jackson.core</groupId>
159             <artifactId>jackson-core</artifactId>
160             <version>${jackson.version}</version>
161         </dependency>
162         <dependency>
163             <groupId>com.fasterxml.jackson.core</groupId>
164             <artifactId>jackson-databind</artifactId>
165             <version>${jackson.databind.version}</version>
166         </dependency>
167         <dependency>
168             <groupId>commons-beanutils</groupId>
169             <artifactId>commons-beanutils</artifactId>
170             <version>1.9.4</version>
171         </dependency>
172         <dependency>
173             <groupId>org.springframework</groupId>
174             <artifactId>spring-web</artifactId>
175             <version>${springframework.version}</version>
176         </dependency>
177         <dependency>
178             <groupId>org.skyscreamer</groupId>
179             <artifactId>jsonassert</artifactId>
180             <version>1.5.0</version>
181         </dependency>
182         <dependency>
183             <groupId>commons-io</groupId>
184             <artifactId>commons-io</artifactId>
185             <version>2.5</version>
186         </dependency>
187         <dependency>
188             <groupId>org.mariadb.jdbc</groupId>
189             <artifactId>mariadb-java-client</artifactId>
190             <version>1.4.6</version>
191         </dependency>
192         <dependency>
193             <groupId>org.hamcrest</groupId>
194             <artifactId>java-hamcrest</artifactId>
195             <version>2.0.0.0</version>
196         </dependency>
197         <dependency>
198             <groupId>org.apache.commons</groupId>
199             <artifactId>commons-text</artifactId>
200             <version>1.1</version>
201         </dependency>
202         <dependency>
203             <groupId>org.apache.commons</groupId>
204             <artifactId>commons-lang3</artifactId>
205             <version>3.6</version>
206         </dependency>
207         <dependency>
208             <groupId>org.apache.commons</groupId>
209             <artifactId>commons-proxy</artifactId>
210             <version>1.0</version>
211         </dependency>
212
213         <dependency>
214             <groupId>net.javacrumbs.json-unit</groupId>
215             <artifactId>json-unit</artifactId>
216             <version>2.2.0</version>
217         </dependency>
218         <dependency>
219             <groupId>org.togglz</groupId>
220             <artifactId>togglz-spring-core</artifactId>
221             <version>2.5.0.Final</version>
222         </dependency>
223         <dependency>
224             <groupId>javax.enterprise</groupId>
225             <artifactId>cdi-api</artifactId>
226             <version>1.0</version>
227         </dependency>
228         <dependency>
229             <groupId>net.code-story</groupId>
230             <artifactId>http</artifactId>
231             <version>2.105</version>
232             <scope>test</scope>
233         </dependency>
234         <dependency>
235             <groupId>javax.xml.bind</groupId>
236             <artifactId>jaxb-api</artifactId>
237             <version>2.2.11</version>
238         </dependency>
239     </dependencies>
240     <build>
241         <plugins>
242             <plugin>
243                 <groupId>org.apache.maven.plugins</groupId>
244                 <artifactId>maven-compiler-plugin</artifactId>
245                 <version>3.5.1</version>
246                 <configuration>
247                     <source>1.8</source>
248                     <target>1.8</target>
249                                         <debug>true</debug>
250                                         <debuglevel>lines,vars,source</debuglevel>
251                 </configuration>
252             </plugin>
253             <plugin>
254                 <groupId>org.apache.maven.plugins</groupId>
255                 <artifactId>maven-assembly-plugin</artifactId>
256                 <version>3.1.1</version>
257                 <executions>
258                     <execution>
259                         <id>create.jar.with.dependencies</id>
260                         <phase>package</phase>
261                         <goals>
262                             <goal>single</goal>
263                         </goals>
264                         <configuration>
265                             <archive>
266                                 <manifest>
267                                     <mainClass>vid.automation.test.StartTest</mainClass>
268                                 </manifest>
269                             </archive>
270                             <descriptorRefs>
271                                 <descriptorRef>jar-with-dependencies</descriptorRef>
272                             </descriptorRefs>
273                         </configuration>
274                     </execution>
275                 </executions>
276             </plugin>
277                 <plugin>
278                         <groupId>org.apache.maven.plugins</groupId>
279                         <artifactId>maven-surefire-plugin</artifactId>
280                         <version>2.22.1</version>
281                         <configuration>
282                            <includes>
283                                         <include>${test}</include>
284                                         </includes>
285                                         <systemPropertyVariables>
286                                         <log4j.configurationFile>./conf/log4j2.xml</log4j.configurationFile>
287                                         </systemPropertyVariables>
288                         <suiteXmlFiles>
289                             <suiteXmlFile>TestNg-ApiTest.xml</suiteXmlFile>
290                         </suiteXmlFiles>
291                             <argLine>
292                                 -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
293                             </argLine>
294                       <useSystemClassLoader>false</useSystemClassLoader>
295                   </configuration>
296             </plugin>
297         </plugins>
298     </build>
299 </project>