1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>asdctool</artifactId>
6 <packaging>jar</packaging>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
11 <version>1.3.0-SNAPSHOT</version>
17 <groupId>com.google.guava</groupId>
18 <artifactId>guava</artifactId>
19 <version>${guava.version}</version>
20 <scope>compile</scope>
23 <!-- ASDC dependencies -->
25 <groupId>org.openecomp.sdc.be</groupId>
26 <artifactId>common-be</artifactId>
27 <version>${project.version}</version>
28 <scope>compile</scope>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 <scope>compile</scope>
38 <groupId>org.openecomp.sdc.be</groupId>
39 <artifactId>catalog-dao</artifactId>
40 <version>${project.version}</version>
41 <scope>compile</scope>
45 <groupId>org.openecomp.sdc.be</groupId>
46 <artifactId>catalog-model</artifactId>
47 <version>${project.version}</version>
48 <scope>compile</scope>
53 <groupId>org.openecomp.sdc</groupId>
54 <artifactId>catalog-be</artifactId>
55 <version>${project.version}</version>
57 <!-- Comment Out in order to debug in eclipse -->
58 <classifier>classes</classifier>
62 <groupId>org.openecomp.ecompsdkos</groupId>
63 <artifactId>epsdk-fw</artifactId>
67 <groupId>org.onap.sdc.common</groupId>
68 <artifactId>onap-sdc-artifact-generator-api</artifactId>
72 <groupId>org.onap.sdc.common</groupId>
73 <artifactId>onap-sdc-artifact-generator-core</artifactId>
77 <groupId>org.onap.sdc.common</groupId>
78 <artifactId>onap-common-lib</artifactId>
82 <groupId>com.att.nsa</groupId>
83 <artifactId>cambriaClient</artifactId>
86 <groupId>com.att.nsa</groupId>
87 <artifactId>dmaapClient</artifactId>
90 <artifactId>slf4j-log4j12</artifactId>
91 <groupId>org.slf4j</groupId>
96 <scope>compile</scope>
100 <groupId>org.openecomp.ecompsdkos</groupId>
101 <artifactId>epsdk-fw</artifactId>
102 <version>${ecomp.version}</version>
103 <scope>compile</scope>
106 <groupId>com.att.nsa</groupId>
107 <artifactId>cambriaClient</artifactId>
110 <groupId>com.att.nsa</groupId>
111 <artifactId>dmaapClient</artifactId>
114 <artifactId>slf4j-log4j12</artifactId>
115 <groupId>org.slf4j</groupId>
122 <!-- ASDC dependencies end -->
124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-server</artifactId>
126 <version>${jetty.version}</version>
127 <scope>compile</scope>
130 <!-- listen to file changes -->
132 <groupId>org.apache.commons</groupId>
133 <artifactId>commons-jci-core</artifactId>
134 <version>${commons-jci-core.version}</version>
135 <scope>compile</scope>
139 <groupId>commons-cli</groupId>
140 <artifactId>commons-cli</artifactId>
141 <version>1.4</version>
145 <groupId>org.eclipse.jetty</groupId>
146 <artifactId>jetty-servlet</artifactId>
147 <version>${jetty.version}</version>
148 <scope>compile</scope>
152 <groupId>org.glassfish.jersey.core</groupId>
153 <artifactId>jersey-server</artifactId>
154 <version>${jersey-bom.version}</version>
155 <scope>compile</scope>
159 <groupId>org.glassfish.jersey.containers</groupId>
160 <artifactId>jersey-container-servlet-core</artifactId>
161 <version>${jersey-bom.version}</version>
162 <scope>compile</scope>
166 <groupId>org.glassfish.jersey.containers</groupId>
167 <artifactId>jersey-container-jetty-http</artifactId>
168 <version>${jersey-bom.version}</version>
169 <scope>compile</scope>
173 <groupId>org.glassfish.jersey.media</groupId>
174 <artifactId>jersey-media-moxy</artifactId>
175 <version>${jersey-bom.version}</version>
176 <scope>compile</scope>
180 <groupId>org.glassfish.jersey.media</groupId>
181 <artifactId>jersey-media-multipart</artifactId>
182 <version>2.14</version>
183 <scope>compile</scope>
186 <!-- slf4j + logback -->
188 <groupId>org.slf4j</groupId>
189 <artifactId>slf4j-api</artifactId>
190 <version>${slf4j-api.version}</version>
191 <scope>compile</scope>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-classic</artifactId>
197 <version>${logback.version}</version>
198 <scope>compile</scope>
202 <groupId>ch.qos.logback</groupId>
203 <artifactId>logback-core</artifactId>
204 <version>${logback.version}</version>
205 <scope>compile</scope>
210 <groupId>org.codehaus.groovy</groupId>
211 <artifactId>groovy</artifactId>
212 <scope>compile</scope>
216 <groupId>commons-configuration</groupId>
217 <artifactId>commons-configuration</artifactId>
218 <version>1.6</version>
219 <scope>compile</scope>
222 <artifactId>commons-collections</artifactId>
223 <groupId>commons-collections</groupId>
230 <groupId>com.thinkaurelius.titan</groupId>
231 <artifactId>titan-core</artifactId>
232 <version>${titan.version}</version>
233 <scope>compile</scope>
236 <groupId>org.json</groupId>
237 <artifactId>json</artifactId>
240 <groupId>org.slf4j</groupId>
241 <artifactId>slf4j-log4j12</artifactId>
244 <artifactId>commons-collections</artifactId>
245 <groupId>commons-collections</groupId>
251 <groupId>com.googlecode.json-simple</groupId>
252 <artifactId>json-simple</artifactId>
253 <version>${json-simple.version}</version>
254 <scope>compile</scope>
258 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
259 <artifactId>sdc-titan-cassandra</artifactId>
260 <version>${sdc.titan.version}</version>
261 <scope>compile</scope>
264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-log4j12</artifactId>
271 <groupId>org.apache.tinkerpop</groupId>
272 <artifactId>tinkergraph-gremlin</artifactId>
273 <version>3.0.1-incubating</version>
274 <scope>compile</scope>
278 <groupId>org.apache.tinkerpop</groupId>
279 <artifactId>gremlin-groovy</artifactId>
280 <version>3.0.1-incubating</version>
281 <scope>compile</scope>
286 <groupId>commons-logging</groupId>
287 <artifactId>commons-logging</artifactId>
288 <version>${commons-logging}</version>
289 <scope>compile</scope>
293 <groupId>commons-codec</groupId>
294 <artifactId>commons-codec</artifactId>
295 <version>${commons-codec}</version>
296 <scope>compile</scope>
300 <groupId>com.fasterxml.jackson.core</groupId>
301 <artifactId>jackson-databind</artifactId>
302 <version>${jackson.version}</version>
303 <scope>compile</scope>
306 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
308 <groupId>com.fasterxml.jackson.core</groupId>
309 <artifactId>jackson-annotations</artifactId>
310 <version>${jackson-annotations.version}</version>
314 <groupId>com.google.code.gson</groupId>
315 <artifactId>gson</artifactId>
316 <version>${gson.version}</version>
317 <scope>compile</scope>
321 <groupId>org.apache.httpcomponents</groupId>
322 <artifactId>httpclient</artifactId>
323 <version>${httpclient.version}</version>
324 <scope>compile</scope>
328 <groupId>org.apache.httpcomponents</groupId>
329 <artifactId>httpcore</artifactId>
330 <version>${httpcore.version}</version>
331 <scope>compile</scope>
334 <!-- Spring 4 dependencies -->
336 <groupId>org.springframework</groupId>
337 <artifactId>spring-core</artifactId>
338 <version>${spring.version}</version>
339 <scope>compile</scope>
343 <groupId>org.springframework</groupId>
344 <artifactId>spring-context</artifactId>
345 <version>${spring.version}</version>
346 <scope>compile</scope>
350 <groupId>org.springframework</groupId>
351 <artifactId>spring-expression</artifactId>
352 <version>${spring.version}</version>
353 <scope>compile</scope>
357 <groupId>org.springframework</groupId>
358 <artifactId>spring-beans</artifactId>
359 <version>${spring.version}</version>
360 <!--<version>4.0.7.RELEASE</version>-->
361 <scope>compile</scope>
365 <groupId>org.springframework</groupId>
366 <artifactId>spring-aop</artifactId>
367 <version>${spring.version}</version>
368 <scope>compile</scope>
371 <!-- Spring 4 dependencies end -->
372 <!-- JavaConfig need this library -->
374 <groupId>cglib</groupId>
375 <artifactId>cglib</artifactId>
376 <version>3.2.4</version>
377 <scope>compile</scope>
381 <groupId>org.yaml</groupId>
382 <artifactId>snakeyaml</artifactId>
383 <version>${snakeyaml.version}</version>
384 <scope>compile</scope>
388 <groupId>org.functionaljava</groupId>
389 <artifactId>functionaljava</artifactId>
390 <version>${functionaljava.version}</version>
391 <scope>compile</scope>
395 <groupId>org.elasticsearch</groupId>
396 <artifactId>elasticsearch</artifactId>
397 <version>${elastic-search.version}</version>
398 <scope>compile</scope>
402 <groupId>com.fasterxml.jackson.dataformat</groupId>
403 <artifactId>jackson-dataformat-yaml</artifactId>
404 <version>${jackson.version}</version>
405 <scope>compile</scope>
410 <groupId>com.datastax.cassandra</groupId>
411 <artifactId>cassandra-driver-core</artifactId>
412 <version>${cassandra.driver.version}</version>
413 <scope>compile</scope>
417 <groupId>com.datastax.cassandra</groupId>
418 <artifactId>cassandra-driver-mapping</artifactId>
419 <version>${cassandra.driver.version}</version>
420 <scope>compile</scope>
423 <!-- CASSANDRA END -->
427 <groupId>com.opencsv</groupId>
428 <artifactId>opencsv</artifactId>
429 <version>4.0</version>
430 <scope>compile</scope>
434 <groupId>org.apache.poi</groupId>
435 <artifactId>com.springsource.org.apache.poi</artifactId>
436 <version>3.9.0.FINAL</version>
437 <scope>compile</scope>
441 <groupId>org.jdom</groupId>
442 <artifactId>jdom</artifactId>
443 <version>2.0.2</version>
444 <scope>compile</scope>
447 <!-- Temporary, till building the populate task which adding all components
448 to cache. We will use Serialization Utils. -->
450 <groupId>de.ruedigermoeller</groupId>
451 <artifactId>fst</artifactId>
452 <version>2.47</version>
453 <scope>compile</scope>
458 <groupId>junit</groupId>
459 <artifactId>junit</artifactId>
460 <version>${junit.version}</version>
465 <groupId>org.testng</groupId>
466 <artifactId>testng</artifactId>
467 <version>${testng.version}</version>
472 <groupId>org.mockito</groupId>
473 <artifactId>mockito-core</artifactId>
478 <groupId>org.assertj</groupId>
479 <artifactId>assertj-core</artifactId>
485 <groupId>io.netty</groupId>
486 <artifactId>netty-all</artifactId>
490 <groupId>io.netty</groupId>
491 <artifactId>netty-handler</artifactId>
496 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-clean-plugin</artifactId>
503 <id>clean-static-files</id>
512 <directory>${project.parent.basedir}/asdctool/tosca</directory>
513 <followSymlinks>false</followSymlinks>
516 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
517 <followSymlinks>false</followSymlinks>
519 <include>**/default.rb</include>
523 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
524 <followSymlinks>false</followSymlinks>
527 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
528 <followSymlinks>false</followSymlinks>
530 <include>**/sdctool.tar</include>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-deploy-plugin</artifactId>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-assembly-plugin</artifactId>
553 <finalName>sdctool</finalName>
554 <appendAssemblyId>false</appendAssemblyId>
556 <descriptor>${project.basedir}/tarball.xml</descriptor>
559 <id>assemble-file</id>
560 <phase>verify</phase>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-shade-plugin</artifactId>
573 <phase>package</phase>
580 <artifact>org.openecomp.sdc:*</artifact>
582 <exclude>**/elasticsearch.yml</exclude>
586 <artifact>*:*</artifact>
588 <exclude>META-INF/*.SF</exclude>
589 <exclude>META-INF/*.DSA</exclude>
590 <exclude>META-INF/*.RSA</exclude>
595 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
602 <groupId>ru.yaal.maven</groupId>
603 <artifactId>write-text-files-maven-plugin</artifactId>
605 <charset>UTF-8</charset>
609 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
612 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
619 <id>write-text-files</id>
620 <phase>prepare-package</phase>
622 <goal>write-text-files</goal>
628 <groupId>org.apache.maven.plugins</groupId>
629 <artifactId>maven-resources-plugin</artifactId>
632 <id>copy-tosca-folder</id>
633 <!-- here the phase you need -->
634 <phase>compile</phase>
636 <goal>copy-resources</goal>
639 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
642 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
643 <filtering>true</filtering>
651 <groupId>com.github.sylvainlaurent.maven</groupId>
652 <artifactId>yaml-json-validator-maven-plugin</artifactId>
656 <phase>validate</phase>
658 <goal>validate</goal>
664 <include>src/main/resources/**/*.y*ml</include>
665 <include>src/test/resources/**/*.y*ml</include>
670 <include>src/main/resources/**/*.json</include>
671 <include>src/test/resources/**/*.json</include>
685 <activeByDefault>false</activeByDefault>
690 <groupId>org.apache.maven.plugins</groupId>
691 <artifactId>maven-resources-plugin</artifactId>
694 <id>copy-sdctool</id>
695 <phase>verify</phase>
697 <goal>copy-resources</goal>
700 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
703 <directory>${project.parent.basedir}/asdctool/target</directory>
705 <include>sdctool.tar</include>
714 <groupId>io.fabric8</groupId>
715 <artifactId>docker-maven-plugin</artifactId>
717 <apiVersion>1.23</apiVersion>
718 <registry>nexus3.onap.org:10001</registry>
721 <username>docker</username>
722 <password>docker</password>
726 <!-- Build cassandra-init image -->
728 <name>onap/sdc-cassandra-init</name>
729 <alias>sdc-cassandra-init</alias>
731 <cleanup>try</cleanup>
732 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
734 <tag>${docker.tag}</tag>
735 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
743 <id>clean-images</id>
744 <phase>pre-clean</phase>
749 <removeAll>true</removeAll>
750 <image>onap/sdc-cassandra-init</image>
755 <id>generate-images</id>
756 <phase>install</phase>
764 <phase>deploy</phase>
769 <image>onap/sdc-cassandra-init</image>