blob: ce64b7fc1b40fb5661889e25be20781fe5dced52 [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 Landoa5445102018-03-04 14:53:33 +020080
81 <exclusion>
82 <groupId>com.att.nsa</groupId>
83 <artifactId>cambriaClient</artifactId>
84 </exclusion>
85 <exclusion>
86 <groupId>com.att.nsa</groupId>
87 <artifactId>dmaapClient</artifactId>
88 </exclusion>
89 <exclusion>
90 <artifactId>slf4j-log4j12</artifactId>
91 <groupId>org.slf4j</groupId>
92 </exclusion>
93
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>
110 <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
121 <!--Artifact Generator-->
122 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530123 <groupId>org.onap.sdc.common</groupId>
124 <artifactId>onap-sdc-artifact-generator-api</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +0300125 <version>${artifact-generator-api.version}</version>
126 <scope>compile</scope>
127 <exclusions>
128 <exclusion>
129 <groupId>junit</groupId>
130 <artifactId>junit</artifactId>
131 </exclusion>
132 </exclusions>
133 </dependency>
134
135 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530136 <groupId>org.onap.sdc.common</groupId>
137 <artifactId>onap-sdc-artifact-generator-core</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +0300138 <version>${artifact-generator-core.version}</version>
139 <scope>compile</scope>
140 <exclusions>
141 <exclusion>
142 <groupId>junit</groupId>
143 <artifactId>junit</artifactId>
144 </exclusion>
145 </exclusions>
146 </dependency>
147
148 <dependency>
amitjai42c920b2018-04-27 13:28:57 +0530149 <groupId>org.onap.sdc.common</groupId>
150 <artifactId>onap-common-lib</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +0300151 <version>${dox-common-lib.version}</version>
152 <type>pom</type>
153 <exclusions>
154 <exclusion>
155 <groupId>junit</groupId>
156 <artifactId>junit</artifactId>
157 </exclusion>
158 </exclusions>
159 </dependency>
160
161
Michael Landoed64b5e2017-06-09 03:19:04 +0300162 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +0200163 <dependency>
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-server</artifactId>
Michael Landod618ad62018-05-13 22:27:13 +0300166 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200167 <scope>compile</scope>
168 </dependency>
169
170 <!-- listen to file changes -->
171 <dependency>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300174 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200175 <scope>compile</scope>
176 </dependency>
177
178 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300179 <groupId>commons-cli</groupId>
180 <artifactId>commons-cli</artifactId>
181 <version>1.4</version>
182 </dependency>
183
184 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200185 <groupId>org.eclipse.jetty</groupId>
186 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200188 <scope>compile</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>org.glassfish.jersey.core</groupId>
193 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300194 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>org.glassfish.jersey.containers</groupId>
200 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300201 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200202 <scope>compile</scope>
203 </dependency>
204
205 <dependency>
206 <groupId>org.glassfish.jersey.containers</groupId>
207 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300208 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200209 <scope>compile</scope>
210 </dependency>
211
212 <dependency>
213 <groupId>org.glassfish.jersey.media</groupId>
214 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300215 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200216 <scope>compile</scope>
217 </dependency>
218
219 <dependency>
220 <groupId>org.glassfish.jersey.media</groupId>
221 <artifactId>jersey-media-multipart</artifactId>
222 <version>2.14</version>
223 <scope>compile</scope>
224 </dependency>
225
226 <!-- slf4j + logback -->
227 <dependency>
228 <groupId>org.slf4j</groupId>
229 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300230 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200231 <scope>compile</scope>
232 </dependency>
233
234 <dependency>
235 <groupId>ch.qos.logback</groupId>
236 <artifactId>logback-classic</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200237 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200238 <scope>compile</scope>
239 </dependency>
240
241 <dependency>
242 <groupId>ch.qos.logback</groupId>
243 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200244 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200245 <scope>compile</scope>
246 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300247
Michael Lando451a3402017-02-19 10:28:42 +0200248 <!-- groovy -->
249 <dependency>
250 <groupId>org.codehaus.groovy</groupId>
251 <artifactId>groovy-all</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200252 <version>${groovy.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200253 <scope>compile</scope>
254 </dependency>
255
Michael Landoed64b5e2017-06-09 03:19:04 +0300256 <dependency>
257 <groupId>commons-configuration</groupId>
258 <artifactId>commons-configuration</artifactId>
259 <version>1.6</version>
260 <scope>compile</scope>
261 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200262
263 <!-- TITAN -->
264 <dependency>
265 <groupId>com.thinkaurelius.titan</groupId>
266 <artifactId>titan-core</artifactId>
267 <version>${titan.version}</version>
268 <scope>compile</scope>
269 <exclusions>
270 <exclusion>
271 <groupId>org.json</groupId>
272 <artifactId>json</artifactId>
273 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300274 <exclusion>
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-log4j12</artifactId>
277 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200278 </exclusions>
279 </dependency>
280
281 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300282 <groupId>com.googlecode.json-simple</groupId>
283 <artifactId>json-simple</artifactId>
284 <version>${json-simple.version}</version>
285 <scope>compile</scope>
286 </dependency>
287
288 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200289 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200290 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200291 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200292 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300293 <exclusions>
294 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200295 <groupId>org.slf4j</groupId>
296 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300297 </exclusion>
298 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200299 </dependency>
300
301 <dependency>
302 <groupId>org.apache.tinkerpop</groupId>
303 <artifactId>tinkergraph-gremlin</artifactId>
304 <version>3.0.1-incubating</version>
305 <scope>compile</scope>
306 </dependency>
307
308 <dependency>
309 <groupId>org.apache.tinkerpop</groupId>
310 <artifactId>gremlin-groovy</artifactId>
311 <version>3.0.1-incubating</version>
312 <scope>compile</scope>
313 </dependency>
314
315 <dependency>
316 <groupId>com.tinkerpop.blueprints</groupId>
317 <artifactId>blueprints-sail-graph</artifactId>
318 <version>2.5.0</version>
319 <optional>true</optional>
320 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300321 <exclusions>
322 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200323 <groupId>org.slf4j</groupId>
324 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300325 </exclusion>
326 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200327 </dependency>
328
329 <dependency>
330 <groupId>com.tinkerpop.blueprints</groupId>
331 <artifactId>blueprints-graph-sail</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300332 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +0200333 <optional>true</optional>
334 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300335 <exclusions>
336 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200337 <groupId>org.slf4j</groupId>
338 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300339 </exclusion>
340 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200341 </dependency>
342
343 <!-- TITAN end -->
344 <dependency>
345 <groupId>commons-logging</groupId>
346 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200347 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200348 <scope>compile</scope>
349 </dependency>
350
351 <dependency>
352 <groupId>commons-codec</groupId>
353 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200354 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200355 <scope>compile</scope>
356 </dependency>
357 <dependency>
358 <groupId>com.fasterxml.jackson.core</groupId>
359 <artifactId>jackson-core</artifactId>
360 <version>${jackson.version}</version>
361 <scope>compile</scope>
362 </dependency>
363
364 <dependency>
365 <groupId>com.fasterxml.jackson.core</groupId>
366 <artifactId>jackson-databind</artifactId>
367 <version>${jackson.version}</version>
368 <scope>compile</scope>
369 </dependency>
370
371 <dependency>
372 <groupId>com.fasterxml.jackson.core</groupId>
373 <artifactId>jackson-annotations</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300374 <version>${jackson.annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200375 <scope>compile</scope>
376 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300377
Michael Lando451a3402017-02-19 10:28:42 +0200378 <dependency>
379 <groupId>com.google.code.gson</groupId>
380 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200382 <scope>compile</scope>
383 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300384
Michael Lando451a3402017-02-19 10:28:42 +0200385 <dependency>
386 <groupId>org.apache.httpcomponents</groupId>
387 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200388 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200389 <scope>compile</scope>
390 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300391
Michael Lando451a3402017-02-19 10:28:42 +0200392 <dependency>
393 <groupId>org.apache.httpcomponents</groupId>
394 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200395 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200396 <scope>compile</scope>
397 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300398
Michael Lando451a3402017-02-19 10:28:42 +0200399 <!-- Spring 4 dependencies -->
400 <dependency>
401 <groupId>org.springframework</groupId>
402 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200403 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200404 <scope>compile</scope>
405 </dependency>
406
407 <dependency>
408 <groupId>org.springframework</groupId>
409 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200410 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200411 <scope>compile</scope>
412 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300413
Michael Lando451a3402017-02-19 10:28:42 +0200414 <dependency>
415 <groupId>org.springframework</groupId>
416 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200417 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200418 <scope>compile</scope>
419 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300420
Michael Lando451a3402017-02-19 10:28:42 +0200421 <dependency>
422 <groupId>org.springframework</groupId>
423 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300424 <version>${spring.version}</version>
425 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200426 <scope>compile</scope>
427 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300428
Michael Lando451a3402017-02-19 10:28:42 +0200429 <dependency>
430 <groupId>org.springframework</groupId>
431 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200432 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200433 <scope>compile</scope>
434 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300435
Michael Lando451a3402017-02-19 10:28:42 +0200436 <!-- Spring 4 dependencies end -->
437 <!-- JavaConfig need this library -->
438 <dependency>
439 <groupId>cglib</groupId>
440 <artifactId>cglib</artifactId>
441 <version>3.2.4</version>
442 <scope>compile</scope>
443 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300444
Michael Lando451a3402017-02-19 10:28:42 +0200445 <dependency>
446 <groupId>org.yaml</groupId>
447 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300448 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200449 <scope>compile</scope>
450 </dependency>
451
Michael Landoed64b5e2017-06-09 03:19:04 +0300452 <dependency>
453 <groupId>org.functionaljava</groupId>
454 <artifactId>functionaljava</artifactId>
455 <version>${functionaljava.version}</version>
456 <scope>compile</scope>
457 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200458
459 <dependency>
460 <groupId>org.elasticsearch</groupId>
461 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200462 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200463 <scope>compile</scope>
464 </dependency>
465
466 <dependency>
467 <groupId>com.fasterxml.jackson.dataformat</groupId>
468 <artifactId>jackson-dataformat-yaml</artifactId>
469 <version>${jackson.version}</version>
470 <scope>compile</scope>
471 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300472
Michael Lando451a3402017-02-19 10:28:42 +0200473 <dependency>
474 <groupId>org.elasticsearch.plugin</groupId>
475 <artifactId>shield</artifactId>
476 <version>${elastic-search.version}</version>
477 <scope>compile</scope>
478 </dependency>
479
480 <!-- CASSANDRA -->
481 <dependency>
482 <groupId>com.datastax.cassandra</groupId>
483 <artifactId>cassandra-driver-core</artifactId>
484 <version>${cassandra.driver.version}</version>
485 <scope>compile</scope>
486 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300487
Michael Lando451a3402017-02-19 10:28:42 +0200488 <dependency>
489 <groupId>com.datastax.cassandra</groupId>
490 <artifactId>cassandra-driver-mapping</artifactId>
491 <version>${cassandra.driver.version}</version>
492 <scope>compile</scope>
493 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300494
Michael Lando451a3402017-02-19 10:28:42 +0200495 <!-- CASSANDRA END -->
Michael Landoa5445102018-03-04 14:53:33 +0200496
497 <!-- OPEN CSV -->
498 <dependency>
499 <groupId>com.opencsv</groupId>
500 <artifactId>opencsv</artifactId>
501 <version>4.0</version>
502 <scope>compile</scope>
503 </dependency>
504
Michael Lando451a3402017-02-19 10:28:42 +0200505 <dependency>
506 <groupId>org.apache.poi</groupId>
507 <artifactId>com.springsource.org.apache.poi</artifactId>
508 <version>3.9.0.FINAL</version>
509 <scope>compile</scope>
510 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300511
Michael Lando451a3402017-02-19 10:28:42 +0200512 <dependency>
513 <groupId>org.jdom</groupId>
514 <artifactId>jdom</artifactId>
515 <version>2.0.2</version>
516 <scope>compile</scope>
517 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300518
Michael Lando451a3402017-02-19 10:28:42 +0200519 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300520 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200521 <dependency>
522 <groupId>de.ruedigermoeller</groupId>
523 <artifactId>fst</artifactId>
524 <version>2.47</version>
525 <scope>compile</scope>
526 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200527
Michael Landoed64b5e2017-06-09 03:19:04 +0300528 <!-- testing -->
529 <dependency>
530 <groupId>junit</groupId>
531 <artifactId>junit</artifactId>
532 <version>${junit.version}</version>
533 <scope>test</scope>
534 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300535
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200536 <dependency>
537 <groupId>org.testng</groupId>
538 <artifactId>testng</artifactId>
539 <version>${testng.version}</version>
540 <scope>test</scope>
541 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300542
543 <dependency>
544 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200545 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300546 <scope>test</scope>
547 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300548 <!-- testing end -->
549
550 </dependencies>
551
552 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200553 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300554 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300555 <plugin>
556 <artifactId>maven-clean-plugin</artifactId>
557 <version>3.0.0</version>
558 <executions>
559 <execution>
560 <id>clean-static-files</id>
561 <phase>clean</phase>
562 <goals>
563 <goal>clean</goal>
564 </goals>
565 <configuration>
566 <filesets>
567 <!-- tosca files -->
568 <fileset>
569 <directory>${project.parent.basedir}/asdctool/tosca</directory>
570 <followSymlinks>false</followSymlinks>
571 </fileset>
572 <fileset>
573 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
574 <followSymlinks>false</followSymlinks>
575 <includes>
576 <include>**/default.rb</include>
577 </includes>
578 </fileset>
579 <fileset>
580 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
581 <followSymlinks>false</followSymlinks>
582 </fileset>
583 <fileset>
584 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
585 <followSymlinks>false</followSymlinks>
586 <includes>
587 <include>**/sdctool.tar</include>
588 </includes>
589 </fileset>
590 </filesets>
591 </configuration>
592 </execution>
593 </executions>
594 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300595
Michael Lando451a3402017-02-19 10:28:42 +0200596 <plugin>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-deploy-plugin</artifactId>
599 <version>2.7</version>
600 <configuration>
601 <skip>true</skip>
602 </configuration>
603 </plugin>
604
605 <plugin>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200608 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200609 <execution>
610 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300611 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200612 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300613 <descriptors>
614 <descriptor>${project.basedir}/tarball.xml</descriptor>
615 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200616 </configuration>
617 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200618 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200619 <goals>
620 <goal>single</goal>
621 </goals>
622 </execution>
623 </executions>
624 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200625
Tal Gitelman51d50f02017-12-10 18:55:03 +0200626 <plugin>
627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-shade-plugin</artifactId>
629 <version>3.1.0</version>
Michael Landoa5445102018-03-04 14:53:33 +0200630 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200631 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200632 <phase>package</phase>
633 <goals>
634 <goal>shade</goal>
635 </goals>
636 <configuration>
637 <filters>
638 <filter>
639 <artifact>org.openecomp.sdc:*</artifact>
640 <excludes>
641 <exclude>**/elasticsearch.yml</exclude>
642 </excludes>
643 </filter>
644 <filter>
645 <artifact>*:*</artifact>
646 <excludes>
647 <exclude>META-INF/*.SF</exclude>
648 <exclude>META-INF/*.DSA</exclude>
649 <exclude>META-INF/*.RSA</exclude>
650 </excludes>
651 </filter>
652 </filters>
653 <transformers>
654 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
655 </transformers>
656 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200657 </execution>
658 </executions>
659 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200660 <plugin>
661 <groupId>ru.yaal.maven</groupId>
662 <artifactId>write-text-files-maven-plugin</artifactId>
663 <version>1.1</version>
664 <configuration>
665 <charset>UTF-8</charset>
666 <files>
667 <file>
668 <path>
669 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
670 </path>
671 <lines>
672 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
673 </lines>
674 </file>
675 </files>
676 </configuration>
677 <executions>
678 <execution>
679 <id>write-text-files</id>
680 <phase>prepare-package</phase>
681 <goals>
682 <goal>write-text-files</goal>
683 </goals>
684 </execution>
685 </executions>
686 </plugin>
687 <plugin>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-resources-plugin</artifactId>
690 <version>3.0.2</version>
691 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200692 <execution>
693 <id>copy-tosca-folder</id>
694 <!-- here the phase you need -->
695 <phase>compile</phase>
696 <goals>
697 <goal>copy-resources</goal>
698 </goals>
699 <configuration>
700 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
701 <resources>
702 <resource>
703 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
704 <filtering>true</filtering>
705 </resource>
706 </resources>
707 </configuration>
708 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200709 </executions>
710 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200711 </plugins>
712 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200713 <profiles>
714 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200715 <id>docker</id>
716 <activation>
717 <activeByDefault>false</activeByDefault>
718 </activation>
719 <build>
720 <plugins>
721 <plugin>
722 <artifactId>maven-resources-plugin</artifactId>
723 <version>3.0.2</version>
724 <executions>
725 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200726 <id>copy-sdctool</id>
727 <phase>verify</phase>
728 <goals>
729 <goal>copy-resources</goal>
730 </goals>
731 <configuration>
732 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
733 <resources>
734 <resource>
735 <directory>${project.parent.basedir}/asdctool/target</directory>
736 <includes>
737 <include>sdctool.tar</include>
738 </includes>
739 </resource>
740 </resources>
741 </configuration>
742 </execution>
743 </executions>
744 </plugin>
745 <plugin>
746 <groupId>io.fabric8</groupId>
747 <artifactId>docker-maven-plugin</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +0200748 <version>${fabric8.version}</version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200749 <configuration>
750 <verbose>true</verbose>
751 <apiVersion>1.23</apiVersion>
752 <registry>nexus3.onap.org:10001</registry>
753 <authConfig>
754 <pull>
755 <username>docker</username>
756 <password>docker</password>
757 </pull>
758 </authConfig>
759 <images>
760 <!-- Build cassandra-init image -->
761 <image>
762 <name>onap/sdc-cassandra-init</name>
763 <alias>sdc-cassandra-init</alias>
764 <build>
765 <cleanup>try</cleanup>
766 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
767 <tags>
768 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200769 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
770 </tags>
771 </build>
772 </image>
773 </images>
774 </configuration>
775 <executions>
776 <execution>
777 <id>clean-images</id>
778 <phase>pre-clean</phase>
779 <goals>
780 <goal>remove</goal>
781 </goals>
782 <configuration>
783 <removeAll>true</removeAll>
784 <image>onap/sdc-cassandra-init</image>
785 </configuration>
786 </execution>
787
788 <execution>
789 <id>generate-images</id>
790 <phase>install</phase>
791 <goals>
792 <goal>build</goal>
793 </goals>
794 </execution>
795
796 <execution>
797 <id>push-images</id>
798 <phase>deploy</phase>
799 <goals>
800 <goal>push</goal>
801 </goals>
802 <configuration>
803 <image>onap/sdc-cassandra-init</image>
804 </configuration>
805 </execution>
806 </executions>
807 </plugin>
808 </plugins>
809 </build>
810 </profile>
811 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200812</project>