blob: 98ce05bf17b5b93e7ee6c57a9eda32c889a5e178 [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>
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>
373 <!--<version>4.0.7.RELEASE</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200374 <scope>compile</scope>
375 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300376
Michael Lando451a3402017-02-19 10:28:42 +0200377 <dependency>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-aop</artifactId>
Michael Landoc0ac0152017-02-27 23:48:43 +0200380 <version>${spring.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200381 <scope>compile</scope>
382 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300383
Michael Lando451a3402017-02-19 10:28:42 +0200384 <!-- Spring 4 dependencies end -->
385 <!-- JavaConfig need this library -->
386 <dependency>
387 <groupId>cglib</groupId>
388 <artifactId>cglib</artifactId>
389 <version>3.2.4</version>
390 <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.yaml</groupId>
395 <artifactId>snakeyaml</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300396 <version>${snakeyaml.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200397 <scope>compile</scope>
398 </dependency>
399
Michael Landoed64b5e2017-06-09 03:19:04 +0300400 <dependency>
401 <groupId>org.functionaljava</groupId>
402 <artifactId>functionaljava</artifactId>
403 <version>${functionaljava.version}</version>
404 <scope>compile</scope>
405 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200406
407 <dependency>
408 <groupId>org.elasticsearch</groupId>
409 <artifactId>elasticsearch</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200410 <version>${elastic-search.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +0200411 <scope>compile</scope>
412 </dependency>
413
414 <dependency>
415 <groupId>com.fasterxml.jackson.dataformat</groupId>
416 <artifactId>jackson-dataformat-yaml</artifactId>
417 <version>${jackson.version}</version>
418 <scope>compile</scope>
419 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300420
Michael Lando451a3402017-02-19 10:28:42 +0200421 <!-- CASSANDRA -->
422 <dependency>
423 <groupId>com.datastax.cassandra</groupId>
424 <artifactId>cassandra-driver-core</artifactId>
425 <version>${cassandra.driver.version}</version>
426 <scope>compile</scope>
427 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300428
Michael Lando451a3402017-02-19 10:28:42 +0200429 <dependency>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-mapping</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
434 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300435
Michael Lando451a3402017-02-19 10:28:42 +0200436 <!-- CASSANDRA END -->
Michael Lando5b593492018-07-29 16:13:45 +0300437
Michael Landoa5445102018-03-04 14:53:33 +0200438 <!-- OPEN CSV -->
Michael Lando5b593492018-07-29 16:13:45 +0300439 <dependency>
440 <groupId>com.opencsv</groupId>
441 <artifactId>opencsv</artifactId>
442 <version>4.0</version>
443 <scope>compile</scope>
444 </dependency>
445
Michael Lando451a3402017-02-19 10:28:42 +0200446 <dependency>
447 <groupId>org.apache.poi</groupId>
448 <artifactId>com.springsource.org.apache.poi</artifactId>
449 <version>3.9.0.FINAL</version>
450 <scope>compile</scope>
451 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300452
Michael Lando451a3402017-02-19 10:28:42 +0200453 <dependency>
454 <groupId>org.jdom</groupId>
455 <artifactId>jdom</artifactId>
456 <version>2.0.2</version>
457 <scope>compile</scope>
458 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300459
Michael Lando5b593492018-07-29 16:13:45 +0300460 <!-- Temporary, till building the populate task which adding all components
Michael Landoed64b5e2017-06-09 03:19:04 +0300461 to cache. We will use Serialization Utils. -->
Michael Lando451a3402017-02-19 10:28:42 +0200462 <dependency>
463 <groupId>de.ruedigermoeller</groupId>
464 <artifactId>fst</artifactId>
465 <version>2.47</version>
466 <scope>compile</scope>
467 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200468
Michael Landoed64b5e2017-06-09 03:19:04 +0300469 <!-- testing -->
470 <dependency>
471 <groupId>junit</groupId>
472 <artifactId>junit</artifactId>
473 <version>${junit.version}</version>
474 <scope>test</scope>
475 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300476
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200477 <dependency>
478 <groupId>org.testng</groupId>
479 <artifactId>testng</artifactId>
480 <version>${testng.version}</version>
481 <scope>test</scope>
482 </dependency>
Michael Lando75aacbb2017-07-17 21:12:03 +0300483
484 <dependency>
485 <groupId>org.mockito</groupId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200486 <artifactId>mockito-core</artifactId>
Michael Lando75aacbb2017-07-17 21:12:03 +0300487 <scope>test</scope>
488 </dependency>
Tal Gitelmane0199372018-09-18 11:57:53 +0300489
Michael Lando5b593492018-07-29 16:13:45 +0300490 <dependency>
491 <groupId>org.assertj</groupId>
492 <artifactId>assertj-core</artifactId>
493 <scope>test</scope>
494 </dependency>
495 <!-- testing end -->
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300496
497 <dependency>
498 <groupId>io.netty</groupId>
499 <artifactId>netty-all</artifactId>
500 </dependency>
501
502 <dependency>
503 <groupId>io.netty</groupId>
504 <artifactId>netty-handler</artifactId>
505 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +0300506 </dependencies>
507
508 <build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200509 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300510 <plugins>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300511 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300512 <groupId>org.apache.maven.plugins</groupId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300513 <artifactId>maven-clean-plugin</artifactId>
Michael Lando9a6c8fc2018-06-11 13:26:35 +0300514 <executions>
515 <execution>
516 <id>clean-static-files</id>
517 <phase>clean</phase>
518 <goals>
519 <goal>clean</goal>
520 </goals>
521 <configuration>
522 <filesets>
523 <!-- tosca files -->
524 <fileset>
525 <directory>${project.parent.basedir}/asdctool/tosca</directory>
526 <followSymlinks>false</followSymlinks>
527 </fileset>
528 <fileset>
529 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
530 <followSymlinks>false</followSymlinks>
531 <includes>
532 <include>**/default.rb</include>
533 </includes>
534 </fileset>
535 <fileset>
536 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
537 <followSymlinks>false</followSymlinks>
538 </fileset>
539 <fileset>
540 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
541 <followSymlinks>false</followSymlinks>
542 <includes>
543 <include>**/sdctool.tar</include>
544 </includes>
545 </fileset>
546 </filesets>
547 </configuration>
548 </execution>
549 </executions>
550 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300551
Michael Lando451a3402017-02-19 10:28:42 +0200552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-deploy-plugin</artifactId>
Michael Lando451a3402017-02-19 10:28:42 +0200555 <configuration>
556 <skip>true</skip>
557 </configuration>
558 </plugin>
559
560 <plugin>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-assembly-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200563 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200564 <execution>
565 <configuration>
Michael Landoed64b5e2017-06-09 03:19:04 +0300566 <finalName>sdctool</finalName>
Michael Lando451a3402017-02-19 10:28:42 +0200567 <appendAssemblyId>false</appendAssemblyId>
Michael Lando02ab6512018-04-05 23:32:27 +0300568 <descriptors>
569 <descriptor>${project.basedir}/tarball.xml</descriptor>
570 </descriptors>
Michael Lando451a3402017-02-19 10:28:42 +0200571 </configuration>
572 <id>assemble-file</id>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200573 <phase>verify</phase>
Michael Lando451a3402017-02-19 10:28:42 +0200574 <goals>
575 <goal>single</goal>
576 </goals>
577 </execution>
578 </executions>
579 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200580
Tal Gitelman51d50f02017-12-10 18:55:03 +0200581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-shade-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300584 <executions>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200585 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200586 <phase>package</phase>
587 <goals>
588 <goal>shade</goal>
589 </goals>
590 <configuration>
591 <filters>
592 <filter>
593 <artifact>org.openecomp.sdc:*</artifact>
594 <excludes>
595 <exclude>**/elasticsearch.yml</exclude>
596 </excludes>
597 </filter>
598 <filter>
599 <artifact>*:*</artifact>
600 <excludes>
601 <exclude>META-INF/*.SF</exclude>
602 <exclude>META-INF/*.DSA</exclude>
603 <exclude>META-INF/*.RSA</exclude>
604 </excludes>
605 </filter>
606 </filters>
607 <transformers>
608 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
609 </transformers>
610 </configuration>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200611 </execution>
612 </executions>
613 </plugin>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200614 <plugin>
615 <groupId>ru.yaal.maven</groupId>
616 <artifactId>write-text-files-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200617 <configuration>
618 <charset>UTF-8</charset>
619 <files>
620 <file>
621 <path>
622 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
623 </path>
624 <lines>
625 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
626 </lines>
627 </file>
628 </files>
629 </configuration>
630 <executions>
631 <execution>
632 <id>write-text-files</id>
633 <phase>prepare-package</phase>
634 <goals>
635 <goal>write-text-files</goal>
636 </goals>
637 </execution>
638 </executions>
639 </plugin>
640 <plugin>
641 <groupId>org.apache.maven.plugins</groupId>
642 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200643 <executions>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200644 <execution>
645 <id>copy-tosca-folder</id>
646 <!-- here the phase you need -->
647 <phase>compile</phase>
648 <goals>
649 <goal>copy-resources</goal>
650 </goals>
651 <configuration>
652 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
653 <resources>
654 <resource>
655 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
656 <filtering>true</filtering>
657 </resource>
658 </resources>
659 </configuration>
660 </execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200661 </executions>
662 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100663 <plugin>
664 <groupId>com.github.sylvainlaurent.maven</groupId>
665 <artifactId>yaml-json-validator-maven-plugin</artifactId>
666 <executions>
667 <execution>
668 <id>validate</id>
669 <phase>validate</phase>
670 <goals>
671 <goal>validate</goal>
672 </goals>
673 <configuration>
674 <validationSets>
675 <validationSet>
676 <includes>
677 <include>src/main/resources/**/*.y*ml</include>
678 <include>src/test/resources/**/*.y*ml</include>
679 </includes>
680 </validationSet>
681 <validationSet>
682 <includes>
683 <include>src/main/resources/**/*.json</include>
684 <include>src/test/resources/**/*.json</include>
685 </includes>
686 </validationSet>
687 </validationSets>
688 </configuration>
689 </execution>
690 </executions>
691 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200692 </plugins>
693 </build>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200694 <profiles>
695 <profile>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200696 <id>docker</id>
697 <activation>
698 <activeByDefault>false</activeByDefault>
699 </activation>
700 <build>
701 <plugins>
702 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300703 <groupId>org.apache.maven.plugins</groupId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200704 <artifactId>maven-resources-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200705 <executions>
706 <execution>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200707 <id>copy-sdctool</id>
708 <phase>verify</phase>
709 <goals>
710 <goal>copy-resources</goal>
711 </goals>
712 <configuration>
713 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
714 <resources>
715 <resource>
716 <directory>${project.parent.basedir}/asdctool/target</directory>
717 <includes>
718 <include>sdctool.tar</include>
719 </includes>
720 </resource>
721 </resources>
722 </configuration>
723 </execution>
724 </executions>
725 </plugin>
726 <plugin>
727 <groupId>io.fabric8</groupId>
728 <artifactId>docker-maven-plugin</artifactId>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200729 <configuration>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200730 <apiVersion>1.23</apiVersion>
731 <registry>nexus3.onap.org:10001</registry>
732 <authConfig>
733 <pull>
734 <username>docker</username>
735 <password>docker</password>
736 </pull>
737 </authConfig>
738 <images>
739 <!-- Build cassandra-init image -->
740 <image>
741 <name>onap/sdc-cassandra-init</name>
742 <alias>sdc-cassandra-init</alias>
743 <build>
744 <cleanup>try</cleanup>
745 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
746 <tags>
747 <tag>${docker.tag}</tag>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200748 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
749 </tags>
750 </build>
751 </image>
752 </images>
753 </configuration>
754 <executions>
755 <execution>
756 <id>clean-images</id>
757 <phase>pre-clean</phase>
758 <goals>
759 <goal>remove</goal>
760 </goals>
761 <configuration>
762 <removeAll>true</removeAll>
763 <image>onap/sdc-cassandra-init</image>
764 </configuration>
765 </execution>
766
767 <execution>
768 <id>generate-images</id>
769 <phase>install</phase>
770 <goals>
771 <goal>build</goal>
772 </goals>
773 </execution>
774
775 <execution>
776 <id>push-images</id>
777 <phase>deploy</phase>
778 <goals>
779 <goal>push</goal>
780 </goals>
781 <configuration>
782 <image>onap/sdc-cassandra-init</image>
783 </configuration>
784 </execution>
785 </executions>
786 </plugin>
787 </plugins>
788 </build>
789 </profile>
790 </profiles>
Michael Lando5b593492018-07-29 16:13:45 +0300791</project>