blob: bda78a3506d5056a6bce08f6f8a2df434770d3f6 [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 Lando540a71e2018-11-05 09:48:40 +020011 <version>1.3.3-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>
Tal Gitelman7d05e162018-10-10 14:52:54 +0300100 <groupId>org.onap.portal.sdk</groupId>
Michael Landof5500c32017-07-19 11:23:23 +0300101 <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
Yuli Shlosberg32b9a7e2018-10-14 16:48:21 +0300130 <dependency>
131 <groupId>org.eclipse.jetty</groupId>
132 <artifactId>jetty-util</artifactId>
133 <version>${jetty.version}</version>
134 <scope>compile</scope>
135 </dependency>
136
Michael Lando451a3402017-02-19 10:28:42 +0200137 <!-- listen to file changes -->
138 <dependency>
139 <groupId>org.apache.commons</groupId>
140 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300141 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200142 <scope>compile</scope>
143 </dependency>
144
145 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300146 <groupId>commons-cli</groupId>
147 <artifactId>commons-cli</artifactId>
148 <version>1.4</version>
149 </dependency>
150
151 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200152 <groupId>org.eclipse.jetty</groupId>
153 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300154 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200155 <scope>compile</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>org.glassfish.jersey.core</groupId>
160 <artifactId>jersey-server</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-servlet-core</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.containers</groupId>
174 <artifactId>jersey-container-jetty-http</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-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300182 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200183 <scope>compile</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>org.glassfish.jersey.media</groupId>
188 <artifactId>jersey-media-multipart</artifactId>
189 <version>2.14</version>
190 <scope>compile</scope>
191 </dependency>
192
193 <!-- slf4j + logback -->
194 <dependency>
195 <groupId>org.slf4j</groupId>
196 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300197 <version>${slf4j-api.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-classic</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>
207
208 <dependency>
209 <groupId>ch.qos.logback</groupId>
210 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200211 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200212 <scope>compile</scope>
213 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300214
Michael Lando451a3402017-02-19 10:28:42 +0200215 <!-- groovy -->
216 <dependency>
217 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300218 <artifactId>groovy</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200219 <scope>compile</scope>
220 </dependency>
221
Michael Landoed64b5e2017-06-09 03:19:04 +0300222 <dependency>
223 <groupId>commons-configuration</groupId>
224 <artifactId>commons-configuration</artifactId>
225 <version>1.6</version>
226 <scope>compile</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300227 <exclusions>
228 <exclusion>
229 <artifactId>commons-collections</artifactId>
230 <groupId>commons-collections</groupId>
231 </exclusion>
232 </exclusions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300233 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200234
235 <!-- TITAN -->
236 <dependency>
237 <groupId>com.thinkaurelius.titan</groupId>
238 <artifactId>titan-core</artifactId>
239 <version>${titan.version}</version>
240 <scope>compile</scope>
241 <exclusions>
242 <exclusion>
243 <groupId>org.json</groupId>
244 <artifactId>json</artifactId>
245 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300246 <exclusion>
247 <groupId>org.slf4j</groupId>
248 <artifactId>slf4j-log4j12</artifactId>
249 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300250 <exclusion>
251 <artifactId>commons-collections</artifactId>
252 <groupId>commons-collections</groupId>
253 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200254 </exclusions>
255 </dependency>
256
257 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300258 <groupId>com.googlecode.json-simple</groupId>
259 <artifactId>json-simple</artifactId>
260 <version>${json-simple.version}</version>
261 <scope>compile</scope>
262 </dependency>
263
264 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200265 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200266 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200267 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200268 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300269 <exclusions>
270 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200271 <groupId>org.slf4j</groupId>
272 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300273 </exclusion>
274 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200275 </dependency>
276
277 <dependency>
278 <groupId>org.apache.tinkerpop</groupId>
279 <artifactId>tinkergraph-gremlin</artifactId>
280 <version>3.0.1-incubating</version>
281 <scope>compile</scope>
282 </dependency>
283
284 <dependency>
285 <groupId>org.apache.tinkerpop</groupId>
286 <artifactId>gremlin-groovy</artifactId>
287 <version>3.0.1-incubating</version>
288 <scope>compile</scope>
Tal Gitelman96dbee32018-10-10 16:39:59 +0300289 <exclusions>
290 <exclusion>
291 <artifactId>groovy</artifactId>
292 <groupId>org.codehaus.groovy</groupId>
293 </exclusion>
294 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200295 </dependency>
296
Michael Lando451a3402017-02-19 10:28:42 +0200297 <!-- TITAN end -->
298 <dependency>
299 <groupId>commons-logging</groupId>
300 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200301 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200302 <scope>compile</scope>
303 </dependency>
304
305 <dependency>
306 <groupId>commons-codec</groupId>
307 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200308 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200309 <scope>compile</scope>
310 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200311
312 <dependency>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-databind</artifactId>
315 <version>${jackson.version}</version>
316 <scope>compile</scope>
317 </dependency>
318
Michael Lando5b593492018-07-29 16:13:45 +0300319 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200320 <dependency>
321 <groupId>com.fasterxml.jackson.core</groupId>
322 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300323 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200324 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300325
Michael Lando451a3402017-02-19 10:28:42 +0200326 <dependency>
327 <groupId>com.google.code.gson</groupId>
328 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300329 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200330 <scope>compile</scope>
331 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300332
Michael Lando451a3402017-02-19 10:28:42 +0200333 <dependency>
334 <groupId>org.apache.httpcomponents</groupId>
335 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200336 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200337 <scope>compile</scope>
338 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300339
Michael Lando451a3402017-02-19 10:28:42 +0200340 <dependency>
341 <groupId>org.apache.httpcomponents</groupId>
342 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200343 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200344 <scope>compile</scope>
345 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300346
Michael Lando451a3402017-02-19 10:28:42 +0200347 <!-- Spring 4 dependencies -->
348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200351 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200352 <scope>compile</scope>
353 </dependency>
354
355 <dependency>
356 <groupId>org.springframework</groupId>
357 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200358 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200359 <scope>compile</scope>
360 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300361
Michael Lando451a3402017-02-19 10:28:42 +0200362 <dependency>
363 <groupId>org.springframework</groupId>
364 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200365 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200366 <scope>compile</scope>
367 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300368
Michael Lando451a3402017-02-19 10:28:42 +0200369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300372 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200373 <scope>compile</scope>
374 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300375
Michael Lando451a3402017-02-19 10:28:42 +0200376 <dependency>
377 <groupId>org.springframework</groupId>
378 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200379 <version>${spring.version}</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 <!-- Spring 4 dependencies end -->
384 <!-- JavaConfig need this library -->
385 <dependency>
386 <groupId>cglib</groupId>
387 <artifactId>cglib</artifactId>
388 <version>3.2.4</version>
389 <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.yaml</groupId>
394 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300395 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200396 <scope>compile</scope>
397 </dependency>
398
Michael Landoed64b5e2017-06-09 03:19:04 +0300399 <dependency>
400 <groupId>org.functionaljava</groupId>
401 <artifactId>functionaljava</artifactId>
402 <version>${functionaljava.version}</version>
403 <scope>compile</scope>
404 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200405
406 <dependency>
407 <groupId>org.elasticsearch</groupId>
408 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200409 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200410 <scope>compile</scope>
411 </dependency>
412
413 <dependency>
414 <groupId>com.fasterxml.jackson.dataformat</groupId>
415 <artifactId>jackson-dataformat-yaml</artifactId>
416 <version>${jackson.version}</version>
417 <scope>compile</scope>
418 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300419
Michael Lando451a3402017-02-19 10:28:42 +0200420 <!-- CASSANDRA -->
421 <dependency>
422 <groupId>com.datastax.cassandra</groupId>
423 <artifactId>cassandra-driver-core</artifactId>
424 <version>${cassandra.driver.version}</version>
425 <scope>compile</scope>
426 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300427
Michael Lando451a3402017-02-19 10:28:42 +0200428 <dependency>
429 <groupId>com.datastax.cassandra</groupId>
430 <artifactId>cassandra-driver-mapping</artifactId>
431 <version>${cassandra.driver.version}</version>
432 <scope>compile</scope>
433 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300434
Michael Lando451a3402017-02-19 10:28:42 +0200435 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300436
Michael Landoa5445102018-03-04 14:53:33 +0200437 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300438 <dependency>
439 <groupId>com.opencsv</groupId>
440 <artifactId>opencsv</artifactId>
441 <version>4.0</version>
442 <scope>compile</scope>
443 </dependency>
444
Michael Lando451a3402017-02-19 10:28:42 +0200445 <dependency>
446 <groupId>org.apache.poi</groupId>
447 <artifactId>com.springsource.org.apache.poi</artifactId>
448 <version>3.9.0.FINAL</version>
449 <scope>compile</scope>
450 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300451
Michael Lando451a3402017-02-19 10:28:42 +0200452 <dependency>
453 <groupId>org.jdom</groupId>
454 <artifactId>jdom</artifactId>
455 <version>2.0.2</version>
456 <scope>compile</scope>
457 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300458
Michael Lando5b593492018-07-29 16:13:45 +0300459 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300460 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200461 <dependency>
462 <groupId>de.ruedigermoeller</groupId>
463 <artifactId>fst</artifactId>
464 <version>2.47</version>
465 <scope>compile</scope>
466 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200467
Michael Landoed64b5e2017-06-09 03:19:04 +0300468 <!-- testing -->
469 <dependency>
470 <groupId>junit</groupId>
471 <artifactId>junit</artifactId>
472 <version>${junit.version}</version>
473 <scope>test</scope>
474 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300475
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200476 <dependency>
477 <groupId>org.testng</groupId>
478 <artifactId>testng</artifactId>
479 <version>${testng.version}</version>
480 <scope>test</scope>
481 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300482
483 <dependency>
484 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200485 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300486 <scope>test</scope>
487 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300488
Michael Lando5b593492018-07-29 16:13:45 +0300489 <dependency>
490 <groupId>org.assertj</groupId>
491 <artifactId>assertj-core</artifactId>
492 <scope>test</scope>
493 </dependency>
494 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300495
496 <dependency>
497 <groupId>io.netty</groupId>
498 <artifactId>netty-all</artifactId>
499 </dependency>
500
501 <dependency>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-handler</artifactId>
504 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300505 </dependencies>
506
507 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200508 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300509 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300510 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300511 <groupId>org.apache.maven.plugins</groupId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300512 <artifactId>maven-clean-plugin</artifactId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300513 <executions>
514 <execution>
515 <id>clean-static-files</id>
516 <phase>clean</phase>
517 <goals>
518 <goal>clean</goal>
519 </goals>
520 <configuration>
521 <filesets>
522 <!-- tosca files -->
523 <fileset>
524 <directory>${project.parent.basedir}/asdctool/tosca</directory>
525 <followSymlinks>false</followSymlinks>
526 </fileset>
527 <fileset>
528 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
529 <followSymlinks>false</followSymlinks>
530 <includes>
531 <include>**/default.rb</include>
532 </includes>
533 </fileset>
534 <fileset>
535 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
536 <followSymlinks>false</followSymlinks>
537 </fileset>
538 <fileset>
539 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
540 <followSymlinks>false</followSymlinks>
541 <includes>
542 <include>**/sdctool.tar</include>
543 </includes>
544 </fileset>
545 </filesets>
546 </configuration>
547 </execution>
548 </executions>
549 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300550
Michael Lando451a3402017-02-19 10:28:42 +0200551 <plugin>
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200554 <configuration>
555 <skip>true</skip>
556 </configuration>
557 </plugin>
558
559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200562 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200563 <execution>
564 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300565 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200566 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300567 <descriptors>
568 <descriptor>${project.basedir}/tarball.xml</descriptor>
569 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200570 </configuration>
571 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200572 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200573 <goals>
574 <goal>single</goal>
575 </goals>
576 </execution>
577 </executions>
578 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200579
Tal Gitelman51d50f02017-12-10 18:55:03 +0200580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300583 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200584 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200585 <phase>package</phase>
586 <goals>
587 <goal>shade</goal>
588 </goals>
589 <configuration>
590 <filters>
591 <filter>
592 <artifact>org.openecomp.sdc:*</artifact>
593 <excludes>
594 <exclude>**/elasticsearch.yml</exclude>
595 </excludes>
596 </filter>
597 <filter>
598 <artifact>*:*</artifact>
599 <excludes>
600 <exclude>META-INF/*.SF</exclude>
601 <exclude>META-INF/*.DSA</exclude>
602 <exclude>META-INF/*.RSA</exclude>
603 </excludes>
604 </filter>
605 </filters>
606 <transformers>
607 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
608 </transformers>
609 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200610 </execution>
611 </executions>
612 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200613 <plugin>
614 <groupId>ru.yaal.maven</groupId>
615 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200616 <configuration>
617 <charset>UTF-8</charset>
618 <files>
619 <file>
620 <path>
621 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
622 </path>
623 <lines>
624 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
625 </lines>
626 </file>
627 </files>
628 </configuration>
629 <executions>
630 <execution>
631 <id>write-text-files</id>
632 <phase>prepare-package</phase>
633 <goals>
634 <goal>write-text-files</goal>
635 </goals>
636 </execution>
637 </executions>
638 </plugin>
639 <plugin>
640 <groupId>org.apache.maven.plugins</groupId>
641 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200642 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200643 <execution>
644 <id>copy-tosca-folder</id>
645 <!-- here the phase you need -->
646 <phase>compile</phase>
647 <goals>
648 <goal>copy-resources</goal>
649 </goals>
650 <configuration>
651 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
652 <resources>
653 <resource>
654 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
655 <filtering>true</filtering>
656 </resource>
657 </resources>
658 </configuration>
659 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200660 </executions>
661 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100662 <plugin>
663 <groupId>com.github.sylvainlaurent.maven</groupId>
664 <artifactId>yaml-json-validator-maven-plugin</artifactId>
665 <executions>
666 <execution>
667 <id>validate</id>
668 <phase>validate</phase>
669 <goals>
670 <goal>validate</goal>
671 </goals>
672 <configuration>
673 <validationSets>
674 <validationSet>
675 <includes>
676 <include>src/main/resources/**/*.y*ml</include>
677 <include>src/test/resources/**/*.y*ml</include>
678 </includes>
679 </validationSet>
680 <validationSet>
681 <includes>
682 <include>src/main/resources/**/*.json</include>
683 <include>src/test/resources/**/*.json</include>
684 </includes>
685 </validationSet>
686 </validationSets>
687 </configuration>
688 </execution>
689 </executions>
690 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200691 </plugins>
692 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200693 <profiles>
694 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200695 <id>docker</id>
696 <activation>
697 <activeByDefault>false</activeByDefault>
698 </activation>
699 <build>
700 <plugins>
701 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300702 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200703 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200704 <executions>
705 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200706 <id>copy-sdctool</id>
707 <phase>verify</phase>
708 <goals>
709 <goal>copy-resources</goal>
710 </goals>
711 <configuration>
712 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
713 <resources>
714 <resource>
715 <directory>${project.parent.basedir}/asdctool/target</directory>
716 <includes>
717 <include>sdctool.tar</include>
718 </includes>
719 </resource>
720 </resources>
721 </configuration>
722 </execution>
723 </executions>
724 </plugin>
725 <plugin>
726 <groupId>io.fabric8</groupId>
727 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200728 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200729 <apiVersion>1.23</apiVersion>
730 <registry>nexus3.onap.org:10001</registry>
731 <authConfig>
732 <pull>
733 <username>docker</username>
734 <password>docker</password>
735 </pull>
736 </authConfig>
737 <images>
738 <!-- Build cassandra-init image -->
739 <image>
740 <name>onap/sdc-cassandra-init</name>
741 <alias>sdc-cassandra-init</alias>
742 <build>
743 <cleanup>try</cleanup>
744 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
745 <tags>
746 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200747 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
748 </tags>
749 </build>
750 </image>
751 </images>
752 </configuration>
753 <executions>
754 <execution>
755 <id>clean-images</id>
756 <phase>pre-clean</phase>
757 <goals>
758 <goal>remove</goal>
759 </goals>
760 <configuration>
761 <removeAll>true</removeAll>
762 <image>onap/sdc-cassandra-init</image>
763 </configuration>
764 </execution>
765
766 <execution>
767 <id>generate-images</id>
768 <phase>install</phase>
769 <goals>
770 <goal>build</goal>
771 </goals>
772 </execution>
773
774 <execution>
775 <id>push-images</id>
776 <phase>deploy</phase>
777 <goals>
778 <goal>push</goal>
779 </goals>
780 <configuration>
781 <image>onap/sdc-cassandra-init</image>
782 </configuration>
783 </execution>
784 </executions>
785 </plugin>
786 </plugins>
787 </build>
788 </profile>
789 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300790</project>