blob: 09e2e186a8c4fea12a7fb466bca2cb272c2c5d4a [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 Landod8a0dea2018-06-02 19:23:27 +030011 <version>1.3.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>
amitjai42c920b2018-04-27 13:28:57 +053067 <groupId>org.onap.sdc.common</groupId>
68 <artifactId>onap-sdc-artifact-generator-api</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +030069 </exclusion>
70
71 <exclusion>
amitjai42c920b2018-04-27 13:28:57 +053072 <groupId>org.onap.sdc.common</groupId>
73 <artifactId>onap-sdc-artifact-generator-core</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +030074 </exclusion>
75
76 <exclusion>
amitjai42c920b2018-04-27 13:28:57 +053077 <groupId>org.onap.sdc.common</groupId>
78 <artifactId>onap-common-lib</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +030079 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030080
Michael Landoa5445102018-03-04 14:53:33 +020081 <exclusion>
82 <groupId>com.att.nsa</groupId>
83 <artifactId>cambriaClient</artifactId>
84 </exclusion>
85 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030086 <groupId>com.att.nsa</groupId>
87 <artifactId>dmaapClient</artifactId>
88 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +020089 <exclusion>
90 <artifactId>slf4j-log4j12</artifactId>
91 <groupId>org.slf4j</groupId>
92 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030093
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020094 </exclusions>
Michael Landof5500c32017-07-19 11:23:23 +030095
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020096 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +030097 </dependency>
98
Michael Landof5500c32017-07-19 11:23:23 +030099 <dependency>
100 <groupId>org.openecomp.ecompsdkos</groupId>
101 <artifactId>epsdk-fw</artifactId>
102 <version>${ecomp.version}</version>
103 <scope>compile</scope>
104 <exclusions>
105 <exclusion>
106 <groupId>com.att.nsa</groupId>
107 <artifactId>cambriaClient</artifactId>
108 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +0200109 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300110 <groupId>com.att.nsa</groupId>
111 <artifactId>dmaapClient</artifactId>
112 </exclusion>
Michael Landof5500c32017-07-19 11:23:23 +0300113 <exclusion>
114 <artifactId>slf4j-log4j12</artifactId>
115 <groupId>org.slf4j</groupId>
116 </exclusion>
117 </exclusions>
118 </dependency>
119
120
Michael Landof5500c32017-07-19 11:23:23 +0300121
Michael Landoed64b5e2017-06-09 03:19:04 +0300122 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +0200123 <dependency>
124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-server</artifactId>
Michael Landod618ad62018-05-13 22:27:13 +0300126 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200127 <scope>compile</scope>
128 </dependency>
129
130 <!-- listen to file changes -->
131 <dependency>
132 <groupId>org.apache.commons</groupId>
133 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300134 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200135 <scope>compile</scope>
136 </dependency>
137
138 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300139 <groupId>commons-cli</groupId>
140 <artifactId>commons-cli</artifactId>
141 <version>1.4</version>
142 </dependency>
143
144 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200145 <groupId>org.eclipse.jetty</groupId>
146 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300147 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200148 <scope>compile</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>org.glassfish.jersey.core</groupId>
153 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300154 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200155 <scope>compile</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>org.glassfish.jersey.containers</groupId>
160 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300161 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200162 <scope>compile</scope>
163 </dependency>
164
165 <dependency>
166 <groupId>org.glassfish.jersey.containers</groupId>
167 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300168 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200169 <scope>compile</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>org.glassfish.jersey.media</groupId>
174 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300175 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200176 <scope>compile</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.media</groupId>
181 <artifactId>jersey-media-multipart</artifactId>
182 <version>2.14</version>
183 <scope>compile</scope>
184 </dependency>
185
186 <!-- slf4j + logback -->
187 <dependency>
188 <groupId>org.slf4j</groupId>
189 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300190 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200191 <scope>compile</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-classic</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200197 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200198 <scope>compile</scope>
199 </dependency>
200
201 <dependency>
202 <groupId>ch.qos.logback</groupId>
203 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200204 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200205 <scope>compile</scope>
206 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300207
Michael Lando451a3402017-02-19 10:28:42 +0200208 <!-- groovy -->
209 <dependency>
210 <groupId>org.codehaus.groovy</groupId>
211 <artifactId>groovy-all</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200212 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200213 <scope>compile</scope>
214 </dependency>
215
Michael Landoed64b5e2017-06-09 03:19:04 +0300216 <dependency>
217 <groupId>commons-configuration</groupId>
218 <artifactId>commons-configuration</artifactId>
219 <version>1.6</version>
220 <scope>compile</scope>
221 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200222
223 <!-- TITAN -->
224 <dependency>
225 <groupId>com.thinkaurelius.titan</groupId>
226 <artifactId>titan-core</artifactId>
227 <version>${titan.version}</version>
228 <scope>compile</scope>
229 <exclusions>
230 <exclusion>
231 <groupId>org.json</groupId>
232 <artifactId>json</artifactId>
233 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300234 <exclusion>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-log4j12</artifactId>
237 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200238 </exclusions>
239 </dependency>
240
241 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300242 <groupId>com.googlecode.json-simple</groupId>
243 <artifactId>json-simple</artifactId>
244 <version>${json-simple.version}</version>
245 <scope>compile</scope>
246 </dependency>
247
248 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200249 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200250 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200251 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200252 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300253 <exclusions>
254 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200255 <groupId>org.slf4j</groupId>
256 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300257 </exclusion>
258 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200259 </dependency>
260
261 <dependency>
262 <groupId>org.apache.tinkerpop</groupId>
263 <artifactId>tinkergraph-gremlin</artifactId>
264 <version>3.0.1-incubating</version>
265 <scope>compile</scope>
266 </dependency>
267
268 <dependency>
269 <groupId>org.apache.tinkerpop</groupId>
270 <artifactId>gremlin-groovy</artifactId>
271 <version>3.0.1-incubating</version>
272 <scope>compile</scope>
273 </dependency>
274
275 <dependency>
276 <groupId>com.tinkerpop.blueprints</groupId>
277 <artifactId>blueprints-sail-graph</artifactId>
278 <version>2.5.0</version>
279 <optional>true</optional>
280 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300281 <exclusions>
282 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300285 </exclusion>
286 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200287 </dependency>
288
289 <dependency>
290 <groupId>com.tinkerpop.blueprints</groupId>
291 <artifactId>blueprints-graph-sail</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300292 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +0200293 <optional>true</optional>
294 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300295 <exclusions>
296 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300299 </exclusion>
300 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200301 </dependency>
302
303 <!-- TITAN end -->
304 <dependency>
305 <groupId>commons-logging</groupId>
306 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200307 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <scope>compile</scope>
309 </dependency>
310
311 <dependency>
312 <groupId>commons-codec</groupId>
313 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200314 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200315 <scope>compile</scope>
316 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200317
318 <dependency>
319 <groupId>com.fasterxml.jackson.core</groupId>
320 <artifactId>jackson-databind</artifactId>
321 <version>${jackson.version}</version>
322 <scope>compile</scope>
323 </dependency>
324
Michael Lando5b593492018-07-29 16:13:45 +0300325 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200326 <dependency>
327 <groupId>com.fasterxml.jackson.core</groupId>
328 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300329 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200330 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300331
Michael Lando451a3402017-02-19 10:28:42 +0200332 <dependency>
333 <groupId>com.google.code.gson</groupId>
334 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300335 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200336 <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.apache.httpcomponents</groupId>
341 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200342 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200343 <scope>compile</scope>
344 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300345
Michael Lando451a3402017-02-19 10:28:42 +0200346 <dependency>
347 <groupId>org.apache.httpcomponents</groupId>
348 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200349 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200350 <scope>compile</scope>
351 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300352
Michael Lando451a3402017-02-19 10:28:42 +0200353 <!-- Spring 4 dependencies -->
354 <dependency>
355 <groupId>org.springframework</groupId>
356 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200357 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200358 <scope>compile</scope>
359 </dependency>
360
361 <dependency>
362 <groupId>org.springframework</groupId>
363 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200364 <version>${spring.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.springframework</groupId>
370 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200371 <version>${spring.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.springframework</groupId>
377 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300378 <version>${spring.version}</version>
379 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200380 <scope>compile</scope>
381 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300382
Michael Lando451a3402017-02-19 10:28:42 +0200383 <dependency>
384 <groupId>org.springframework</groupId>
385 <artifactId>spring-aop</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>
Michael Landoed64b5e2017-06-09 03:19:04 +0300389
Michael Lando451a3402017-02-19 10:28:42 +0200390 <!-- Spring 4 dependencies end -->
391 <!-- JavaConfig need this library -->
392 <dependency>
393 <groupId>cglib</groupId>
394 <artifactId>cglib</artifactId>
395 <version>3.2.4</version>
396 <scope>compile</scope>
397 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300398
Michael Lando451a3402017-02-19 10:28:42 +0200399 <dependency>
400 <groupId>org.yaml</groupId>
401 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300402 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200403 <scope>compile</scope>
404 </dependency>
405
Michael Landoed64b5e2017-06-09 03:19:04 +0300406 <dependency>
407 <groupId>org.functionaljava</groupId>
408 <artifactId>functionaljava</artifactId>
409 <version>${functionaljava.version}</version>
410 <scope>compile</scope>
411 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200412
413 <dependency>
414 <groupId>org.elasticsearch</groupId>
415 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200416 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200417 <scope>compile</scope>
418 </dependency>
419
420 <dependency>
421 <groupId>com.fasterxml.jackson.dataformat</groupId>
422 <artifactId>jackson-dataformat-yaml</artifactId>
423 <version>${jackson.version}</version>
424 <scope>compile</scope>
425 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300426
Michael Lando451a3402017-02-19 10:28:42 +0200427 <dependency>
428 <groupId>org.elasticsearch.plugin</groupId>
429 <artifactId>shield</artifactId>
430 <version>${elastic-search.version}</version>
431 <scope>compile</scope>
432 </dependency>
433
434 <!-- CASSANDRA -->
435 <dependency>
436 <groupId>com.datastax.cassandra</groupId>
437 <artifactId>cassandra-driver-core</artifactId>
438 <version>${cassandra.driver.version}</version>
439 <scope>compile</scope>
440 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300441
Michael Lando451a3402017-02-19 10:28:42 +0200442 <dependency>
443 <groupId>com.datastax.cassandra</groupId>
444 <artifactId>cassandra-driver-mapping</artifactId>
445 <version>${cassandra.driver.version}</version>
446 <scope>compile</scope>
447 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300448
Michael Lando451a3402017-02-19 10:28:42 +0200449 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300450
Michael Landoa5445102018-03-04 14:53:33 +0200451 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300452 <dependency>
453 <groupId>com.opencsv</groupId>
454 <artifactId>opencsv</artifactId>
455 <version>4.0</version>
456 <scope>compile</scope>
457 </dependency>
458
Michael Lando451a3402017-02-19 10:28:42 +0200459 <dependency>
460 <groupId>org.apache.poi</groupId>
461 <artifactId>com.springsource.org.apache.poi</artifactId>
462 <version>3.9.0.FINAL</version>
463 <scope>compile</scope>
464 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300465
Michael Lando451a3402017-02-19 10:28:42 +0200466 <dependency>
467 <groupId>org.jdom</groupId>
468 <artifactId>jdom</artifactId>
469 <version>2.0.2</version>
470 <scope>compile</scope>
471 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300472
Michael Lando5b593492018-07-29 16:13:45 +0300473 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300474 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200475 <dependency>
476 <groupId>de.ruedigermoeller</groupId>
477 <artifactId>fst</artifactId>
478 <version>2.47</version>
479 <scope>compile</scope>
480 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200481
Michael Landoed64b5e2017-06-09 03:19:04 +0300482 <!-- testing -->
483 <dependency>
484 <groupId>junit</groupId>
485 <artifactId>junit</artifactId>
486 <version>${junit.version}</version>
487 <scope>test</scope>
488 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300489
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200490 <dependency>
491 <groupId>org.testng</groupId>
492 <artifactId>testng</artifactId>
493 <version>${testng.version}</version>
494 <scope>test</scope>
495 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300496
497 <dependency>
498 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200499 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300500 <scope>test</scope>
501 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300502 <dependency>
503 <groupId>org.assertj</groupId>
504 <artifactId>assertj-core</artifactId>
505 <scope>test</scope>
506 </dependency>
507 <!-- testing end -->
Michael Landoed64b5e2017-06-09 03:19:04 +0300508
509 </dependencies>
510
511 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200512 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300513 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300514 <plugin>
515 <artifactId>maven-clean-plugin</artifactId>
516 <version>3.0.0</version>
517 <executions>
518 <execution>
519 <id>clean-static-files</id>
520 <phase>clean</phase>
521 <goals>
522 <goal>clean</goal>
523 </goals>
524 <configuration>
525 <filesets>
526 <!-- tosca files -->
527 <fileset>
528 <directory>${project.parent.basedir}/asdctool/tosca</directory>
529 <followSymlinks>false</followSymlinks>
530 </fileset>
531 <fileset>
532 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
533 <followSymlinks>false</followSymlinks>
534 <includes>
535 <include>**/default.rb</include>
536 </includes>
537 </fileset>
538 <fileset>
539 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
540 <followSymlinks>false</followSymlinks>
541 </fileset>
542 <fileset>
543 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
544 <followSymlinks>false</followSymlinks>
545 <includes>
546 <include>**/sdctool.tar</include>
547 </includes>
548 </fileset>
549 </filesets>
550 </configuration>
551 </execution>
552 </executions>
553 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300554
Michael Lando451a3402017-02-19 10:28:42 +0200555 <plugin>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-deploy-plugin</artifactId>
558 <version>2.7</version>
559 <configuration>
560 <skip>true</skip>
561 </configuration>
562 </plugin>
563
564 <plugin>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200567 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200568 <execution>
569 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300570 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200571 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300572 <descriptors>
573 <descriptor>${project.basedir}/tarball.xml</descriptor>
574 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200575 </configuration>
576 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200577 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200578 <goals>
579 <goal>single</goal>
580 </goals>
581 </execution>
582 </executions>
583 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200584
Tal Gitelman51d50f02017-12-10 18:55:03 +0200585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-shade-plugin</artifactId>
588 <version>3.1.0</version>
Michael Lando5b593492018-07-29 16:13:45 +0300589 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200590 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200591 <phase>package</phase>
592 <goals>
593 <goal>shade</goal>
594 </goals>
595 <configuration>
596 <filters>
597 <filter>
598 <artifact>org.openecomp.sdc:*</artifact>
599 <excludes>
600 <exclude>**/elasticsearch.yml</exclude>
601 </excludes>
602 </filter>
603 <filter>
604 <artifact>*:*</artifact>
605 <excludes>
606 <exclude>META-INF/*.SF</exclude>
607 <exclude>META-INF/*.DSA</exclude>
608 <exclude>META-INF/*.RSA</exclude>
609 </excludes>
610 </filter>
611 </filters>
612 <transformers>
613 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
614 </transformers>
615 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200616 </execution>
617 </executions>
618 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200619 <plugin>
620 <groupId>ru.yaal.maven</groupId>
621 <artifactId>write-text-files-maven-plugin</artifactId>
622 <version>1.1</version>
623 <configuration>
624 <charset>UTF-8</charset>
625 <files>
626 <file>
627 <path>
628 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
629 </path>
630 <lines>
631 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
632 </lines>
633 </file>
634 </files>
635 </configuration>
636 <executions>
637 <execution>
638 <id>write-text-files</id>
639 <phase>prepare-package</phase>
640 <goals>
641 <goal>write-text-files</goal>
642 </goals>
643 </execution>
644 </executions>
645 </plugin>
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-resources-plugin</artifactId>
649 <version>3.0.2</version>
650 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200651 <execution>
652 <id>copy-tosca-folder</id>
653 <!-- here the phase you need -->
654 <phase>compile</phase>
655 <goals>
656 <goal>copy-resources</goal>
657 </goals>
658 <configuration>
659 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
660 <resources>
661 <resource>
662 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
663 <filtering>true</filtering>
664 </resource>
665 </resources>
666 </configuration>
667 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200668 </executions>
669 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200670 </plugins>
671 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200672 <profiles>
673 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200674 <id>docker</id>
675 <activation>
676 <activeByDefault>false</activeByDefault>
677 </activation>
678 <build>
679 <plugins>
680 <plugin>
681 <artifactId>maven-resources-plugin</artifactId>
682 <version>3.0.2</version>
683 <executions>
684 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200685 <id>copy-sdctool</id>
686 <phase>verify</phase>
687 <goals>
688 <goal>copy-resources</goal>
689 </goals>
690 <configuration>
691 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
692 <resources>
693 <resource>
694 <directory>${project.parent.basedir}/asdctool/target</directory>
695 <includes>
696 <include>sdctool.tar</include>
697 </includes>
698 </resource>
699 </resources>
700 </configuration>
701 </execution>
702 </executions>
703 </plugin>
704 <plugin>
705 <groupId>io.fabric8</groupId>
706 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200707 <version>${fabric8.version}</version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200708 <configuration>
709 <verbose>true</verbose>
710 <apiVersion>1.23</apiVersion>
711 <registry>nexus3.onap.org:10001</registry>
712 <authConfig>
713 <pull>
714 <username>docker</username>
715 <password>docker</password>
716 </pull>
717 </authConfig>
718 <images>
719 <!-- Build cassandra-init image -->
720 <image>
721 <name>onap/sdc-cassandra-init</name>
722 <alias>sdc-cassandra-init</alias>
723 <build>
724 <cleanup>try</cleanup>
725 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
726 <tags>
727 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200728 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
729 </tags>
730 </build>
731 </image>
732 </images>
733 </configuration>
734 <executions>
735 <execution>
736 <id>clean-images</id>
737 <phase>pre-clean</phase>
738 <goals>
739 <goal>remove</goal>
740 </goals>
741 <configuration>
742 <removeAll>true</removeAll>
743 <image>onap/sdc-cassandra-init</image>
744 </configuration>
745 </execution>
746
747 <execution>
748 <id>generate-images</id>
749 <phase>install</phase>
750 <goals>
751 <goal>build</goal>
752 </goals>
753 </execution>
754
755 <execution>
756 <id>push-images</id>
757 <phase>deploy</phase>
758 <goals>
759 <goal>push</goal>
760 </goals>
761 <configuration>
762 <image>onap/sdc-cassandra-init</image>
763 </configuration>
764 </execution>
765 </executions>
766 </plugin>
767 </plugins>
768 </build>
769 </profile>
770 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300771</project>