blob: bb4b7cf67996ad46031dd9ecab1789df9801aafe [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 Landob5fc68f2018-11-15 13:36:12 +020011 <version>1.4.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>
amitjai42c920b2018-04-27 13:28:57 +053068 <artifactId>onap-common-lib</artifactId>
Michael Landof5500c32017-07-19 11:23:23 +030069 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030070
Michael Landoa5445102018-03-04 14:53:33 +020071 <exclusion>
72 <groupId>com.att.nsa</groupId>
73 <artifactId>cambriaClient</artifactId>
74 </exclusion>
75 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030076 <groupId>com.att.nsa</groupId>
77 <artifactId>dmaapClient</artifactId>
78 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +020079 <exclusion>
80 <artifactId>slf4j-log4j12</artifactId>
81 <groupId>org.slf4j</groupId>
82 </exclusion>
Michael Lando5b593492018-07-29 16:13:45 +030083
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020084 </exclusions>
Michael Landof5500c32017-07-19 11:23:23 +030085
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020086 <scope>compile</scope>
Michael Landoed64b5e2017-06-09 03:19:04 +030087 </dependency>
88
Michael Landof5500c32017-07-19 11:23:23 +030089 <dependency>
Tal Gitelman7d05e162018-10-10 14:52:54 +030090 <groupId>org.onap.portal.sdk</groupId>
Michael Landof5500c32017-07-19 11:23:23 +030091 <artifactId>epsdk-fw</artifactId>
92 <version>${ecomp.version}</version>
93 <scope>compile</scope>
94 <exclusions>
95 <exclusion>
96 <groupId>com.att.nsa</groupId>
97 <artifactId>cambriaClient</artifactId>
98 </exclusion>
Michael Landoa5445102018-03-04 14:53:33 +020099 <exclusion>
Michael Lando5b593492018-07-29 16:13:45 +0300100 <groupId>com.att.nsa</groupId>
101 <artifactId>dmaapClient</artifactId>
102 </exclusion>
Michael Landof5500c32017-07-19 11:23:23 +0300103 <exclusion>
104 <artifactId>slf4j-log4j12</artifactId>
105 <groupId>org.slf4j</groupId>
106 </exclusion>
107 </exclusions>
108 </dependency>
109
110
Michael Landof5500c32017-07-19 11:23:23 +0300111
Michael Landoed64b5e2017-06-09 03:19:04 +0300112 <!-- ASDC dependencies end -->
Michael Lando451a3402017-02-19 10:28:42 +0200113 <dependency>
114 <groupId>org.eclipse.jetty</groupId>
115 <artifactId>jetty-server</artifactId>
Michael Landod618ad62018-05-13 22:27:13 +0300116 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200117 <scope>compile</scope>
118 </dependency>
119
Yuli Shlosberg32b9a7e2018-10-14 16:48:21 +0300120 <dependency>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-util</artifactId>
123 <version>${jetty.version}</version>
124 <scope>compile</scope>
125 </dependency>
126
Michael Lando451a3402017-02-19 10:28:42 +0200127 <!-- listen to file changes -->
128 <dependency>
129 <groupId>org.apache.commons</groupId>
130 <artifactId>commons-jci-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300131 <version>${commons-jci-core.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200132 <scope>compile</scope>
133 </dependency>
134
135 <dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300136 <groupId>commons-cli</groupId>
137 <artifactId>commons-cli</artifactId>
138 <version>1.4</version>
139 </dependency>
140
141 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200142 <groupId>org.eclipse.jetty</groupId>
143 <artifactId>jetty-servlet</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300144 <version>${jetty.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200145 <scope>compile</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.glassfish.jersey.core</groupId>
150 <artifactId>jersey-server</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300151 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200152 <scope>compile</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>org.glassfish.jersey.containers</groupId>
157 <artifactId>jersey-container-servlet-core</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300158 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200159 <scope>compile</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-jetty-http</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300165 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200166 <scope>compile</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-moxy</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300172 <version>${jersey-bom.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200173 <scope>compile</scope>
174 </dependency>
175
176 <dependency>
177 <groupId>org.glassfish.jersey.media</groupId>
178 <artifactId>jersey-media-multipart</artifactId>
179 <version>2.14</version>
180 <scope>compile</scope>
181 </dependency>
182
183 <!-- slf4j + logback -->
184 <dependency>
185 <groupId>org.slf4j</groupId>
186 <artifactId>slf4j-api</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <version>${slf4j-api.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200188 <scope>compile</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>ch.qos.logback</groupId>
193 <artifactId>logback-classic</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200194 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>ch.qos.logback</groupId>
200 <artifactId>logback-core</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200201 <version>${logback.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200202 <scope>compile</scope>
203 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300204
Michael Lando451a3402017-02-19 10:28:42 +0200205 <!-- groovy -->
206 <dependency>
207 <groupId>org.codehaus.groovy</groupId>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300208 <artifactId>groovy</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200209 <scope>compile</scope>
210 </dependency>
211
Michael Landoed64b5e2017-06-09 03:19:04 +0300212 <dependency>
213 <groupId>commons-configuration</groupId>
214 <artifactId>commons-configuration</artifactId>
215 <version>1.6</version>
216 <scope>compile</scope>
Tal Gitelman76783962018-09-06 18:16:24 +0300217 <exclusions>
218 <exclusion>
219 <artifactId>commons-collections</artifactId>
220 <groupId>commons-collections</groupId>
221 </exclusion>
222 </exclusions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300223 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200224
225 <!-- TITAN -->
226 <dependency>
227 <groupId>com.thinkaurelius.titan</groupId>
228 <artifactId>titan-core</artifactId>
229 <version>${titan.version}</version>
230 <scope>compile</scope>
231 <exclusions>
232 <exclusion>
233 <groupId>org.json</groupId>
234 <artifactId>json</artifactId>
235 </exclusion>
Michael Landob3d48982017-06-11 14:22:02 +0300236 <exclusion>
237 <groupId>org.slf4j</groupId>
238 <artifactId>slf4j-log4j12</artifactId>
239 </exclusion>
Tal Gitelman76783962018-09-06 18:16:24 +0300240 <exclusion>
241 <artifactId>commons-collections</artifactId>
242 <groupId>commons-collections</groupId>
243 </exclusion>
Michael Lando451a3402017-02-19 10:28:42 +0200244 </exclusions>
245 </dependency>
246
247 <dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300248 <groupId>com.googlecode.json-simple</groupId>
249 <artifactId>json-simple</artifactId>
250 <version>${json-simple.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <dependency>
Michael Landoc7916a42018-03-20 12:11:07 +0200255 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200256 <artifactId>sdc-titan-cassandra</artifactId>
Michael Landoc7916a42018-03-20 12:11:07 +0200257 <version>${sdc.titan.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200258 <scope>compile</scope>
Michael Landob3d48982017-06-11 14:22:02 +0300259 <exclusions>
260 <exclusion>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-log4j12</artifactId>
Michael Landob3d48982017-06-11 14:22:02 +0300263 </exclusion>
264 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200265 </dependency>
266
267 <dependency>
268 <groupId>org.apache.tinkerpop</groupId>
269 <artifactId>tinkergraph-gremlin</artifactId>
270 <version>3.0.1-incubating</version>
271 <scope>compile</scope>
272 </dependency>
273
274 <dependency>
275 <groupId>org.apache.tinkerpop</groupId>
276 <artifactId>gremlin-groovy</artifactId>
277 <version>3.0.1-incubating</version>
278 <scope>compile</scope>
Tal Gitelman96dbee32018-10-10 16:39:59 +0300279 <exclusions>
280 <exclusion>
281 <artifactId>groovy</artifactId>
282 <groupId>org.codehaus.groovy</groupId>
283 </exclusion>
284 </exclusions>
Michael Lando451a3402017-02-19 10:28:42 +0200285 </dependency>
286
Michael Lando451a3402017-02-19 10:28:42 +0200287 <!-- TITAN end -->
288 <dependency>
289 <groupId>commons-logging</groupId>
290 <artifactId>commons-logging</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200291 <version>${commons-logging}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200292 <scope>compile</scope>
293 </dependency>
294
295 <dependency>
296 <groupId>commons-codec</groupId>
297 <artifactId>commons-codec</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200298 <version>${commons-codec}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200299 <scope>compile</scope>
300 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200301
302 <dependency>
303 <groupId>com.fasterxml.jackson.core</groupId>
304 <artifactId>jackson-databind</artifactId>
305 <version>${jackson.version}</version>
306 <scope>compile</scope>
307 </dependency>
308
Michael Lando5b593492018-07-29 16:13:45 +0300309 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
Michael Lando451a3402017-02-19 10:28:42 +0200310 <dependency>
311 <groupId>com.fasterxml.jackson.core</groupId>
312 <artifactId>jackson-annotations</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300313 <version>${jackson-annotations.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200314 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300315
Michael Lando451a3402017-02-19 10:28:42 +0200316 <dependency>
317 <groupId>com.google.code.gson</groupId>
318 <artifactId>gson</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300319 <version>${gson.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200320 <scope>compile</scope>
321 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300322
Michael Lando451a3402017-02-19 10:28:42 +0200323 <dependency>
324 <groupId>org.apache.httpcomponents</groupId>
325 <artifactId>httpclient</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200326 <version>${httpclient.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200327 <scope>compile</scope>
328 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300329
Michael Lando451a3402017-02-19 10:28:42 +0200330 <dependency>
331 <groupId>org.apache.httpcomponents</groupId>
332 <artifactId>httpcore</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200333 <version>${httpcore.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200334 <scope>compile</scope>
335 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300336
Michael Lando451a3402017-02-19 10:28:42 +0200337 <!-- Spring 4 dependencies -->
338 <dependency>
339 <groupId>org.springframework</groupId>
340 <artifactId>spring-core</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200341 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200342 <scope>compile</scope>
343 </dependency>
344
345 <dependency>
346 <groupId>org.springframework</groupId>
347 <artifactId>spring-context</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200348 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200349 <scope>compile</scope>
350 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300351
Michael Lando451a3402017-02-19 10:28:42 +0200352 <dependency>
353 <groupId>org.springframework</groupId>
354 <artifactId>spring-expression</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200355 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200356 <scope>compile</scope>
357 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300358
Michael Lando451a3402017-02-19 10:28:42 +0200359 <dependency>
360 <groupId>org.springframework</groupId>
361 <artifactId>spring-beans</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300362 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200363 <scope>compile</scope>
364 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300365
Michael Lando451a3402017-02-19 10:28:42 +0200366 <dependency>
367 <groupId>org.springframework</groupId>
368 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200369 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200370 <scope>compile</scope>
371 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300372
Michael Lando451a3402017-02-19 10:28:42 +0200373 <!-- Spring 4 dependencies end -->
374 <!-- JavaConfig need this library -->
375 <dependency>
376 <groupId>cglib</groupId>
377 <artifactId>cglib</artifactId>
378 <version>3.2.4</version>
379 <scope>compile</scope>
380 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381
Michael Lando451a3402017-02-19 10:28:42 +0200382 <dependency>
383 <groupId>org.yaml</groupId>
384 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300385 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200386 <scope>compile</scope>
387 </dependency>
388
Michael Landoed64b5e2017-06-09 03:19:04 +0300389 <dependency>
390 <groupId>org.functionaljava</groupId>
391 <artifactId>functionaljava</artifactId>
392 <version>${functionaljava.version}</version>
393 <scope>compile</scope>
394 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200395
396 <dependency>
397 <groupId>org.elasticsearch</groupId>
398 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200399 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200400 <scope>compile</scope>
401 </dependency>
402
403 <dependency>
404 <groupId>com.fasterxml.jackson.dataformat</groupId>
405 <artifactId>jackson-dataformat-yaml</artifactId>
406 <version>${jackson.version}</version>
407 <scope>compile</scope>
408 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300409
Michael Lando451a3402017-02-19 10:28:42 +0200410 <!-- CASSANDRA -->
411 <dependency>
412 <groupId>com.datastax.cassandra</groupId>
413 <artifactId>cassandra-driver-core</artifactId>
414 <version>${cassandra.driver.version}</version>
415 <scope>compile</scope>
416 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300417
Michael Lando451a3402017-02-19 10:28:42 +0200418 <dependency>
419 <groupId>com.datastax.cassandra</groupId>
420 <artifactId>cassandra-driver-mapping</artifactId>
421 <version>${cassandra.driver.version}</version>
422 <scope>compile</scope>
423 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300424
Michael Lando451a3402017-02-19 10:28:42 +0200425 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300426
Michael Landoa5445102018-03-04 14:53:33 +0200427 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300428 <dependency>
429 <groupId>com.opencsv</groupId>
430 <artifactId>opencsv</artifactId>
431 <version>4.0</version>
432 <scope>compile</scope>
433 </dependency>
434
Michael Lando451a3402017-02-19 10:28:42 +0200435 <dependency>
436 <groupId>org.apache.poi</groupId>
437 <artifactId>com.springsource.org.apache.poi</artifactId>
438 <version>3.9.0.FINAL</version>
439 <scope>compile</scope>
440 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300441
Michael Lando451a3402017-02-19 10:28:42 +0200442 <dependency>
443 <groupId>org.jdom</groupId>
444 <artifactId>jdom</artifactId>
445 <version>2.0.2</version>
446 <scope>compile</scope>
447 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300448
Michael Lando5b593492018-07-29 16:13:45 +0300449 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300450 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200451 <dependency>
452 <groupId>de.ruedigermoeller</groupId>
453 <artifactId>fst</artifactId>
454 <version>2.47</version>
455 <scope>compile</scope>
456 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200457
Michael Landoed64b5e2017-06-09 03:19:04 +0300458 <!-- testing -->
Parshad Patel8b8061e2019-03-18 16:02:43 +0900459 <dependency>
460 <groupId>org.hamcrest</groupId>
461 <artifactId>hamcrest-all</artifactId>
462 <version>${hamcrest-all.version}</version>
463 <scope>test</scope>
464 </dependency>
465
Michael Landoed64b5e2017-06-09 03:19:04 +0300466 <dependency>
467 <groupId>junit</groupId>
468 <artifactId>junit</artifactId>
469 <version>${junit.version}</version>
470 <scope>test</scope>
471 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300472
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200473 <dependency>
474 <groupId>org.testng</groupId>
475 <artifactId>testng</artifactId>
476 <version>${testng.version}</version>
477 <scope>test</scope>
478 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300479
480 <dependency>
481 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200482 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300483 <scope>test</scope>
484 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300485
Michael Lando5b593492018-07-29 16:13:45 +0300486 <dependency>
487 <groupId>org.assertj</groupId>
488 <artifactId>assertj-core</artifactId>
489 <scope>test</scope>
490 </dependency>
491 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300492
493 <dependency>
494 <groupId>io.netty</groupId>
495 <artifactId>netty-all</artifactId>
496 </dependency>
497
498 <dependency>
499 <groupId>io.netty</groupId>
500 <artifactId>netty-handler</artifactId>
501 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300502 </dependencies>
503
504 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200505 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300506 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300507 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300508 <groupId>org.apache.maven.plugins</groupId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300509 <artifactId>maven-clean-plugin</artifactId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300510 <executions>
511 <execution>
512 <id>clean-static-files</id>
513 <phase>clean</phase>
514 <goals>
515 <goal>clean</goal>
516 </goals>
517 <configuration>
518 <filesets>
519 <!-- tosca files -->
520 <fileset>
521 <directory>${project.parent.basedir}/asdctool/tosca</directory>
522 <followSymlinks>false</followSymlinks>
523 </fileset>
524 <fileset>
525 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
526 <followSymlinks>false</followSymlinks>
527 <includes>
528 <include>**/default.rb</include>
529 </includes>
530 </fileset>
531 <fileset>
532 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
533 <followSymlinks>false</followSymlinks>
534 </fileset>
535 <fileset>
536 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
537 <followSymlinks>false</followSymlinks>
538 <includes>
539 <include>**/sdctool.tar</include>
540 </includes>
541 </fileset>
542 </filesets>
543 </configuration>
544 </execution>
545 </executions>
546 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300547
Michael Lando451a3402017-02-19 10:28:42 +0200548 <plugin>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200551 <configuration>
552 <skip>true</skip>
553 </configuration>
554 </plugin>
555
556 <plugin>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200559 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200560 <execution>
561 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300562 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200563 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300564 <descriptors>
565 <descriptor>${project.basedir}/tarball.xml</descriptor>
566 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200567 </configuration>
568 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200569 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200570 <goals>
571 <goal>single</goal>
572 </goals>
573 </execution>
574 </executions>
575 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200576
Tal Gitelman51d50f02017-12-10 18:55:03 +0200577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300580 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200581 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200582 <phase>package</phase>
583 <goals>
584 <goal>shade</goal>
585 </goals>
586 <configuration>
587 <filters>
588 <filter>
589 <artifact>org.openecomp.sdc:*</artifact>
590 <excludes>
591 <exclude>**/elasticsearch.yml</exclude>
592 </excludes>
593 </filter>
594 <filter>
595 <artifact>*:*</artifact>
596 <excludes>
597 <exclude>META-INF/*.SF</exclude>
598 <exclude>META-INF/*.DSA</exclude>
599 <exclude>META-INF/*.RSA</exclude>
600 </excludes>
601 </filter>
602 </filters>
603 <transformers>
604 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
605 </transformers>
606 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200607 </execution>
608 </executions>
609 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200610 <plugin>
611 <groupId>ru.yaal.maven</groupId>
612 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200613 <configuration>
614 <charset>UTF-8</charset>
615 <files>
616 <file>
617 <path>
618 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
619 </path>
620 <lines>
621 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
622 </lines>
623 </file>
624 </files>
625 </configuration>
626 <executions>
627 <execution>
628 <id>write-text-files</id>
629 <phase>prepare-package</phase>
630 <goals>
631 <goal>write-text-files</goal>
632 </goals>
633 </execution>
634 </executions>
635 </plugin>
636 <plugin>
637 <groupId>org.apache.maven.plugins</groupId>
638 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200639 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200640 <execution>
641 <id>copy-tosca-folder</id>
642 <!-- here the phase you need -->
643 <phase>compile</phase>
644 <goals>
645 <goal>copy-resources</goal>
646 </goals>
647 <configuration>
648 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
649 <resources>
650 <resource>
651 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
652 <filtering>true</filtering>
653 </resource>
654 </resources>
655 </configuration>
656 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200657 </executions>
658 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100659 <plugin>
660 <groupId>com.github.sylvainlaurent.maven</groupId>
661 <artifactId>yaml-json-validator-maven-plugin</artifactId>
662 <executions>
663 <execution>
664 <id>validate</id>
665 <phase>validate</phase>
666 <goals>
667 <goal>validate</goal>
668 </goals>
669 <configuration>
670 <validationSets>
671 <validationSet>
672 <includes>
673 <include>src/main/resources/**/*.y*ml</include>
674 <include>src/test/resources/**/*.y*ml</include>
675 </includes>
676 </validationSet>
677 <validationSet>
678 <includes>
679 <include>src/main/resources/**/*.json</include>
680 <include>src/test/resources/**/*.json</include>
681 </includes>
682 </validationSet>
683 </validationSets>
684 </configuration>
685 </execution>
686 </executions>
687 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200688 </plugins>
689 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200690 <profiles>
691 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200692 <id>docker</id>
693 <activation>
694 <activeByDefault>false</activeByDefault>
695 </activation>
696 <build>
697 <plugins>
698 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300699 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200700 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200701 <executions>
702 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200703 <id>copy-sdctool</id>
704 <phase>verify</phase>
705 <goals>
706 <goal>copy-resources</goal>
707 </goals>
708 <configuration>
709 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
710 <resources>
711 <resource>
712 <directory>${project.parent.basedir}/asdctool/target</directory>
713 <includes>
714 <include>sdctool.tar</include>
715 </includes>
716 </resource>
717 </resources>
718 </configuration>
719 </execution>
720 </executions>
721 </plugin>
722 <plugin>
723 <groupId>io.fabric8</groupId>
724 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200725 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200726 <apiVersion>1.23</apiVersion>
727 <registry>nexus3.onap.org:10001</registry>
728 <authConfig>
729 <pull>
730 <username>docker</username>
731 <password>docker</password>
732 </pull>
733 </authConfig>
734 <images>
735 <!-- Build cassandra-init image -->
736 <image>
737 <name>onap/sdc-cassandra-init</name>
738 <alias>sdc-cassandra-init</alias>
739 <build>
740 <cleanup>try</cleanup>
741 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
742 <tags>
743 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200744 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
745 </tags>
746 </build>
747 </image>
748 </images>
749 </configuration>
750 <executions>
751 <execution>
752 <id>clean-images</id>
753 <phase>pre-clean</phase>
754 <goals>
755 <goal>remove</goal>
756 </goals>
757 <configuration>
758 <removeAll>true</removeAll>
759 <image>onap/sdc-cassandra-init</image>
760 </configuration>
761 </execution>
762
763 <execution>
764 <id>generate-images</id>
765 <phase>install</phase>
766 <goals>
767 <goal>build</goal>
768 </goals>
769 </execution>
770
771 <execution>
772 <id>push-images</id>
773 <phase>deploy</phase>
774 <goals>
775 <goal>push</goal>
776 </goals>
777 <configuration>
778 <image>onap/sdc-cassandra-init</image>
779 </configuration>
780 </execution>
781 </executions>
782 </plugin>
783 </plugins>
784 </build>
785 </profile>
786 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300787</project>