blob: 1950a3b04887642cd7989a9ef38cd50141da4871 [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"
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Lando451a3402017-02-19 10:28:42 +02003 <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 Lando0ad3c802017-09-19 16:32:59 +030011 <version>1.2.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
Michael Landof5500c32017-07-19 11:23:23 +030051
Michael Lando451a3402017-02-19 10:28:42 +020052 <dependency>
53 <groupId>org.openecomp.sdc</groupId>
54 <artifactId>catalog-be</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030055 <version>${project.version}</version>
56
Michael Lando451a3402017-02-19 10:28:42 +020057 <!-- Comment Out in order to debug in eclipse -->
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020058 <classifier>classes</classifier>
Michael Lando451a3402017-02-19 10:28:42 +020059
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020060 <exclusions>
61 <exclusion>
Michael Landof5500c32017-07-19 11:23:23 +030062 <groupId>org.openecomp.ecompsdkos</groupId>
63 <artifactId>epsdk-fw</artifactId>
64 </exclusion>
65
66 <exclusion>
67 <groupId>org.openecomp.sdc.common</groupId>
68 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
69 </exclusion>
70
71 <exclusion>
72 <groupId>org.openecomp.sdc.common</groupId>
73 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
74 </exclusion>
75
76 <exclusion>
77 <groupId>org.openecomp.sdc.common</groupId>
78 <artifactId>openecomp-common-lib</artifactId>
79 </exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020080 </exclusions>
Michael Landof5500c32017-07-19 11:23:23 +030081
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020082 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +030083 </dependency>
84
Michael Landof5500c32017-07-19 11:23:23 +030085 <dependency>
86 <groupId>org.openecomp.ecompsdkos</groupId>
87 <artifactId>epsdk-fw</artifactId>
88 <version>${ecomp.version}</version>
89 <scope>compile</scope>
90 <exclusions>
91 <exclusion>
92 <groupId>com.att.nsa</groupId>
93 <artifactId>cambriaClient</artifactId>
94 </exclusion>
95
96 <exclusion>
97 <artifactId>slf4j-log4j12</artifactId>
98 <groupId>org.slf4j</groupId>
99 </exclusion>
100 </exclusions>
101 </dependency>
102
103
104 <!--Artifact Generator-->
105 <dependency>
106 <groupId>org.openecomp.sdc.common</groupId>
107 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
108 <version>${artifact-generator-api.version}</version>
109 <scope>compile</scope>
110 <exclusions>
111 <exclusion>
112 <groupId>junit</groupId>
113 <artifactId>junit</artifactId>
114 </exclusion>
115 </exclusions>
116 </dependency>
117
118 <dependency>
119 <groupId>org.openecomp.sdc.common</groupId>
120 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
121 <version>${artifact-generator-core.version}</version>
122 <scope>compile</scope>
123 <exclusions>
124 <exclusion>
125 <groupId>junit</groupId>
126 <artifactId>junit</artifactId>
127 </exclusion>
128 </exclusions>
129 </dependency>
130
131 <dependency>
132 <groupId>org.openecomp.sdc.common</groupId>
133 <artifactId>openecomp-common-lib</artifactId>
134 <version>${dox-common-lib.version}</version>
135 <type>pom</type>
136 <exclusions>
137 <exclusion>
138 <groupId>junit</groupId>
139 <artifactId>junit</artifactId>
140 </exclusion>
141 </exclusions>
142 </dependency>
143
144
Michael Landoed64b5e2017-06-09 03:19:04 +0300145 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +0200146 <dependency>
147 <groupId>org.eclipse.jetty</groupId>
148 <artifactId>jetty-server</artifactId>
149 <version>9.2.10.v20150310</version>
150 <scope>compile</scope>
151 </dependency>
152
153 <!-- listen to file changes -->
154 <dependency>
155 <groupId>org.apache.commons</groupId>
156 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300157 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200158 <scope>compile</scope>
159 </dependency>
160
161 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300162 <groupId>commons-cli</groupId>
163 <artifactId>commons-cli</artifactId>
164 <version>1.4</version>
165 </dependency>
166
167 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200168 <groupId>org.eclipse.jetty</groupId>
169 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300170 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200171 <scope>compile</scope>
172 </dependency>
173
174 <dependency>
175 <groupId>org.glassfish.jersey.core</groupId>
176 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300177 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200178 <scope>compile</scope>
179 </dependency>
180
181 <dependency>
182 <groupId>org.glassfish.jersey.containers</groupId>
183 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300184 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200185 <scope>compile</scope>
186 </dependency>
187
188 <dependency>
189 <groupId>org.glassfish.jersey.containers</groupId>
190 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300191 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200192 <scope>compile</scope>
193 </dependency>
194
195 <dependency>
196 <groupId>org.glassfish.jersey.media</groupId>
197 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300198 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200199 <scope>compile</scope>
200 </dependency>
201
202 <dependency>
203 <groupId>org.glassfish.jersey.media</groupId>
204 <artifactId>jersey-media-multipart</artifactId>
205 <version>2.14</version>
206 <scope>compile</scope>
207 </dependency>
208
209 <!-- slf4j + logback -->
210 <dependency>
211 <groupId>org.slf4j</groupId>
212 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300213 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200214 <scope>compile</scope>
215 </dependency>
216
217 <dependency>
218 <groupId>ch.qos.logback</groupId>
219 <artifactId>logback-classic</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200220 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200221 <scope>compile</scope>
222 </dependency>
223
224 <dependency>
225 <groupId>ch.qos.logback</groupId>
226 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200227 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200228 <scope>compile</scope>
229 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300230
Michael Lando451a3402017-02-19 10:28:42 +0200231 <!-- groovy -->
232 <dependency>
233 <groupId>org.codehaus.groovy</groupId>
234 <artifactId>groovy-all</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200235 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200236 <scope>compile</scope>
237 </dependency>
238
Michael Landoed64b5e2017-06-09 03:19:04 +0300239 <dependency>
240 <groupId>commons-configuration</groupId>
241 <artifactId>commons-configuration</artifactId>
242 <version>1.6</version>
243 <scope>compile</scope>
244 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200245
246 <!-- TITAN -->
247 <dependency>
248 <groupId>com.thinkaurelius.titan</groupId>
249 <artifactId>titan-core</artifactId>
250 <version>${titan.version}</version>
251 <scope>compile</scope>
252 <exclusions>
253 <exclusion>
254 <groupId>org.json</groupId>
255 <artifactId>json</artifactId>
256 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300257 <exclusion>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-log4j12</artifactId>
260 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200261 </exclusions>
262 </dependency>
263
264 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300265 <groupId>com.googlecode.json-simple</groupId>
266 <artifactId>json-simple</artifactId>
267 <version>${json-simple.version}</version>
268 <scope>compile</scope>
269 </dependency>
270
271 <dependency>
Idan Amit39987c82017-09-13 13:51:41 +0300272 <groupId>org.openecomp.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200273 <artifactId>sdc-titan-cassandra</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200274 <version>${titan.version}</version>
275 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300276 <exclusions>
277 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200278 <groupId>org.slf4j</groupId>
279 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300280 </exclusion>
281 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200282 </dependency>
283
284 <dependency>
285 <groupId>org.apache.tinkerpop</groupId>
286 <artifactId>tinkergraph-gremlin</artifactId>
287 <version>3.0.1-incubating</version>
288 <scope>compile</scope>
289 </dependency>
290
291 <dependency>
292 <groupId>org.apache.tinkerpop</groupId>
293 <artifactId>gremlin-groovy</artifactId>
294 <version>3.0.1-incubating</version>
295 <scope>compile</scope>
296 </dependency>
297
298 <dependency>
299 <groupId>com.tinkerpop.blueprints</groupId>
300 <artifactId>blueprints-sail-graph</artifactId>
301 <version>2.5.0</version>
302 <optional>true</optional>
303 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300304 <exclusions>
305 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200306 <groupId>org.slf4j</groupId>
307 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300308 </exclusion>
309 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200310 </dependency>
311
312 <dependency>
313 <groupId>com.tinkerpop.blueprints</groupId>
314 <artifactId>blueprints-graph-sail</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300315 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +0200316 <optional>true</optional>
317 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300318 <exclusions>
319 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200320 <groupId>org.slf4j</groupId>
321 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300322 </exclusion>
323 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200324 </dependency>
325
326 <!-- TITAN end -->
327 <dependency>
328 <groupId>commons-logging</groupId>
329 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200330 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200331 <scope>compile</scope>
332 </dependency>
333
334 <dependency>
335 <groupId>commons-codec</groupId>
336 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200337 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200338 <scope>compile</scope>
339 </dependency>
340 <dependency>
341 <groupId>com.fasterxml.jackson.core</groupId>
342 <artifactId>jackson-core</artifactId>
343 <version>${jackson.version}</version>
344 <scope>compile</scope>
345 </dependency>
346
347 <dependency>
348 <groupId>com.fasterxml.jackson.core</groupId>
349 <artifactId>jackson-databind</artifactId>
350 <version>${jackson.version}</version>
351 <scope>compile</scope>
352 </dependency>
353
354 <dependency>
355 <groupId>com.fasterxml.jackson.core</groupId>
356 <artifactId>jackson-annotations</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300357 <version>${jackson.annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200358 <scope>compile</scope>
359 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300360
Michael Lando451a3402017-02-19 10:28:42 +0200361 <dependency>
362 <groupId>com.google.code.gson</groupId>
363 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300364 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200365 <scope>compile</scope>
366 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300367
Michael Lando451a3402017-02-19 10:28:42 +0200368 <dependency>
369 <groupId>org.apache.httpcomponents</groupId>
370 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200371 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200372 <scope>compile</scope>
373 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300374
Michael Lando451a3402017-02-19 10:28:42 +0200375 <dependency>
376 <groupId>org.apache.httpcomponents</groupId>
377 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200378 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200379 <scope>compile</scope>
380 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381
Michael Lando451a3402017-02-19 10:28:42 +0200382 <!-- Spring 4 dependencies -->
383 <dependency>
384 <groupId>org.springframework</groupId>
385 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200386 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200387 <scope>compile</scope>
388 </dependency>
389
390 <dependency>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200393 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200394 <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.springframework</groupId>
399 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200400 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200401 <scope>compile</scope>
402 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300403
Michael Lando451a3402017-02-19 10:28:42 +0200404 <dependency>
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300407 <version>${spring.version}</version>
408 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200409 <scope>compile</scope>
410 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300411
Michael Lando451a3402017-02-19 10:28:42 +0200412 <dependency>
413 <groupId>org.springframework</groupId>
414 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200415 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200416 <scope>compile</scope>
417 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300418
Michael Lando451a3402017-02-19 10:28:42 +0200419 <!-- Spring 4 dependencies end -->
420 <!-- JavaConfig need this library -->
421 <dependency>
422 <groupId>cglib</groupId>
423 <artifactId>cglib</artifactId>
424 <version>3.2.4</version>
425 <scope>compile</scope>
426 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300427
Michael Lando451a3402017-02-19 10:28:42 +0200428 <dependency>
429 <groupId>org.yaml</groupId>
430 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300431 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200432 <scope>compile</scope>
433 </dependency>
434
Michael Landoed64b5e2017-06-09 03:19:04 +0300435 <dependency>
436 <groupId>org.functionaljava</groupId>
437 <artifactId>functionaljava</artifactId>
438 <version>${functionaljava.version}</version>
439 <scope>compile</scope>
440 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200441
442 <dependency>
443 <groupId>org.elasticsearch</groupId>
444 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200445 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200446 <scope>compile</scope>
447 </dependency>
448
449 <dependency>
450 <groupId>com.fasterxml.jackson.dataformat</groupId>
451 <artifactId>jackson-dataformat-yaml</artifactId>
452 <version>${jackson.version}</version>
453 <scope>compile</scope>
454 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300455
Michael Lando451a3402017-02-19 10:28:42 +0200456 <dependency>
457 <groupId>org.elasticsearch.plugin</groupId>
458 <artifactId>shield</artifactId>
459 <version>${elastic-search.version}</version>
460 <scope>compile</scope>
461 </dependency>
462
463 <!-- CASSANDRA -->
464 <dependency>
465 <groupId>com.datastax.cassandra</groupId>
466 <artifactId>cassandra-driver-core</artifactId>
467 <version>${cassandra.driver.version}</version>
468 <scope>compile</scope>
469 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300470
Michael Lando451a3402017-02-19 10:28:42 +0200471 <dependency>
472 <groupId>com.datastax.cassandra</groupId>
473 <artifactId>cassandra-driver-mapping</artifactId>
474 <version>${cassandra.driver.version}</version>
475 <scope>compile</scope>
476 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300477
Michael Lando451a3402017-02-19 10:28:42 +0200478 <!-- CASSANDRA END -->
479 <dependency>
480 <groupId>org.apache.poi</groupId>
481 <artifactId>com.springsource.org.apache.poi</artifactId>
482 <version>3.9.0.FINAL</version>
483 <scope>compile</scope>
484 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300485
Michael Lando451a3402017-02-19 10:28:42 +0200486 <dependency>
487 <groupId>org.jdom</groupId>
488 <artifactId>jdom</artifactId>
489 <version>2.0.2</version>
490 <scope>compile</scope>
491 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300492
Michael Lando451a3402017-02-19 10:28:42 +0200493 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300494 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200495 <dependency>
496 <groupId>de.ruedigermoeller</groupId>
497 <artifactId>fst</artifactId>
498 <version>2.47</version>
499 <scope>compile</scope>
500 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200501
Michael Landoed64b5e2017-06-09 03:19:04 +0300502 <!-- testing -->
503 <dependency>
504 <groupId>junit</groupId>
505 <artifactId>junit</artifactId>
506 <version>${junit.version}</version>
507 <scope>test</scope>
508 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300509
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200510 <dependency>
511 <groupId>org.testng</groupId>
512 <artifactId>testng</artifactId>
513 <version>${testng.version}</version>
514 <scope>test</scope>
515 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300516
517 <dependency>
518 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200519 <artifactId>mockito-core</artifactId>
Michael Landoce868e62017-12-25 20:07:37 +0200520 <version>${mockito.version}</version>
Michael Lando75aacbb2017-07-17 21:12:03 +0300521 <scope>test</scope>
522 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300523 <!-- testing end -->
524
525 </dependencies>
526
527 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200528 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300529 <plugins>
530
Michael Lando451a3402017-02-19 10:28:42 +0200531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-deploy-plugin</artifactId>
534 <version>2.7</version>
535 <configuration>
536 <skip>true</skip>
537 </configuration>
538 </plugin>
539
540 <plugin>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200543 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200544 <execution>
545 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300546 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200547 <appendAssemblyId>false</appendAssemblyId>
548 <descriptor>${project.basedir}/tarball.xml</descriptor>
549 </configuration>
550 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200551 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200552 <goals>
553 <goal>single</goal>
554 </goals>
555 </execution>
556 </executions>
557 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200558
Tal Gitelman51d50f02017-12-10 18:55:03 +0200559
560 <plugin>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-shade-plugin</artifactId>
563 <version>3.1.0</version>
564 <executions>
565 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200566 <phase>package</phase>
567 <goals>
568 <goal>shade</goal>
569 </goals>
570 <configuration>
571 <filters>
572 <filter>
573 <artifact>org.openecomp.sdc:*</artifact>
574 <excludes>
575 <exclude>**/elasticsearch.yml</exclude>
576 </excludes>
577 </filter>
578 <filter>
579 <artifact>*:*</artifact>
580 <excludes>
581 <exclude>META-INF/*.SF</exclude>
582 <exclude>META-INF/*.DSA</exclude>
583 <exclude>META-INF/*.RSA</exclude>
584 </excludes>
585 </filter>
586 </filters>
587 <transformers>
588 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
589 </transformers>
590 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200591 </execution>
592 </executions>
593 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200594
Tal Gitelman51d50f02017-12-10 18:55:03 +0200595 <plugin>
596 <artifactId>maven-clean-plugin</artifactId>
597 <version>3.0.0</version>
598 <executions>
599 <execution>
600 <id>clean-static-files</id>
601 <phase>clean</phase>
602 <goals>
603 <goal>clean</goal>
604 </goals>
605 <configuration>
606 <filesets>
607 <!-- tosca files -->
608 <fileset>
609 <directory>${project.parent.basedir}/asdctool/tosca</directory>
610 <followSymlinks>false</followSymlinks>
611 </fileset>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200612 <fileset>
613 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
614 <followSymlinks>false</followSymlinks>
615 <includes>
616 <include>**/default.rb</include>
617 </includes>
618 </fileset>
619 <fileset>
620 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
621 <followSymlinks>false</followSymlinks>
622 </fileset>
623 <fileset>
624 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
625 <followSymlinks>false</followSymlinks>
626 <includes>
627 <include>**/sdctool.tar</include>
628 </includes>
629 </fileset>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200630 </filesets>
631 </configuration>
632 </execution>
633 </executions>
634 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200635 <plugin>
636 <groupId>ru.yaal.maven</groupId>
637 <artifactId>write-text-files-maven-plugin</artifactId>
638 <version>1.1</version>
639 <configuration>
640 <charset>UTF-8</charset>
641 <files>
642 <file>
643 <path>
644 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
645 </path>
646 <lines>
647 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
648 </lines>
649 </file>
650 </files>
651 </configuration>
652 <executions>
653 <execution>
654 <id>write-text-files</id>
655 <phase>prepare-package</phase>
656 <goals>
657 <goal>write-text-files</goal>
658 </goals>
659 </execution>
660 </executions>
661 </plugin>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-resources-plugin</artifactId>
665 <version>3.0.2</version>
666 <executions>
667
668 <execution>
669 <id>copy-tosca-folder</id>
670 <!-- here the phase you need -->
671 <phase>compile</phase>
672 <goals>
673 <goal>copy-resources</goal>
674 </goals>
675 <configuration>
676 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
677 <resources>
678 <resource>
679 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
680 <filtering>true</filtering>
681 </resource>
682 </resources>
683 </configuration>
684 </execution>
685
686 </executions>
687 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200688 </plugins>
689 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200690 <profiles>
691 <profile>
692 <id>docker-staging</id>
693 <properties>
694 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
695 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
696 </properties>
697 </profile>
698 <profile>
699 <id>docker</id>
700 <activation>
701 <activeByDefault>false</activeByDefault>
702 </activation>
703 <build>
704 <plugins>
705 <plugin>
706 <artifactId>maven-resources-plugin</artifactId>
707 <version>3.0.2</version>
708 <executions>
709 <execution>
710 <id>copy-dox-files</id>
711 <phase>verify</phase>
712 <goals>
713 <goal>copy-resources</goal>
714 </goals>
715 <configuration>
716 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
717 <resources>
718 <resource>
719 <directory>${project.parent.basedir}/openecomp-be</directory>
720 <includes>
721 <include>tools/build/**</include>
722 </includes>
723 </resource>
724 <resource>
725 <directory>${project.parent.basedir}/openecomp-be</directory>
726 <includes>
727 <include>tools/install/**</include>
728 </includes>
729 </resource>
730 </resources>
731 </configuration>
732 </execution>
733 <execution>
734 <id>copy-sdctool</id>
735 <phase>verify</phase>
736 <goals>
737 <goal>copy-resources</goal>
738 </goals>
739 <configuration>
740 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
741 <resources>
742 <resource>
743 <directory>${project.parent.basedir}/asdctool/target</directory>
744 <includes>
745 <include>sdctool.tar</include>
746 </includes>
747 </resource>
748 </resources>
749 </configuration>
750 </execution>
751 </executions>
752 </plugin>
753 <plugin>
754 <groupId>io.fabric8</groupId>
755 <artifactId>docker-maven-plugin</artifactId>
756 <version>0.23.0</version>
757
758 <configuration>
759 <verbose>true</verbose>
760 <apiVersion>1.23</apiVersion>
761 <registry>nexus3.onap.org:10001</registry>
762 <authConfig>
763 <pull>
764 <username>docker</username>
765 <password>docker</password>
766 </pull>
767 </authConfig>
768 <images>
769 <!-- Build cassandra-init image -->
770 <image>
771 <name>onap/sdc-cassandra-init</name>
772 <alias>sdc-cassandra-init</alias>
773 <build>
774 <cleanup>try</cleanup>
775 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
776 <tags>
777 <tag>${docker.tag}</tag>
778 <tag>${docker.latest.tag}</tag>
779 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
780 </tags>
781 </build>
782 </image>
783 </images>
784 </configuration>
785 <executions>
786 <execution>
787 <id>clean-images</id>
788 <phase>pre-clean</phase>
789 <goals>
790 <goal>remove</goal>
791 </goals>
792 <configuration>
793 <removeAll>true</removeAll>
794 <image>onap/sdc-cassandra-init</image>
795 </configuration>
796 </execution>
797
798 <execution>
799 <id>generate-images</id>
800 <phase>install</phase>
801 <goals>
802 <goal>build</goal>
803 </goals>
804 </execution>
805
806 <execution>
807 <id>push-images</id>
808 <phase>deploy</phase>
809 <goals>
810 <goal>push</goal>
811 </goals>
812 <configuration>
813 <image>onap/sdc-cassandra-init</image>
814 </configuration>
815 </execution>
816 </executions>
817 </plugin>
818 </plugins>
819 </build>
820 </profile>
821 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200822</project>