blob: 0ccf87098db6c1f60613caf35ac054858ac8a7bd [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>
Tal Gitelman76783962018-09-06 18:16:24 +0300221 <exclusions>
222 <exclusion>
223 <artifactId>commons-collections</artifactId>
224 <groupId>commons-collections</groupId>
225 </exclusion>
226 </exclusions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300227 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200228
229 <!-- TITAN -->
230 <dependency>
231 <groupId>com.thinkaurelius.titan</groupId>
232 <artifactId>titan-core</artifactId>
233 <version>${titan.version}</version>
234 <scope>compile</scope>
235 <exclusions>
236 <exclusion>
237 <groupId>org.json</groupId>
238 <artifactId>json</artifactId>
239 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300240 <exclusion>
241 <groupId>org.slf4j</groupId>
242 <artifactId>slf4j-log4j12</artifactId>
243 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300244 <exclusion>
245 <artifactId>commons-collections</artifactId>
246 <groupId>commons-collections</groupId>
247 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200248 </exclusions>
249 </dependency>
250
251 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300252 <groupId>com.googlecode.json-simple</groupId>
253 <artifactId>json-simple</artifactId>
254 <version>${json-simple.version}</version>
255 <scope>compile</scope>
256 </dependency>
257
258 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200259 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200260 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200261 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200262 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300263 <exclusions>
264 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300267 </exclusion>
268 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200269 </dependency>
270
271 <dependency>
272 <groupId>org.apache.tinkerpop</groupId>
273 <artifactId>tinkergraph-gremlin</artifactId>
274 <version>3.0.1-incubating</version>
275 <scope>compile</scope>
276 </dependency>
277
278 <dependency>
279 <groupId>org.apache.tinkerpop</groupId>
280 <artifactId>gremlin-groovy</artifactId>
281 <version>3.0.1-incubating</version>
282 <scope>compile</scope>
283 </dependency>
284
285 <dependency>
286 <groupId>com.tinkerpop.blueprints</groupId>
287 <artifactId>blueprints-sail-graph</artifactId>
288 <version>2.5.0</version>
289 <optional>true</optional>
290 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300291 <exclusions>
292 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200293 <groupId>org.slf4j</groupId>
294 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300295 </exclusion>
296 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200297 </dependency>
298
299 <dependency>
300 <groupId>com.tinkerpop.blueprints</groupId>
301 <artifactId>blueprints-graph-sail</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300302 <version>2.5.0</version>
Michael Lando451a3402017-02-19 10:28:42 +0200303 <optional>true</optional>
304 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300305 <exclusions>
306 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200307 <groupId>org.slf4j</groupId>
308 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300309 </exclusion>
310 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200311 </dependency>
312
313 <!-- TITAN end -->
314 <dependency>
315 <groupId>commons-logging</groupId>
316 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200317 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200318 <scope>compile</scope>
319 </dependency>
320
321 <dependency>
322 <groupId>commons-codec</groupId>
323 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200324 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200325 <scope>compile</scope>
326 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200327
328 <dependency>
329 <groupId>com.fasterxml.jackson.core</groupId>
330 <artifactId>jackson-databind</artifactId>
331 <version>${jackson.version}</version>
332 <scope>compile</scope>
333 </dependency>
334
Michael Lando5b593492018-07-29 16:13:45 +0300335 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200336 <dependency>
337 <groupId>com.fasterxml.jackson.core</groupId>
338 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300339 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200340 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300341
Michael Lando451a3402017-02-19 10:28:42 +0200342 <dependency>
343 <groupId>com.google.code.gson</groupId>
344 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300345 <version>${gson.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.apache.httpcomponents</groupId>
351 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200352 <version>${httpclient.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.apache.httpcomponents</groupId>
358 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200359 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200360 <scope>compile</scope>
361 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300362
Michael Lando451a3402017-02-19 10:28:42 +0200363 <!-- Spring 4 dependencies -->
364 <dependency>
365 <groupId>org.springframework</groupId>
366 <artifactId>spring-core</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>
370
371 <dependency>
372 <groupId>org.springframework</groupId>
373 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200374 <version>${spring.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>org.springframework</groupId>
380 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200381 <version>${spring.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.springframework</groupId>
387 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300388 <version>${spring.version}</version>
389 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200390 <scope>compile</scope>
391 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300392
Michael Lando451a3402017-02-19 10:28:42 +0200393 <dependency>
394 <groupId>org.springframework</groupId>
395 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200396 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200397 <scope>compile</scope>
398 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300399
Michael Lando451a3402017-02-19 10:28:42 +0200400 <!-- Spring 4 dependencies end -->
401 <!-- JavaConfig need this library -->
402 <dependency>
403 <groupId>cglib</groupId>
404 <artifactId>cglib</artifactId>
405 <version>3.2.4</version>
406 <scope>compile</scope>
407 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300408
Michael Lando451a3402017-02-19 10:28:42 +0200409 <dependency>
410 <groupId>org.yaml</groupId>
411 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300412 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200413 <scope>compile</scope>
414 </dependency>
415
Michael Landoed64b5e2017-06-09 03:19:04 +0300416 <dependency>
417 <groupId>org.functionaljava</groupId>
418 <artifactId>functionaljava</artifactId>
419 <version>${functionaljava.version}</version>
420 <scope>compile</scope>
421 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200422
423 <dependency>
424 <groupId>org.elasticsearch</groupId>
425 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200426 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200427 <scope>compile</scope>
428 </dependency>
429
430 <dependency>
431 <groupId>com.fasterxml.jackson.dataformat</groupId>
432 <artifactId>jackson-dataformat-yaml</artifactId>
433 <version>${jackson.version}</version>
434 <scope>compile</scope>
435 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300436
Michael Lando451a3402017-02-19 10:28:42 +0200437 <!-- CASSANDRA -->
438 <dependency>
439 <groupId>com.datastax.cassandra</groupId>
440 <artifactId>cassandra-driver-core</artifactId>
441 <version>${cassandra.driver.version}</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>com.datastax.cassandra</groupId>
447 <artifactId>cassandra-driver-mapping</artifactId>
448 <version>${cassandra.driver.version}</version>
449 <scope>compile</scope>
450 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300451
Michael Lando451a3402017-02-19 10:28:42 +0200452 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300453
Michael Landoa5445102018-03-04 14:53:33 +0200454 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300455 <dependency>
456 <groupId>com.opencsv</groupId>
457 <artifactId>opencsv</artifactId>
458 <version>4.0</version>
459 <scope>compile</scope>
460 </dependency>
461
Michael Lando451a3402017-02-19 10:28:42 +0200462 <dependency>
463 <groupId>org.apache.poi</groupId>
464 <artifactId>com.springsource.org.apache.poi</artifactId>
465 <version>3.9.0.FINAL</version>
466 <scope>compile</scope>
467 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300468
Michael Lando451a3402017-02-19 10:28:42 +0200469 <dependency>
470 <groupId>org.jdom</groupId>
471 <artifactId>jdom</artifactId>
472 <version>2.0.2</version>
473 <scope>compile</scope>
474 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300475
Michael Lando5b593492018-07-29 16:13:45 +0300476 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300477 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200478 <dependency>
479 <groupId>de.ruedigermoeller</groupId>
480 <artifactId>fst</artifactId>
481 <version>2.47</version>
482 <scope>compile</scope>
483 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200484
Michael Landoed64b5e2017-06-09 03:19:04 +0300485 <!-- testing -->
486 <dependency>
487 <groupId>junit</groupId>
488 <artifactId>junit</artifactId>
489 <version>${junit.version}</version>
490 <scope>test</scope>
491 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300492
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200493 <dependency>
494 <groupId>org.testng</groupId>
495 <artifactId>testng</artifactId>
496 <version>${testng.version}</version>
497 <scope>test</scope>
498 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300499
500 <dependency>
501 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200502 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300503 <scope>test</scope>
504 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300505
Michael Lando5b593492018-07-29 16:13:45 +0300506 <dependency>
507 <groupId>org.assertj</groupId>
508 <artifactId>assertj-core</artifactId>
509 <scope>test</scope>
510 </dependency>
511 <!-- testing end -->
Michael Landoed64b5e2017-06-09 03:19:04 +0300512
Tal Gitelmane0199372018-09-18 11:57:53 +0300513 <dependency>
514 <groupId>org.codehaus.groovy</groupId>
515 <artifactId>groovy</artifactId>
516 <version>2.4.8</version>
517 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300518 </dependencies>
519
520 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200521 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300522 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300523 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300524 <groupId>org.apache.maven.plugins</groupId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300525 <artifactId>maven-clean-plugin</artifactId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300526 <executions>
527 <execution>
528 <id>clean-static-files</id>
529 <phase>clean</phase>
530 <goals>
531 <goal>clean</goal>
532 </goals>
533 <configuration>
534 <filesets>
535 <!-- tosca files -->
536 <fileset>
537 <directory>${project.parent.basedir}/asdctool/tosca</directory>
538 <followSymlinks>false</followSymlinks>
539 </fileset>
540 <fileset>
541 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
542 <followSymlinks>false</followSymlinks>
543 <includes>
544 <include>**/default.rb</include>
545 </includes>
546 </fileset>
547 <fileset>
548 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
549 <followSymlinks>false</followSymlinks>
550 </fileset>
551 <fileset>
552 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
553 <followSymlinks>false</followSymlinks>
554 <includes>
555 <include>**/sdctool.tar</include>
556 </includes>
557 </fileset>
558 </filesets>
559 </configuration>
560 </execution>
561 </executions>
562 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300563
Michael Lando451a3402017-02-19 10:28:42 +0200564 <plugin>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200567 <configuration>
568 <skip>true</skip>
569 </configuration>
570 </plugin>
571
572 <plugin>
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200575 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200576 <execution>
577 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300578 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200579 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300580 <descriptors>
581 <descriptor>${project.basedir}/tarball.xml</descriptor>
582 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200583 </configuration>
584 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200585 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200586 <goals>
587 <goal>single</goal>
588 </goals>
589 </execution>
590 </executions>
591 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200592
Tal Gitelman51d50f02017-12-10 18:55:03 +0200593 <plugin>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300596 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200597 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200598 <phase>package</phase>
599 <goals>
600 <goal>shade</goal>
601 </goals>
602 <configuration>
603 <filters>
604 <filter>
605 <artifact>org.openecomp.sdc:*</artifact>
606 <excludes>
607 <exclude>**/elasticsearch.yml</exclude>
608 </excludes>
609 </filter>
610 <filter>
611 <artifact>*:*</artifact>
612 <excludes>
613 <exclude>META-INF/*.SF</exclude>
614 <exclude>META-INF/*.DSA</exclude>
615 <exclude>META-INF/*.RSA</exclude>
616 </excludes>
617 </filter>
618 </filters>
619 <transformers>
620 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
621 </transformers>
622 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200623 </execution>
624 </executions>
625 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200626 <plugin>
627 <groupId>ru.yaal.maven</groupId>
628 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200629 <configuration>
630 <charset>UTF-8</charset>
631 <files>
632 <file>
633 <path>
634 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
635 </path>
636 <lines>
637 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
638 </lines>
639 </file>
640 </files>
641 </configuration>
642 <executions>
643 <execution>
644 <id>write-text-files</id>
645 <phase>prepare-package</phase>
646 <goals>
647 <goal>write-text-files</goal>
648 </goals>
649 </execution>
650 </executions>
651 </plugin>
652 <plugin>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200655 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200656 <execution>
657 <id>copy-tosca-folder</id>
658 <!-- here the phase you need -->
659 <phase>compile</phase>
660 <goals>
661 <goal>copy-resources</goal>
662 </goals>
663 <configuration>
664 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
665 <resources>
666 <resource>
667 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
668 <filtering>true</filtering>
669 </resource>
670 </resources>
671 </configuration>
672 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200673 </executions>
674 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100675 <plugin>
676 <groupId>com.github.sylvainlaurent.maven</groupId>
677 <artifactId>yaml-json-validator-maven-plugin</artifactId>
678 <executions>
679 <execution>
680 <id>validate</id>
681 <phase>validate</phase>
682 <goals>
683 <goal>validate</goal>
684 </goals>
685 <configuration>
686 <validationSets>
687 <validationSet>
688 <includes>
689 <include>src/main/resources/**/*.y*ml</include>
690 <include>src/test/resources/**/*.y*ml</include>
691 </includes>
692 </validationSet>
693 <validationSet>
694 <includes>
695 <include>src/main/resources/**/*.json</include>
696 <include>src/test/resources/**/*.json</include>
697 </includes>
698 </validationSet>
699 </validationSets>
700 </configuration>
701 </execution>
702 </executions>
703 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200704 </plugins>
705 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200706 <profiles>
707 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200708 <id>docker</id>
709 <activation>
710 <activeByDefault>false</activeByDefault>
711 </activation>
712 <build>
713 <plugins>
714 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300715 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200716 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200717 <executions>
718 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200719 <id>copy-sdctool</id>
720 <phase>verify</phase>
721 <goals>
722 <goal>copy-resources</goal>
723 </goals>
724 <configuration>
725 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
726 <resources>
727 <resource>
728 <directory>${project.parent.basedir}/asdctool/target</directory>
729 <includes>
730 <include>sdctool.tar</include>
731 </includes>
732 </resource>
733 </resources>
734 </configuration>
735 </execution>
736 </executions>
737 </plugin>
738 <plugin>
739 <groupId>io.fabric8</groupId>
740 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200741 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200742 <apiVersion>1.23</apiVersion>
743 <registry>nexus3.onap.org:10001</registry>
744 <authConfig>
745 <pull>
746 <username>docker</username>
747 <password>docker</password>
748 </pull>
749 </authConfig>
750 <images>
751 <!-- Build cassandra-init image -->
752 <image>
753 <name>onap/sdc-cassandra-init</name>
754 <alias>sdc-cassandra-init</alias>
755 <build>
756 <cleanup>try</cleanup>
757 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
758 <tags>
759 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200760 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
761 </tags>
762 </build>
763 </image>
764 </images>
765 </configuration>
766 <executions>
767 <execution>
768 <id>clean-images</id>
769 <phase>pre-clean</phase>
770 <goals>
771 <goal>remove</goal>
772 </goals>
773 <configuration>
774 <removeAll>true</removeAll>
775 <image>onap/sdc-cassandra-init</image>
776 </configuration>
777 </execution>
778
779 <execution>
780 <id>generate-images</id>
781 <phase>install</phase>
782 <goals>
783 <goal>build</goal>
784 </goals>
785 </execution>
786
787 <execution>
788 <id>push-images</id>
789 <phase>deploy</phase>
790 <goals>
791 <goal>push</goal>
792 </goals>
793 <configuration>
794 <image>onap/sdc-cassandra-init</image>
795 </configuration>
796 </execution>
797 </executions>
798 </plugin>
799 </plugins>
800 </build>
801 </profile>
802 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300803</project>