blob: da1b9160fd4a52d6a9c635f15fba719b1afa074a [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<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 <modelVersion>4.0.0</modelVersion>
4
Michael Landoed64b5e2017-06-09 03:19:04 +03005 <artifactId>asdctool</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +02006 <packaging>jar</packaging>
7
8 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +020011 <version>1.1.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020012 </parent>
13
Michael Lando451a3402017-02-19 10:28:42 +020014 <dependencies>
Michael Landoc0ac0152017-02-27 23:48:43 +020015
Michael Landoc34b77c2017-02-28 19:03:11 +020016 <dependency>
Michael Landoc34b77c2017-02-28 19:03:11 +020017 <groupId>com.google.guava</groupId>
18 <artifactId>guava</artifactId>
19 <version>${guava.version}</version>
20 <scope>compile</scope>
21 </dependency>
22
Michael Lando451a3402017-02-19 10:28:42 +020023 <!-- ASDC dependencies -->
24 <dependency>
25 <groupId>org.openecomp.sdc.be</groupId>
26 <artifactId>common-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030027 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020028 <scope>compile</scope>
29 </dependency>
30 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030033 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020034 <scope>compile</scope>
35 </dependency>
36
37 <dependency>
38 <groupId>org.openecomp.sdc.be</groupId>
39 <artifactId>catalog-dao</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030040 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020041 <scope>compile</scope>
42 </dependency>
43
44 <dependency>
45 <groupId>org.openecomp.sdc.be</groupId>
46 <artifactId>catalog-model</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030047 <version>${project.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020048 <scope>compile</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>org.openecomp.sdc</groupId>
53 <artifactId>catalog-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030054 <version>${project.version}</version>
55
Michael Lando451a3402017-02-19 10:28:42 +020056 <!-- Comment Out in order to debug in eclipse -->
57 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020058
Michael Landoed64b5e2017-06-09 03:19:04 +030059 <scope>compile</scope>
60 </dependency>
61
62 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +020063 <dependency>
64 <groupId>org.eclipse.jetty</groupId>
65 <artifactId>jetty-server</artifactId>
66 <version>9.2.10.v20150310</version>
67 <scope>compile</scope>
68 </dependency>
69
70 <!-- listen to file changes -->
71 <dependency>
72 <groupId>org.apache.commons</groupId>
73 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030074 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020075 <scope>compile</scope>
76 </dependency>
77
78 <dependency>
79 <groupId>org.eclipse.jetty</groupId>
80 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030081 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020082 <scope>compile</scope>
83 </dependency>
84
85 <dependency>
86 <groupId>org.glassfish.jersey.core</groupId>
87 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030088 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020089 <scope>compile</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.glassfish.jersey.containers</groupId>
94 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030095 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020096 <scope>compile</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>org.glassfish.jersey.containers</groupId>
101 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300102 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200103 <scope>compile</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.glassfish.jersey.media</groupId>
108 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300109 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200110 <scope>compile</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.glassfish.jersey.media</groupId>
115 <artifactId>jersey-media-multipart</artifactId>
116 <version>2.14</version>
117 <scope>compile</scope>
118 </dependency>
119
120 <!-- slf4j + logback -->
121 <dependency>
122 <groupId>org.slf4j</groupId>
123 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300124 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200125 <scope>compile</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>ch.qos.logback</groupId>
130 <artifactId>logback-classic</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300131 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200132 <scope>compile</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300138 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200139 <scope>compile</scope>
140 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300141
Michael Lando451a3402017-02-19 10:28:42 +0200142 <!-- groovy -->
143 <dependency>
144 <groupId>org.codehaus.groovy</groupId>
145 <artifactId>groovy-all</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300146 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200147 <scope>compile</scope>
148 </dependency>
149
Michael Landoed64b5e2017-06-09 03:19:04 +0300150 <dependency>
151 <groupId>commons-configuration</groupId>
152 <artifactId>commons-configuration</artifactId>
153 <version>1.6</version>
154 <scope>compile</scope>
155 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200156
157 <!-- TITAN -->
158 <dependency>
159 <groupId>com.thinkaurelius.titan</groupId>
160 <artifactId>titan-core</artifactId>
161 <version>${titan.version}</version>
162 <scope>compile</scope>
163 <exclusions>
164 <exclusion>
165 <groupId>org.json</groupId>
166 <artifactId>json</artifactId>
167 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300168 <exclusion>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-log4j12</artifactId>
171 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200172 </exclusions>
173 </dependency>
174
175 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300176 <groupId>com.googlecode.json-simple</groupId>
177 <artifactId>json-simple</artifactId>
178 <version>${json-simple.version}</version>
179 <scope>compile</scope>
180 </dependency>
181
182 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200183 <groupId>com.thinkaurelius.titan</groupId>
184 <artifactId>titan-cassandra</artifactId>
185 <version>${titan.version}</version>
186 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300187 <exclusions>
188 <exclusion>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-log4j12</artifactId>
191 </exclusion>
192 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200193 </dependency>
194
195 <dependency>
196 <groupId>org.apache.tinkerpop</groupId>
197 <artifactId>tinkergraph-gremlin</artifactId>
198 <version>3.0.1-incubating</version>
199 <scope>compile</scope>
200 </dependency>
201
202 <dependency>
203 <groupId>org.apache.tinkerpop</groupId>
204 <artifactId>gremlin-groovy</artifactId>
205 <version>3.0.1-incubating</version>
206 <scope>compile</scope>
207 </dependency>
208
209 <dependency>
210 <groupId>com.tinkerpop.blueprints</groupId>
211 <artifactId>blueprints-sail-graph</artifactId>
212 <version>2.5.0</version>
213 <optional>true</optional>
214 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300215 <exclusions>
216 <exclusion>
217 <groupId>org.slf4j</groupId>
218 <artifactId>slf4j-log4j12</artifactId>
219 </exclusion>
220 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200221 </dependency>
222
223 <dependency>
224 <groupId>com.tinkerpop.blueprints</groupId>
225 <artifactId>blueprints-graph-sail</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300226 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +0200227 <optional>true</optional>
228 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300229 <exclusions>
230 <exclusion>
231 <groupId>org.slf4j</groupId>
232 <artifactId>slf4j-log4j12</artifactId>
233 </exclusion>
234 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200235 </dependency>
236
237 <!-- TITAN end -->
238 <dependency>
239 <groupId>commons-logging</groupId>
240 <artifactId>commons-logging</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300241 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200242 <scope>compile</scope>
243 </dependency>
244
245 <dependency>
246 <groupId>commons-codec</groupId>
247 <artifactId>commons-codec</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300248 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200249 <scope>compile</scope>
250 </dependency>
251 <dependency>
252 <groupId>com.fasterxml.jackson.core</groupId>
253 <artifactId>jackson-core</artifactId>
254 <version>${jackson.version}</version>
255 <scope>compile</scope>
256 </dependency>
257
258 <dependency>
259 <groupId>com.fasterxml.jackson.core</groupId>
260 <artifactId>jackson-databind</artifactId>
261 <version>${jackson.version}</version>
262 <scope>compile</scope>
263 </dependency>
264
265 <dependency>
266 <groupId>com.fasterxml.jackson.core</groupId>
267 <artifactId>jackson-annotations</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300268 <version>${jackson.annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200269 <scope>compile</scope>
270 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300271
Michael Lando451a3402017-02-19 10:28:42 +0200272 <dependency>
273 <groupId>com.google.code.gson</groupId>
274 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300275 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200276 <scope>compile</scope>
277 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300278
Michael Lando451a3402017-02-19 10:28:42 +0200279 <dependency>
280 <groupId>org.apache.httpcomponents</groupId>
281 <artifactId>httpclient</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300282 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200283 <scope>compile</scope>
284 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300285
Michael Lando451a3402017-02-19 10:28:42 +0200286 <dependency>
287 <groupId>org.apache.httpcomponents</groupId>
288 <artifactId>httpcore</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300289 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200290 <scope>compile</scope>
291 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300292
Michael Lando451a3402017-02-19 10:28:42 +0200293 <!-- Spring 4 dependencies -->
294 <dependency>
295 <groupId>org.springframework</groupId>
296 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200297 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200298 <scope>compile</scope>
299 </dependency>
300
301 <dependency>
302 <groupId>org.springframework</groupId>
303 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200304 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200305 <scope>compile</scope>
306 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300307
Michael Lando451a3402017-02-19 10:28:42 +0200308 <dependency>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200311 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200312 <scope>compile</scope>
313 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300314
Michael Lando451a3402017-02-19 10:28:42 +0200315 <dependency>
316 <groupId>org.springframework</groupId>
317 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300318 <version>${spring.version}</version>
319 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200320 <scope>compile</scope>
321 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300322
Michael Lando451a3402017-02-19 10:28:42 +0200323 <dependency>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200326 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200327 <scope>compile</scope>
328 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300329
Michael Lando451a3402017-02-19 10:28:42 +0200330 <!-- Spring 4 dependencies end -->
331 <!-- JavaConfig need this library -->
332 <dependency>
333 <groupId>cglib</groupId>
334 <artifactId>cglib</artifactId>
335 <version>3.2.4</version>
336 <scope>compile</scope>
337 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300338
Michael Lando451a3402017-02-19 10:28:42 +0200339 <dependency>
340 <groupId>org.yaml</groupId>
341 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300342 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200343 <scope>compile</scope>
344 </dependency>
345
Michael Landoed64b5e2017-06-09 03:19:04 +0300346 <dependency>
347 <groupId>org.functionaljava</groupId>
348 <artifactId>functionaljava</artifactId>
349 <version>${functionaljava.version}</version>
350 <scope>compile</scope>
351 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200352
353 <dependency>
354 <groupId>org.elasticsearch</groupId>
355 <artifactId>elasticsearch</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300356 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200357 <scope>compile</scope>
358 </dependency>
359
360 <dependency>
361 <groupId>com.fasterxml.jackson.dataformat</groupId>
362 <artifactId>jackson-dataformat-yaml</artifactId>
363 <version>${jackson.version}</version>
364 <scope>compile</scope>
365 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300366
Michael Lando451a3402017-02-19 10:28:42 +0200367 <dependency>
368 <groupId>org.elasticsearch.plugin</groupId>
369 <artifactId>shield</artifactId>
370 <version>${elastic-search.version}</version>
371 <scope>compile</scope>
372 </dependency>
373
374 <!-- CASSANDRA -->
375 <dependency>
376 <groupId>com.datastax.cassandra</groupId>
377 <artifactId>cassandra-driver-core</artifactId>
378 <version>${cassandra.driver.version}</version>
379 <scope>compile</scope>
380 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381
Michael Lando451a3402017-02-19 10:28:42 +0200382 <dependency>
383 <groupId>com.datastax.cassandra</groupId>
384 <artifactId>cassandra-driver-mapping</artifactId>
385 <version>${cassandra.driver.version}</version>
386 <scope>compile</scope>
387 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300388
Michael Lando451a3402017-02-19 10:28:42 +0200389 <!-- CASSANDRA END -->
390 <dependency>
391 <groupId>org.apache.poi</groupId>
392 <artifactId>com.springsource.org.apache.poi</artifactId>
393 <version>3.9.0.FINAL</version>
394 <scope>compile</scope>
395 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300396
Michael Lando451a3402017-02-19 10:28:42 +0200397 <dependency>
398 <groupId>org.jdom</groupId>
399 <artifactId>jdom</artifactId>
400 <version>2.0.2</version>
401 <scope>compile</scope>
402 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300403
Michael Lando451a3402017-02-19 10:28:42 +0200404 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300405 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200406 <dependency>
407 <groupId>de.ruedigermoeller</groupId>
408 <artifactId>fst</artifactId>
409 <version>2.47</version>
410 <scope>compile</scope>
411 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200412
Michael Landoed64b5e2017-06-09 03:19:04 +0300413 <!-- testing -->
414 <dependency>
415 <groupId>junit</groupId>
416 <artifactId>junit</artifactId>
417 <version>${junit.version}</version>
418 <scope>test</scope>
419 </dependency>
420 <!-- testing end -->
421
422 </dependencies>
423
424 <build>
425 <plugins>
426
Michael Lando451a3402017-02-19 10:28:42 +0200427 <plugin>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-deploy-plugin</artifactId>
430 <version>2.7</version>
431 <configuration>
432 <skip>true</skip>
433 </configuration>
434 </plugin>
435
436 <plugin>
437 <groupId>org.apache.maven.plugins</groupId>
438 <artifactId>maven-assembly-plugin</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300439 <version>2.6</version>
Michael Lando451a3402017-02-19 10:28:42 +0200440 <executions>
441 <execution>
442 <id>create.jar.with.dependencies</id>
443 <phase>package</phase>
444 <goals>
445 <goal>single</goal>
446 </goals>
447 <configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200448 <descriptorRefs>
449 <descriptorRef>jar-with-dependencies</descriptorRef>
450 </descriptorRefs>
451 </configuration>
452 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200453 <execution>
454 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300455 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200456 <appendAssemblyId>false</appendAssemblyId>
457 <descriptor>${project.basedir}/tarball.xml</descriptor>
458 </configuration>
459 <id>assemble-file</id>
460 <phase>package</phase>
461 <goals>
462 <goal>single</goal>
463 </goals>
464 </execution>
465 </executions>
466 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200467
Michael Landoed64b5e2017-06-09 03:19:04 +0300468 <plugin>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-resources-plugin</artifactId>
471 <version>3.0.2</version>
472
473 <executions>
474
475 <execution>
476 <id>copy-sdctool</id>
477 <phase>install</phase>
478 <goals>
479 <goal>copy-resources</goal>
480 </goals>
481 <configuration>
482 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
483 <resources>
484 <resource>
485 <directory>./target</directory>
486 <includes>
487 <include>sdctool.tar</include>
488 </includes>
489 </resource>
490 </resources>
491 </configuration>
492 </execution>
493
494 </executions>
495 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200496 </plugins>
497 </build>
Michael Landoed64b5e2017-06-09 03:19:04 +0300498
499 <profiles>
500 <profile>
501 <id>Fortify</id>
502 <activation>
503 <activeByDefault>false</activeByDefault>
504 </activation>
505
506 <build>
507 <plugins>
508 <plugin>
509 <groupId>com.fortify.ps.maven.plugin</groupId>
510 <artifactId>sca-maven-plugin</artifactId>
511 <version>4.30</version>
512 <configuration>
513 <source>1.8</source>
514 <buildId>${project.parent.artifactId}</buildId>
515 <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
516 </configuration>
517 </plugin>
518 </plugins>
519 </build>
520 </profile>
521 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200522</project>