blob: 0455d7f32e8e2e1760787df772a2ef203f0a1622 [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>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300211 <artifactId>groovy</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200212 <scope>compile</scope>
213 </dependency>
214
Michael Landoed64b5e2017-06-09 03:19:04 +0300215 <dependency>
216 <groupId>commons-configuration</groupId>
217 <artifactId>commons-configuration</artifactId>
218 <version>1.6</version>
219 <scope>compile</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300220 <exclusions>
221 <exclusion>
222 <artifactId>commons-collections</artifactId>
223 <groupId>commons-collections</groupId>
224 </exclusion>
225 </exclusions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300226 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200227
228 <!-- TITAN -->
229 <dependency>
230 <groupId>com.thinkaurelius.titan</groupId>
231 <artifactId>titan-core</artifactId>
232 <version>${titan.version}</version>
233 <scope>compile</scope>
234 <exclusions>
235 <exclusion>
236 <groupId>org.json</groupId>
237 <artifactId>json</artifactId>
238 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300239 <exclusion>
240 <groupId>org.slf4j</groupId>
241 <artifactId>slf4j-log4j12</artifactId>
242 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300243 <exclusion>
244 <artifactId>commons-collections</artifactId>
245 <groupId>commons-collections</groupId>
246 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200247 </exclusions>
248 </dependency>
249
250 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300251 <groupId>com.googlecode.json-simple</groupId>
252 <artifactId>json-simple</artifactId>
253 <version>${json-simple.version}</version>
254 <scope>compile</scope>
255 </dependency>
256
257 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200258 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200259 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200260 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200261 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300262 <exclusions>
263 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300266 </exclusion>
267 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200268 </dependency>
269
270 <dependency>
271 <groupId>org.apache.tinkerpop</groupId>
272 <artifactId>tinkergraph-gremlin</artifactId>
273 <version>3.0.1-incubating</version>
274 <scope>compile</scope>
275 </dependency>
276
277 <dependency>
278 <groupId>org.apache.tinkerpop</groupId>
279 <artifactId>gremlin-groovy</artifactId>
280 <version>3.0.1-incubating</version>
281 <scope>compile</scope>
282 </dependency>
283
Michael Lando451a3402017-02-19 10:28:42 +0200284 <!-- TITAN end -->
285 <dependency>
286 <groupId>commons-logging</groupId>
287 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200288 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200289 <scope>compile</scope>
290 </dependency>
291
292 <dependency>
293 <groupId>commons-codec</groupId>
294 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200295 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200296 <scope>compile</scope>
297 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200298
299 <dependency>
300 <groupId>com.fasterxml.jackson.core</groupId>
301 <artifactId>jackson-databind</artifactId>
302 <version>${jackson.version}</version>
303 <scope>compile</scope>
304 </dependency>
305
Michael Lando5b593492018-07-29 16:13:45 +0300306 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200307 <dependency>
308 <groupId>com.fasterxml.jackson.core</groupId>
309 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300310 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200311 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300312
Michael Lando451a3402017-02-19 10:28:42 +0200313 <dependency>
314 <groupId>com.google.code.gson</groupId>
315 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300316 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200317 <scope>compile</scope>
318 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300319
Michael Lando451a3402017-02-19 10:28:42 +0200320 <dependency>
321 <groupId>org.apache.httpcomponents</groupId>
322 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200323 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200324 <scope>compile</scope>
325 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300326
Michael Lando451a3402017-02-19 10:28:42 +0200327 <dependency>
328 <groupId>org.apache.httpcomponents</groupId>
329 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200330 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200331 <scope>compile</scope>
332 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300333
Michael Lando451a3402017-02-19 10:28:42 +0200334 <!-- Spring 4 dependencies -->
335 <dependency>
336 <groupId>org.springframework</groupId>
337 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200338 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200339 <scope>compile</scope>
340 </dependency>
341
342 <dependency>
343 <groupId>org.springframework</groupId>
344 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200345 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200346 <scope>compile</scope>
347 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300348
Michael Lando451a3402017-02-19 10:28:42 +0200349 <dependency>
350 <groupId>org.springframework</groupId>
351 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200352 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200353 <scope>compile</scope>
354 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300355
Michael Lando451a3402017-02-19 10:28:42 +0200356 <dependency>
357 <groupId>org.springframework</groupId>
358 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300359 <version>${spring.version}</version>
360 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200361 <scope>compile</scope>
362 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300363
Michael Lando451a3402017-02-19 10:28:42 +0200364 <dependency>
365 <groupId>org.springframework</groupId>
366 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200367 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200368 <scope>compile</scope>
369 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300370
Michael Lando451a3402017-02-19 10:28:42 +0200371 <!-- Spring 4 dependencies end -->
372 <!-- JavaConfig need this library -->
373 <dependency>
374 <groupId>cglib</groupId>
375 <artifactId>cglib</artifactId>
376 <version>3.2.4</version>
377 <scope>compile</scope>
378 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300379
Michael Lando451a3402017-02-19 10:28:42 +0200380 <dependency>
381 <groupId>org.yaml</groupId>
382 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300383 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200384 <scope>compile</scope>
385 </dependency>
386
Michael Landoed64b5e2017-06-09 03:19:04 +0300387 <dependency>
388 <groupId>org.functionaljava</groupId>
389 <artifactId>functionaljava</artifactId>
390 <version>${functionaljava.version}</version>
391 <scope>compile</scope>
392 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200393
394 <dependency>
395 <groupId>org.elasticsearch</groupId>
396 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200397 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200398 <scope>compile</scope>
399 </dependency>
400
401 <dependency>
402 <groupId>com.fasterxml.jackson.dataformat</groupId>
403 <artifactId>jackson-dataformat-yaml</artifactId>
404 <version>${jackson.version}</version>
405 <scope>compile</scope>
406 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300407
Michael Lando451a3402017-02-19 10:28:42 +0200408 <!-- CASSANDRA -->
409 <dependency>
410 <groupId>com.datastax.cassandra</groupId>
411 <artifactId>cassandra-driver-core</artifactId>
412 <version>${cassandra.driver.version}</version>
413 <scope>compile</scope>
414 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300415
Michael Lando451a3402017-02-19 10:28:42 +0200416 <dependency>
417 <groupId>com.datastax.cassandra</groupId>
418 <artifactId>cassandra-driver-mapping</artifactId>
419 <version>${cassandra.driver.version}</version>
420 <scope>compile</scope>
421 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300422
Michael Lando451a3402017-02-19 10:28:42 +0200423 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300424
Michael Landoa5445102018-03-04 14:53:33 +0200425 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300426 <dependency>
427 <groupId>com.opencsv</groupId>
428 <artifactId>opencsv</artifactId>
429 <version>4.0</version>
430 <scope>compile</scope>
431 </dependency>
432
Michael Lando451a3402017-02-19 10:28:42 +0200433 <dependency>
434 <groupId>org.apache.poi</groupId>
435 <artifactId>com.springsource.org.apache.poi</artifactId>
436 <version>3.9.0.FINAL</version>
437 <scope>compile</scope>
438 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300439
Michael Lando451a3402017-02-19 10:28:42 +0200440 <dependency>
441 <groupId>org.jdom</groupId>
442 <artifactId>jdom</artifactId>
443 <version>2.0.2</version>
444 <scope>compile</scope>
445 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300446
Michael Lando5b593492018-07-29 16:13:45 +0300447 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300448 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200449 <dependency>
450 <groupId>de.ruedigermoeller</groupId>
451 <artifactId>fst</artifactId>
452 <version>2.47</version>
453 <scope>compile</scope>
454 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200455
Michael Landoed64b5e2017-06-09 03:19:04 +0300456 <!-- testing -->
457 <dependency>
458 <groupId>junit</groupId>
459 <artifactId>junit</artifactId>
460 <version>${junit.version}</version>
461 <scope>test</scope>
462 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300463
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200464 <dependency>
465 <groupId>org.testng</groupId>
466 <artifactId>testng</artifactId>
467 <version>${testng.version}</version>
468 <scope>test</scope>
469 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300470
471 <dependency>
472 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200473 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300474 <scope>test</scope>
475 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300476
Michael Lando5b593492018-07-29 16:13:45 +0300477 <dependency>
478 <groupId>org.assertj</groupId>
479 <artifactId>assertj-core</artifactId>
480 <scope>test</scope>
481 </dependency>
482 <!-- testing end -->
Michael Landoed64b5e2017-06-09 03:19:04 +0300483 </dependencies>
484
485 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200486 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300487 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300488 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300489 <groupId>org.apache.maven.plugins</groupId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300490 <artifactId>maven-clean-plugin</artifactId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300491 <executions>
492 <execution>
493 <id>clean-static-files</id>
494 <phase>clean</phase>
495 <goals>
496 <goal>clean</goal>
497 </goals>
498 <configuration>
499 <filesets>
500 <!-- tosca files -->
501 <fileset>
502 <directory>${project.parent.basedir}/asdctool/tosca</directory>
503 <followSymlinks>false</followSymlinks>
504 </fileset>
505 <fileset>
506 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
507 <followSymlinks>false</followSymlinks>
508 <includes>
509 <include>**/default.rb</include>
510 </includes>
511 </fileset>
512 <fileset>
513 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
514 <followSymlinks>false</followSymlinks>
515 </fileset>
516 <fileset>
517 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
518 <followSymlinks>false</followSymlinks>
519 <includes>
520 <include>**/sdctool.tar</include>
521 </includes>
522 </fileset>
523 </filesets>
524 </configuration>
525 </execution>
526 </executions>
527 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300528
Michael Lando451a3402017-02-19 10:28:42 +0200529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200532 <configuration>
533 <skip>true</skip>
534 </configuration>
535 </plugin>
536
537 <plugin>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200540 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200541 <execution>
542 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300543 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200544 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300545 <descriptors>
546 <descriptor>${project.basedir}/tarball.xml</descriptor>
547 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200548 </configuration>
549 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200550 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200551 <goals>
552 <goal>single</goal>
553 </goals>
554 </execution>
555 </executions>
556 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200557
Tal Gitelman51d50f02017-12-10 18:55:03 +0200558 <plugin>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300561 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200562 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200563 <phase>package</phase>
564 <goals>
565 <goal>shade</goal>
566 </goals>
567 <configuration>
568 <filters>
569 <filter>
570 <artifact>org.openecomp.sdc:*</artifact>
571 <excludes>
572 <exclude>**/elasticsearch.yml</exclude>
573 </excludes>
574 </filter>
575 <filter>
576 <artifact>*:*</artifact>
577 <excludes>
578 <exclude>META-INF/*.SF</exclude>
579 <exclude>META-INF/*.DSA</exclude>
580 <exclude>META-INF/*.RSA</exclude>
581 </excludes>
582 </filter>
583 </filters>
584 <transformers>
585 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
586 </transformers>
587 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200588 </execution>
589 </executions>
590 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200591 <plugin>
592 <groupId>ru.yaal.maven</groupId>
593 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200594 <configuration>
595 <charset>UTF-8</charset>
596 <files>
597 <file>
598 <path>
599 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
600 </path>
601 <lines>
602 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
603 </lines>
604 </file>
605 </files>
606 </configuration>
607 <executions>
608 <execution>
609 <id>write-text-files</id>
610 <phase>prepare-package</phase>
611 <goals>
612 <goal>write-text-files</goal>
613 </goals>
614 </execution>
615 </executions>
616 </plugin>
617 <plugin>
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200620 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200621 <execution>
622 <id>copy-tosca-folder</id>
623 <!-- here the phase you need -->
624 <phase>compile</phase>
625 <goals>
626 <goal>copy-resources</goal>
627 </goals>
628 <configuration>
629 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
630 <resources>
631 <resource>
632 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
633 <filtering>true</filtering>
634 </resource>
635 </resources>
636 </configuration>
637 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200638 </executions>
639 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100640 <plugin>
641 <groupId>com.github.sylvainlaurent.maven</groupId>
642 <artifactId>yaml-json-validator-maven-plugin</artifactId>
643 <executions>
644 <execution>
645 <id>validate</id>
646 <phase>validate</phase>
647 <goals>
648 <goal>validate</goal>
649 </goals>
650 <configuration>
651 <validationSets>
652 <validationSet>
653 <includes>
654 <include>src/main/resources/**/*.y*ml</include>
655 <include>src/test/resources/**/*.y*ml</include>
656 </includes>
657 </validationSet>
658 <validationSet>
659 <includes>
660 <include>src/main/resources/**/*.json</include>
661 <include>src/test/resources/**/*.json</include>
662 </includes>
663 </validationSet>
664 </validationSets>
665 </configuration>
666 </execution>
667 </executions>
668 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200669 </plugins>
670 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200671 <profiles>
672 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200673 <id>docker</id>
674 <activation>
675 <activeByDefault>false</activeByDefault>
676 </activation>
677 <build>
678 <plugins>
679 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300680 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200681 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200682 <executions>
683 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200684 <id>copy-sdctool</id>
685 <phase>verify</phase>
686 <goals>
687 <goal>copy-resources</goal>
688 </goals>
689 <configuration>
690 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
691 <resources>
692 <resource>
693 <directory>${project.parent.basedir}/asdctool/target</directory>
694 <includes>
695 <include>sdctool.tar</include>
696 </includes>
697 </resource>
698 </resources>
699 </configuration>
700 </execution>
701 </executions>
702 </plugin>
703 <plugin>
704 <groupId>io.fabric8</groupId>
705 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200706 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200707 <apiVersion>1.23</apiVersion>
708 <registry>nexus3.onap.org:10001</registry>
709 <authConfig>
710 <pull>
711 <username>docker</username>
712 <password>docker</password>
713 </pull>
714 </authConfig>
715 <images>
716 <!-- Build cassandra-init image -->
717 <image>
718 <name>onap/sdc-cassandra-init</name>
719 <alias>sdc-cassandra-init</alias>
720 <build>
721 <cleanup>try</cleanup>
722 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
723 <tags>
724 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200725 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
726 </tags>
727 </build>
728 </image>
729 </images>
730 </configuration>
731 <executions>
732 <execution>
733 <id>clean-images</id>
734 <phase>pre-clean</phase>
735 <goals>
736 <goal>remove</goal>
737 </goals>
738 <configuration>
739 <removeAll>true</removeAll>
740 <image>onap/sdc-cassandra-init</image>
741 </configuration>
742 </execution>
743
744 <execution>
745 <id>generate-images</id>
746 <phase>install</phase>
747 <goals>
748 <goal>build</goal>
749 </goals>
750 </execution>
751
752 <execution>
753 <id>push-images</id>
754 <phase>deploy</phase>
755 <goals>
756 <goal>push</goal>
757 </goals>
758 <configuration>
759 <image>onap/sdc-cassandra-init</image>
760 </configuration>
761 </execution>
762 </executions>
763 </plugin>
764 </plugins>
765 </build>
766 </profile>
767 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300768</project>