pom update
[sdc.git] / asdc-tests / 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>asdc-tests</artifactId>
7         
8         <parent>
9                 <groupId>org.openecomp.sdc</groupId>
10                 <artifactId>sdc-main</artifactId>
11                 <version>1.0.0-SNAPSHOT</version>
12         </parent>
13         
14         
15         <dependencies>
16
17
18
19                 <dependency>
20                         <groupId>com.google.guava</groupId>
21                         <artifactId>guava</artifactId>
22                         <scope>compile</scope>
23                 </dependency>
24                 
25                 <dependency>
26                         <groupId>junit</groupId>
27                         <artifactId>junit</artifactId>
28                         <version>4.12</version>
29                         <scope>compile</scope>
30                 </dependency>
31                 
32                 <dependency>
33                         <groupId>org.testng</groupId>
34                         <artifactId>testng</artifactId>
35                         <version>6.9.10</version>
36                         <scope>compile</scope>
37                 </dependency>
38                 
39                 <dependency>
40                         <groupId>com.relevantcodes</groupId>
41                         <artifactId>extentreports</artifactId>
42                         <version>2.41.0</version>
43                         <scope>compile</scope>
44                 </dependency>
45         
46                 <dependency>
47                         <groupId>org.mockito</groupId>
48                         <artifactId>mockito-all</artifactId>
49                         <version>1.10.19</version>
50                         <scope>compile</scope>
51                 </dependency>
52                 
53                 <dependency>
54                         <groupId>com.typesafe</groupId>
55                         <artifactId>config</artifactId>
56                         <version>1.0.2</version>
57                         <scope>compile</scope>
58                 </dependency>
59                 
60                 <dependency>
61                         <groupId>log4j</groupId>
62                         <artifactId>log4j</artifactId>
63                         <version>1.2.17</version>
64                         <scope>compile</scope>
65                 </dependency>
66                 
67                 <dependency>
68                         <groupId>com.jcraft.jsch</groupId>
69                         <artifactId>com.springsource.com.jcraft.jsch</artifactId>
70                         <version>0.1.41</version>
71                         <scope>compile</scope>
72                 </dependency>
73                 
74                 <dependency>
75                         <groupId>org.openecomp.sdc</groupId>
76                         <artifactId>common-app-api</artifactId>
77                         <version>${common-app-api.version}</version>
78                         <scope>compile</scope>
79                 </dependency>
80                 
81                 <dependency>
82                         <groupId>org.openecomp.sdc.be</groupId>
83                         <artifactId>common-be</artifactId>
84                         <version>${common-be.version}</version>
85                         <scope>compile</scope>
86                 </dependency>
87                 
88                 <!-- CHECK CATLOG MODEL -->
89                 <dependency>
90                         <groupId>org.openecomp.sdc.be</groupId>
91                         <artifactId>catalog-model</artifactId>
92                         <version>${catalog-model.version}</version>
93                         <scope>compile</scope>
94                 </dependency>
95                 
96                 <!-- catalog dao -->
97                 <dependency>
98                         <groupId>org.openecomp.sdc.be</groupId>
99                         <artifactId>catalog-dao</artifactId>
100                         <version>${catalog-dao.version}</version>
101                         <scope>compile</scope>
102                 </dependency>
103                 
104                 <dependency>
105                         <groupId>org.functionaljava</groupId>
106                         <artifactId>functionaljava</artifactId>
107                         <scope>compile</scope>
108                 </dependency>
109                 <!-- CASSANDRA -->
110                 <dependency>
111                         <groupId>com.datastax.cassandra</groupId>
112                         <artifactId>cassandra-driver-core</artifactId>
113                         <version>${cassandra.driver.version}</version>
114                         <scope>compile</scope>
115                 </dependency>
116                 <!-- CASSANDRA END -->
117         
118                 
119                 <!-- slf4j + logback -->
120                 <dependency>
121                         <groupId>org.slf4j</groupId>
122                         <artifactId>slf4j-api</artifactId>
123                         <scope>compile</scope>
124                 </dependency>
125                 
126                 <dependency>
127                         <groupId>ch.qos.logback</groupId>
128                         <artifactId>logback-classic</artifactId>
129                         <scope>compile</scope>
130                 </dependency>
131                 
132                 <dependency>
133                         <groupId>ch.qos.logback</groupId>
134                         <artifactId>logback-core</artifactId>
135                         <scope>compile</scope>
136                 </dependency>
137                 
138                 <dependency>
139                         <groupId>com.googlecode.json-simple</groupId>
140                         <artifactId>json-simple</artifactId>
141                         <scope>compile</scope>
142                 </dependency>
143
144                 <!-- File changes listener -->
145                 
146                 <dependency>
147                         <groupId>org.apache.commons</groupId>
148                         <artifactId>commons-jci-core</artifactId>
149                         <scope>compile</scope>
150                 </dependency>
151                 
152                 <dependency>
153                         <groupId>commons-codec</groupId>
154                         <artifactId>commons-codec</artifactId>
155                         <version>2.0-SNAPSHOT</version>
156                         <scope>compile</scope>
157                 </dependency>
158                 
159                 <!-- Gson -->
160
161                 <dependency>
162                         <groupId>com.google.code.gson</groupId>
163                         <artifactId>gson</artifactId>
164                         <version>2.3.1</version>
165                         <scope>compile</scope>
166                 </dependency>
167                 
168                 <!-- Snake Yaml -->
169                 <dependency>
170                         <groupId>org.yaml</groupId>
171                         <artifactId>snakeyaml</artifactId>
172                         <version>1.14</version>
173                         <scope>compile</scope>
174                 </dependency>
175
176
177                 
178                 <!-- http client -->
179                 <dependency>
180                         <groupId>org.apache.httpcomponents</groupId>
181                         <artifactId>httpclient</artifactId>
182                         <scope>compile</scope>
183                 </dependency>
184         
185                 <dependency>
186                         <groupId>org.apache.httpcomponents</groupId>
187                         <artifactId>httpmime</artifactId>
188                         <scope>compile</scope>
189                 </dependency>  
190                 
191                 <dependency>
192                         <groupId>commons-io</groupId>
193                         <artifactId>commons-io</artifactId>
194                         <version>2.5</version>
195                         <scope>compile</scope>
196                 </dependency>
197                 
198                 <dependency>
199                         <groupId>commons-logging</groupId>
200                         <artifactId>commons-logging</artifactId>
201                         <version>1.2.1-SNAPSHOT</version>
202                         <scope>compile</scope>
203                 </dependency>
204                 
205                 <!-- http core -->
206                 <dependency>
207                         <groupId>org.apache.httpcomponents</groupId>
208                         <artifactId>httpcore</artifactId>
209                         <scope>compile</scope>
210                 </dependency>
211                 
212                 <!-- TITAN -->
213                 <dependency>
214                         <groupId>com.thinkaurelius.titan</groupId>
215                         <artifactId>titan-core</artifactId>
216                         <version>${titan.version}</version>
217                         <scope>compile</scope>
218                         <exclusions>
219                                 <exclusion>
220                                         <artifactId>slf4j-log4j12</artifactId>
221                                         <groupId>org.slf4j</groupId>
222                                 </exclusion>
223                         </exclusions>
224                 </dependency>
225                 
226                 <dependency>
227                         <groupId>com.thinkaurelius.titan</groupId>
228                         <artifactId>titan-cassandra</artifactId>
229                         <version>${titan.version}</version>
230                         <scope>compile</scope>
231                         <exclusions>
232                                 <exclusion>
233                                         <artifactId>slf4j-log4j12</artifactId>
234                                         <groupId>org.slf4j</groupId>
235                                 </exclusion>
236                         </exclusions>
237                 </dependency>
238                 
239                 <dependency>
240                         <groupId>org.codehaus.jackson</groupId>
241                         <artifactId>jackson-mapper-asl</artifactId>
242                         <version>1.9.2</version>
243                         <scope>compile</scope>
244                 </dependency>
245
246                 <dependency>
247                         <groupId>com.fasterxml.jackson.core</groupId>
248                         <artifactId>jackson-databind</artifactId>
249                         <version>2.3.1</version>
250                         <scope>compile</scope>
251                 </dependency>
252
253                 <dependency>
254                         <groupId>com.fasterxml.jackson.core</groupId>
255                         <artifactId>jackson-core</artifactId>
256                         <version>2.3.1</version>
257                         <scope>compile</scope>
258                 </dependency>
259                 
260                 <dependency>
261                         <groupId>org.openecomp.sdc</groupId>
262                         <artifactId>sdc-distribution-client</artifactId>
263                         <version>1.0.0</version>
264                         <scope>compile</scope>
265                 </dependency>
266                 
267                 <dependency>
268                         <groupId>org.openecomp.ecompsdkos</groupId>
269                         <artifactId>ecompFW</artifactId>
270                         <version>1.0.0</version>
271                         <scope>compile</scope>
272             <exclusions>
273                 <exclusion>
274                     <artifactId>slf4j-log4j12</artifactId>
275                     <groupId>org.slf4j</groupId>
276                 </exclusion>
277             </exclusions>
278         </dependency>
279                 
280                 <dependency>
281                         <groupId>org.json</groupId>
282                         <artifactId>json</artifactId>
283                         <version>20090211</version>
284                 </dependency>
285         </dependencies>
286         
287         
288         <build>
289                 <plugins>
290                         
291                         <plugin>
292                                 <groupId>org.apache.maven.plugins</groupId>
293                                 <artifactId>maven-deploy-plugin</artifactId>
294                                 <version>2.7</version>
295                                 <configuration>
296                                         <skip>true</skip>
297                                 </configuration>
298                         </plugin>
299
300                         <!--  ============================================= -->
301                         <!--  Create the JAR file with its dependencies     -->
302                         <!--  ============================================= -->
303                         <plugin>
304                                 <groupId>org.apache.maven.plugins</groupId>
305                                 <artifactId>maven-assembly-plugin</artifactId>
306                                 <version>2.5.5</version>        
307                                 <executions>
308                                         <execution>
309                                         <id>create.jar.with.dependencies</id>
310                                                 <phase>package</phase>
311                                                 <goals>
312                                                         <goal>single</goal>
313                                                 </goals>
314                                                 <configuration>
315                                                         <archive>
316                                                                 <manifest>
317                                                                         <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
318                                                                 </manifest>
319                                                         </archive>
320                                                         <descriptorRefs>
321                                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
322                                                         </descriptorRefs>
323                                                 </configuration>
324                                         </execution>
325                                 </executions>
326                         </plugin>
327                         <plugin>
328                                 <groupId>org.apache.maven.plugins</groupId>
329                                 <artifactId>maven-assembly-plugin</artifactId>
330                                 <version>2.6</version>
331                                 <executions>
332                                                 <execution>
333                                                         <configuration>
334                                                                         <finalName>${project.artifactId}</finalName>
335                                                                         <appendAssemblyId>false</appendAssemblyId>
336                                                                         <descriptor>${project.basedir}/tarball.xml</descriptor>
337                                                         </configuration>
338                                                         <id>assemble-file</id>
339                                                         <phase>package</phase>
340                                                         <goals>
341                                                                         <goal>single</goal>
342                                                         </goals>
343                                                 </execution>
344                                 </executions>
345                         </plugin>
346                         <plugin>
347                                 <groupId>org.apache.maven.plugins</groupId>
348                                 <artifactId>maven-resources-plugin</artifactId>
349                                 <version>3.0.2</version>
350
351                                 <executions>
352                                         <execution>
353                                                 <id>copy-asdc-tests</id>
354                                                 <phase>install</phase>
355                                                 <goals>
356                                                         <goal>copy-resources</goal>
357                                                 </goals>
358                                                 <configuration>
359                                                         <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default</outputDirectory>
360                                                         <resources>
361                                                                 <resource>
362                                                                         <directory>./target</directory>
363                                                                         <includes>
364                                                                                 <include>asdc-tests.tar</include>
365                                                                         </includes>
366                                                                 </resource>
367                                                         </resources>
368                                                 </configuration>
369                                         </execution>
370                                 </executions>
371                         </plugin>
372
373                 </plugins>
374         </build>
375 </project>
376