vid-automation selenium tests
[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"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6
7     <groupId>org.onap.vid</groupId>
8     <artifactId>automationTest</artifactId>
9     <version>1.0-SNAPSHOT</version>
10     <properties>
11         <springframework.version>4.2.0.RELEASE</springframework.version>
12         <jersey.version>2.23.1</jersey.version>
13         <jackson.version>2.6.3</jackson.version>
14         <aspectj.version>1.8.10</aspectj.version>
15          
16     </properties>
17
18
19     <dependencies>
20         <dependency>
21             <groupId>com.google.guava</groupId>
22             <artifactId>guava</artifactId>
23             <version>23.0</version>
24         </dependency>
25         <dependency>
26             <groupId>org.openecomp.sdc</groupId>
27             <artifactId>ui-ci</artifactId>
28             <version>1.0.5-SNAPSHOT</version>
29             <scope>compile</scope>
30             <exclusions>
31                 <exclusion>
32                         <groupId>log4j</groupId>
33                                         <artifactId>log4j</artifactId>
34                 </exclusion>
35             </exclusions>
36         </dependency>
37 <!--         <dependency>
38             <groupId>log4j</groupId>
39             <artifactId>log4j</artifactId>
40             <version>1.2.12</version>
41         </dependency> -->
42         <dependency>
43             <groupId>org.testng</groupId>
44             <artifactId>testng</artifactId>
45             <version>6.14.2</version>
46         </dependency>
47         <dependency>
48             <groupId>javax.ws.rs</groupId>
49             <artifactId>javax.ws.rs-api</artifactId>
50             <version>2.0.1</version>
51         </dependency>
52         <dependency>
53             <groupId>javax.ws.rs</groupId>
54             <artifactId>javax.ws.rs-api</artifactId>
55             <version>2.0.1</version>
56         </dependency>
57         <dependency>
58             <groupId>org.glassfish.jersey.core</groupId>
59             <artifactId>jersey-common</artifactId>
60             <version>${jersey.version}</version>
61         </dependency>
62         <dependency>
63             <groupId>org.glassfish.jersey.core</groupId>
64             <artifactId>jersey-client</artifactId>
65             <version>${jersey.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>org.glassfish.jersey.media</groupId>
69             <artifactId>jersey-media-json-jackson</artifactId>
70             <version>${jersey.version}</version>
71         </dependency>
72         <dependency>
73             <groupId>com.fasterxml.jackson.core</groupId>
74             <artifactId>jackson-annotations</artifactId>
75             <version>${jackson.version}</version>
76         </dependency>
77         <dependency>
78             <groupId>com.fasterxml.jackson.core</groupId>
79             <artifactId>jackson-core</artifactId>
80             <version>${jackson.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>com.fasterxml.jackson.core</groupId>
84             <artifactId>jackson-databind</artifactId>
85             <version>${jackson.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>commons-beanutils</groupId>
89             <artifactId>commons-beanutils</artifactId>
90             <version>1.9.3</version>
91         </dependency>
92         <dependency>
93             <groupId>org.springframework</groupId>
94             <artifactId>spring-core</artifactId>
95             <version>${springframework.version}</version>
96             <exclusions>
97                 <exclusion>
98                     <groupId>commons-logging</groupId>
99                     <artifactId>commons-logging</artifactId>
100                 </exclusion>
101             </exclusions>
102         </dependency>
103         <dependency>
104             <groupId>org.springframework</groupId>
105             <artifactId>spring-web</artifactId>
106             <version>${springframework.version}</version>
107         </dependency>
108         <dependency>
109             <groupId>org.skyscreamer</groupId>
110             <artifactId>jsonassert</artifactId>
111             <version>1.5.0</version>
112         </dependency>
113         <dependency>
114             <groupId>com.google.collections</groupId>
115             <artifactId>google-collections</artifactId>
116             <version>1.0</version>
117         </dependency>
118         <dependency>
119             <groupId>commons-io</groupId>
120             <artifactId>commons-io</artifactId>
121             <version>2.5</version>
122         </dependency>
123         <dependency>
124             <groupId>org.mariadb.jdbc</groupId>
125             <artifactId>mariadb-java-client</artifactId>
126             <version>1.4.6</version>
127         </dependency>
128         <dependency>
129             <groupId>org.hamcrest</groupId>
130             <artifactId>hamcrest-all</artifactId>
131             <version>1.3</version>
132         </dependency>
133         <dependency>
134             <groupId>org.apache.commons</groupId>
135             <artifactId>commons-text</artifactId>
136             <version>1.1</version>
137         </dependency>
138         <dependency>
139             <groupId>org.apache.commons</groupId>
140             <artifactId>commons-lang3</artifactId>
141             <version>3.6</version>
142         </dependency>
143         <dependency>
144             <groupId>net.javacrumbs.json-unit</groupId>
145             <artifactId>json-unit</artifactId>
146             <version>1.23.0</version>
147         </dependency>
148         <!--<dependency>-->
149             <!--<groupId>org.openecomp.vid</groupId>-->
150             <!--<artifactId>vid-ext-services-simulator-preset-gen</artifactId>-->
151             <!--<version>1.1.0-SNAPSHOT</version>-->
152         <!--</dependency>-->
153         <dependency>
154             <groupId>org.togglz</groupId>
155             <artifactId>togglz-spring-core</artifactId>
156             <version>2.5.0.Final</version>
157         </dependency>
158         <dependency>
159             <groupId>javax.enterprise</groupId>
160             <artifactId>cdi-api</artifactId>
161             <version>1.0</version>
162         </dependency>
163         <dependency>
164             <groupId>net.code-story</groupId>
165             <artifactId>http</artifactId>
166             <version>2.105</version>
167             <scope>test</scope>
168         </dependency>
169         <dependency>
170             <groupId>javax.xml.bind</groupId>
171             <artifactId>jaxb-api</artifactId>
172             <version>2.2.11</version>
173         </dependency>
174     </dependencies>
175     <build>
176         <plugins>
177             <plugin>
178                 <groupId>org.apache.maven.plugins</groupId>
179                 <artifactId>maven-compiler-plugin</artifactId>
180                 <configuration>
181                     <source>1.8</source>
182                     <target>1.8</target>
183                     <compilerArgument>-g:vars</compilerArgument>
184                                         <debug>true</debug>
185                                         <debuglevel>lines,vars,source</debuglevel>
186                 </configuration>
187             </plugin>
188             <plugin>
189                 <groupId>org.apache.maven.plugins</groupId>
190                 <artifactId>maven-assembly-plugin</artifactId>
191                 <version>2.5.5</version>
192                 <executions>
193                     <execution>
194                         <id>create.jar.with.dependencies</id>
195                         <phase>package</phase>
196                         <goals>
197                             <goal>single</goal>
198                         </goals>
199                         <configuration>
200                             <archive>
201                                 <manifest>
202                                     <mainClass>vid.automation.test.StartTest</mainClass>
203                                 </manifest>
204                             </archive>
205                             <descriptorRefs>
206                                 <descriptorRef>jar-with-dependencies</descriptorRef>
207                             </descriptorRefs>
208                         </configuration>
209                     </execution>
210                 </executions>
211             </plugin>
212                 <plugin>
213                         <groupId>org.apache.maven.plugins</groupId>
214                         <artifactId>maven-surefire-plugin</artifactId>
215                         <version>2.19.1</version>
216                         <configuration>
217                            <includes>
218                                         <include>${test}</include>
219                                         </includes>
220                                         <systemPropertyVariables>
221                                         <log4j.configurationFile>./conf/log4j2.xml</log4j.configurationFile>
222                                         </systemPropertyVariables>
223                         <suiteXmlFiles>
224                             <suiteXmlFile>TestNg-ApiTest.xml</suiteXmlFile>
225                         </suiteXmlFiles>
226                             <argLine>
227                                 -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
228                             </argLine>
229                         </configuration>
230             </plugin>
231         </plugins>
232     </build>
233 </project>