f5236e40fa75396f04f8b560406ac61a10308f36
[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.0.0-SNAPSHOT</version>
13                 
14         </parent>
15
16         <dependencies>
17                 <dependency>
18                         <groupId>org.seleniumhq.selenium</groupId>
19                         <artifactId>selenium-java</artifactId>
20                         <version>2.48.0</version>
21                 </dependency>
22                 
23                 <dependency>
24                         <groupId>org.seleniumhq.selenium</groupId>
25                         <artifactId>selenium-server</artifactId>
26                         <version>2.53.1</version>
27                         <scope>runtime</scope>
28                 </dependency>
29                 
30 <!--            <dependency>
31                 <groupId>org.seleniumhq.selenium</groupId>
32                         <artifactId>selenium-firefox-driver</artifactId>
33                 <version>3.0.1</version>
34                 </dependency> -->
35                 
36                 
37                 <dependency>
38                         <groupId>org.openecomp.sdc</groupId>
39                         <artifactId>asdc-tests</artifactId>
40                         <version>${asdc-tests.version}</version>
41                 </dependency>
42
43                 <dependency>
44                         <groupId>org.yaml</groupId>
45                         <artifactId>snakeyaml</artifactId>
46                         <version>1.14</version>
47                         <scope>compile</scope>
48                 </dependency>
49
50                 <dependency>
51                         <groupId>com.google.code.gson</groupId>
52                         <artifactId>gson</artifactId>
53                         <version>2.3.1</version>
54                         <scope>compile</scope>
55                 </dependency>
56
57                 <!-- http client -->
58                 <dependency>
59                         <groupId>org.apache.httpcomponents</groupId>
60                         <artifactId>httpclient</artifactId>
61                         <scope>compile</scope>
62                 </dependency>
63
64                 <dependency>
65                         <groupId>org.apache.httpcomponents</groupId>
66                         <artifactId>httpmime</artifactId>
67                         <scope>compile</scope>
68                 </dependency>
69
70                 <dependency>
71                         <groupId>commons-io</groupId>
72                         <artifactId>commons-io</artifactId>
73                         <version>2.5</version>
74                         <scope>compile</scope>
75                 </dependency>
76
77                 <dependency>
78                         <groupId>commons-logging</groupId>
79                         <artifactId>commons-logging</artifactId>
80                         <scope>compile</scope>
81                 </dependency>
82
83                 <!-- http core -->
84                 <dependency>
85                         <groupId>org.apache.httpcomponents</groupId>
86                         <artifactId>httpcore</artifactId>
87                         <scope>compile</scope>
88                 </dependency>
89
90                 <!-- TITAN -->
91                 <dependency>
92                         <groupId>com.thinkaurelius.titan</groupId>
93                         <artifactId>titan-core</artifactId>
94                         <version>${titan.version}</version>
95                         <scope>compile</scope>
96                 </dependency>
97
98                 <dependency>
99                         <groupId>com.thinkaurelius.titan</groupId>
100                         <artifactId>titan-cassandra</artifactId>
101                         <version>${titan.version}</version>
102                         <scope>compile</scope>
103                 </dependency>
104
105                 <dependency>
106                         <groupId>org.codehaus.jackson</groupId>
107                         <artifactId>jackson-mapper-asl</artifactId>
108                         <version>1.9.2</version>
109                         <scope>compile</scope>
110                 </dependency>
111                 
112                 <dependency>
113                         <groupId>com.fasterxml.jackson.core</groupId>
114                         <artifactId>jackson-databind</artifactId>
115                         <version>2.3.1</version>
116                         <scope>compile</scope>
117                 </dependency>
118                 
119                 <dependency>
120                         <groupId>com.fasterxml.jackson.core</groupId>
121                         <artifactId>jackson-core</artifactId>
122                         <version>2.3.1</version>
123                         <scope>compile</scope>
124                 </dependency>
125
126                 <dependency>
127                         <groupId>org.openecomp.sdc</groupId>
128                         <artifactId>sdc-distribution-client</artifactId>
129                         <version>1.0.0-SNAPSHOT</version>
130                         <scope>compile</scope>
131                 </dependency>
132
133                 <dependency>
134                         <groupId>junit</groupId>
135                         <artifactId>junit</artifactId>
136                         <scope>compile</scope>
137                 </dependency>
138                 
139                 <dependency>
140                         <groupId>org.testng</groupId>
141                         <artifactId>testng</artifactId>
142                         <version>6.9.10</version>
143                         <scope>compile</scope>
144                 </dependency>
145
146                 <dependency>
147                         <groupId>xml-apis</groupId>
148                         <artifactId>xml-apis</artifactId>
149                         <version>1.4.01</version>
150                         <scope>compile</scope>
151                 </dependency>
152                 
153                 <dependency>
154                         <groupId>com.googlecode.json-simple</groupId>
155                         <artifactId>json-simple</artifactId>
156                         <version>1.1</version>
157                         <scope>compile</scope>
158                 </dependency>
159
160                 <dependency>
161                         <groupId>org.apache.commons</groupId>
162                         <artifactId>commons-jci-core</artifactId>
163                         <scope>compile</scope>
164                 </dependency>
165
166                 <dependency>
167                         <groupId>commons-codec</groupId>
168                         <artifactId>commons-codec</artifactId>
169                         <scope>compile</scope>
170                 </dependency>
171                 
172                 <dependency>
173                     <groupId>com.relevantcodes</groupId>
174                     <artifactId>extentreports</artifactId>
175                     <version>2.41.1</version>
176                 </dependency>
177                 
178                 
179         </dependencies>
180         
181         
182         
183         <build>
184                 <plugins>
185
186                         <plugin>
187                                 <groupId>org.apache.maven.plugins</groupId>
188                                 <artifactId>maven-deploy-plugin</artifactId>
189                                 <version>2.7</version>
190                                 <configuration>
191                                         <skip>true</skip>
192                                 </configuration>
193                         </plugin>
194
195                         <!-- ============================================= -->
196                         <!-- Create the JAR file with its dependencies -->
197                         <!-- ============================================= -->
198                         <plugin>
199                                 <groupId>org.apache.maven.plugins</groupId>
200                                 <artifactId>maven-assembly-plugin</artifactId>
201                                 <version>2.5.5</version>
202                                 <executions>
203                                         <execution>
204                                                 <id>create.jar.with.dependencies</id>
205                                                 <phase>package</phase>
206                                                 <goals>
207                                                         <goal>single</goal>
208                                                 </goals>
209                                                 <configuration>
210                                                         <archive>
211                                                                 <manifest>
212                                                                         <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
213                                                                 </manifest>
214                                                         </archive>
215                                                         <descriptorRefs>
216                                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
217                                                         </descriptorRefs>
218                                                 </configuration>
219                                         </execution>
220                                 </executions>
221                         </plugin>
222                 </plugins>
223         </build>
224
225
226
227         <profiles>
228                 <profile>
229                         <id>CI</id>
230                         <activation>
231                                 <activeByDefault>false</activeByDefault>
232                         </activation>
233
234                         <build>
235                                 <plugins>
236                                         <plugin>
237                                                 <groupId>org.apache.maven.plugins</groupId>
238                                                 <artifactId>maven-assembly-plugin</artifactId>
239                                                 <version>2.5.5</version>
240                                                 <executions>
241                                                         <execution>
242                                                                 <id>tarball</id>
243                                                                 <phase>package</phase>
244                                                                 <goals>
245                                                                         <goal>single</goal>
246                                                                 </goals>
247                                                                 <configuration>
248                                                                         <finalName>${project.artifactId}-${full.release.version}${build.type}</finalName>
249                                                                         <appendAssemblyId>false</appendAssemblyId>
250                                                                         <descriptor>${project.basedir}/tarball.xml</descriptor>
251                                                                         <attach>false</attach>
252                                                                 </configuration>
253                                                         </execution>
254                                                 </executions>
255                                         </plugin>
256                                 </plugins>
257                         </build>
258                 </profile>
259         </profiles>
260 </project>