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-all</artifactId>
212 <version>${groovy.version}</version>
213 <scope>compile</scope>
217 <groupId>commons-configuration</groupId>
218 <artifactId>commons-configuration</artifactId>
219 <version>1.6</version>
220 <scope>compile</scope>
223 <artifactId>commons-collections</artifactId>
224 <groupId>commons-collections</groupId>
231 <groupId>com.thinkaurelius.titan</groupId>
232 <artifactId>titan-core</artifactId>
233 <version>${titan.version}</version>
234 <scope>compile</scope>
237 <groupId>org.json</groupId>
238 <artifactId>json</artifactId>
241 <groupId>org.slf4j</groupId>
242 <artifactId>slf4j-log4j12</artifactId>
245 <artifactId>commons-collections</artifactId>
246 <groupId>commons-collections</groupId>
252 <groupId>com.googlecode.json-simple</groupId>
253 <artifactId>json-simple</artifactId>
254 <version>${json-simple.version}</version>
255 <scope>compile</scope>
259 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
260 <artifactId>sdc-titan-cassandra</artifactId>
261 <version>${sdc.titan.version}</version>
262 <scope>compile</scope>
265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-log4j12</artifactId>
272 <groupId>org.apache.tinkerpop</groupId>
273 <artifactId>tinkergraph-gremlin</artifactId>
274 <version>3.0.1-incubating</version>
275 <scope>compile</scope>
279 <groupId>org.apache.tinkerpop</groupId>
280 <artifactId>gremlin-groovy</artifactId>
281 <version>3.0.1-incubating</version>
282 <scope>compile</scope>
286 <groupId>com.tinkerpop.blueprints</groupId>
287 <artifactId>blueprints-sail-graph</artifactId>
288 <version>2.5.0</version>
289 <optional>true</optional>
290 <scope>compile</scope>
293 <groupId>org.slf4j</groupId>
294 <artifactId>slf4j-log4j12</artifactId>
300 <groupId>com.tinkerpop.blueprints</groupId>
301 <artifactId>blueprints-graph-sail</artifactId>
302 <version>2.5.0</version>
303 <optional>true</optional>
304 <scope>compile</scope>
307 <groupId>org.slf4j</groupId>
308 <artifactId>slf4j-log4j12</artifactId>
315 <groupId>commons-logging</groupId>
316 <artifactId>commons-logging</artifactId>
317 <version>${commons-logging}</version>
318 <scope>compile</scope>
322 <groupId>commons-codec</groupId>
323 <artifactId>commons-codec</artifactId>
324 <version>${commons-codec}</version>
325 <scope>compile</scope>
329 <groupId>com.fasterxml.jackson.core</groupId>
330 <artifactId>jackson-databind</artifactId>
331 <version>${jackson.version}</version>
332 <scope>compile</scope>
335 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
337 <groupId>com.fasterxml.jackson.core</groupId>
338 <artifactId>jackson-annotations</artifactId>
339 <version>${jackson-annotations.version}</version>
343 <groupId>com.google.code.gson</groupId>
344 <artifactId>gson</artifactId>
345 <version>${gson.version}</version>
346 <scope>compile</scope>
350 <groupId>org.apache.httpcomponents</groupId>
351 <artifactId>httpclient</artifactId>
352 <version>${httpclient.version}</version>
353 <scope>compile</scope>
357 <groupId>org.apache.httpcomponents</groupId>
358 <artifactId>httpcore</artifactId>
359 <version>${httpcore.version}</version>
360 <scope>compile</scope>
363 <!-- Spring 4 dependencies -->
365 <groupId>org.springframework</groupId>
366 <artifactId>spring-core</artifactId>
367 <version>${spring.version}</version>
368 <scope>compile</scope>
372 <groupId>org.springframework</groupId>
373 <artifactId>spring-context</artifactId>
374 <version>${spring.version}</version>
375 <scope>compile</scope>
379 <groupId>org.springframework</groupId>
380 <artifactId>spring-expression</artifactId>
381 <version>${spring.version}</version>
382 <scope>compile</scope>
386 <groupId>org.springframework</groupId>
387 <artifactId>spring-beans</artifactId>
388 <version>${spring.version}</version>
389 <!--<version>4.0.7.RELEASE</version>-->
390 <scope>compile</scope>
394 <groupId>org.springframework</groupId>
395 <artifactId>spring-aop</artifactId>
396 <version>${spring.version}</version>
397 <scope>compile</scope>
400 <!-- Spring 4 dependencies end -->
401 <!-- JavaConfig need this library -->
403 <groupId>cglib</groupId>
404 <artifactId>cglib</artifactId>
405 <version>3.2.4</version>
406 <scope>compile</scope>
410 <groupId>org.yaml</groupId>
411 <artifactId>snakeyaml</artifactId>
412 <version>${snakeyaml.version}</version>
413 <scope>compile</scope>
417 <groupId>org.functionaljava</groupId>
418 <artifactId>functionaljava</artifactId>
419 <version>${functionaljava.version}</version>
420 <scope>compile</scope>
424 <groupId>org.elasticsearch</groupId>
425 <artifactId>elasticsearch</artifactId>
426 <version>${elastic-search.version}</version>
427 <scope>compile</scope>
431 <groupId>com.fasterxml.jackson.dataformat</groupId>
432 <artifactId>jackson-dataformat-yaml</artifactId>
433 <version>${jackson.version}</version>
434 <scope>compile</scope>
439 <groupId>com.datastax.cassandra</groupId>
440 <artifactId>cassandra-driver-core</artifactId>
441 <version>${cassandra.driver.version}</version>
442 <scope>compile</scope>
446 <groupId>com.datastax.cassandra</groupId>
447 <artifactId>cassandra-driver-mapping</artifactId>
448 <version>${cassandra.driver.version}</version>
449 <scope>compile</scope>
452 <!-- CASSANDRA END -->
456 <groupId>com.opencsv</groupId>
457 <artifactId>opencsv</artifactId>
458 <version>4.0</version>
459 <scope>compile</scope>
463 <groupId>org.apache.poi</groupId>
464 <artifactId>com.springsource.org.apache.poi</artifactId>
465 <version>3.9.0.FINAL</version>
466 <scope>compile</scope>
470 <groupId>org.jdom</groupId>
471 <artifactId>jdom</artifactId>
472 <version>2.0.2</version>
473 <scope>compile</scope>
476 <!-- Temporary, till building the populate task which adding all components
477 to cache. We will use Serialization Utils. -->
479 <groupId>de.ruedigermoeller</groupId>
480 <artifactId>fst</artifactId>
481 <version>2.47</version>
482 <scope>compile</scope>
487 <groupId>junit</groupId>
488 <artifactId>junit</artifactId>
489 <version>${junit.version}</version>
494 <groupId>org.testng</groupId>
495 <artifactId>testng</artifactId>
496 <version>${testng.version}</version>
501 <groupId>org.mockito</groupId>
502 <artifactId>mockito-core</artifactId>
507 <groupId>org.assertj</groupId>
508 <artifactId>assertj-core</artifactId>
514 <groupId>org.codehaus.groovy</groupId>
515 <artifactId>groovy</artifactId>
516 <version>2.4.8</version>
521 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-clean-plugin</artifactId>
528 <id>clean-static-files</id>
537 <directory>${project.parent.basedir}/asdctool/tosca</directory>
538 <followSymlinks>false</followSymlinks>
541 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
542 <followSymlinks>false</followSymlinks>
544 <include>**/default.rb</include>
548 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
549 <followSymlinks>false</followSymlinks>
552 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
553 <followSymlinks>false</followSymlinks>
555 <include>**/sdctool.tar</include>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-deploy-plugin</artifactId>
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-assembly-plugin</artifactId>
578 <finalName>sdctool</finalName>
579 <appendAssemblyId>false</appendAssemblyId>
581 <descriptor>${project.basedir}/tarball.xml</descriptor>
584 <id>assemble-file</id>
585 <phase>verify</phase>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-shade-plugin</artifactId>
598 <phase>package</phase>
605 <artifact>org.openecomp.sdc:*</artifact>
607 <exclude>**/elasticsearch.yml</exclude>
611 <artifact>*:*</artifact>
613 <exclude>META-INF/*.SF</exclude>
614 <exclude>META-INF/*.DSA</exclude>
615 <exclude>META-INF/*.RSA</exclude>
620 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
627 <groupId>ru.yaal.maven</groupId>
628 <artifactId>write-text-files-maven-plugin</artifactId>
630 <charset>UTF-8</charset>
634 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
637 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
644 <id>write-text-files</id>
645 <phase>prepare-package</phase>
647 <goal>write-text-files</goal>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-resources-plugin</artifactId>
657 <id>copy-tosca-folder</id>
658 <!-- here the phase you need -->
659 <phase>compile</phase>
661 <goal>copy-resources</goal>
664 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
667 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
668 <filtering>true</filtering>
676 <groupId>com.github.sylvainlaurent.maven</groupId>
677 <artifactId>yaml-json-validator-maven-plugin</artifactId>
681 <phase>validate</phase>
683 <goal>validate</goal>
689 <include>src/main/resources/**/*.y*ml</include>
690 <include>src/test/resources/**/*.y*ml</include>
695 <include>src/main/resources/**/*.json</include>
696 <include>src/test/resources/**/*.json</include>
710 <activeByDefault>false</activeByDefault>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-resources-plugin</artifactId>
719 <id>copy-sdctool</id>
720 <phase>verify</phase>
722 <goal>copy-resources</goal>
725 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
728 <directory>${project.parent.basedir}/asdctool/target</directory>
730 <include>sdctool.tar</include>
739 <groupId>io.fabric8</groupId>
740 <artifactId>docker-maven-plugin</artifactId>
742 <apiVersion>1.23</apiVersion>
743 <registry>nexus3.onap.org:10001</registry>
746 <username>docker</username>
747 <password>docker</password>
751 <!-- Build cassandra-init image -->
753 <name>onap/sdc-cassandra-init</name>
754 <alias>sdc-cassandra-init</alias>
756 <cleanup>try</cleanup>
757 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
759 <tag>${docker.tag}</tag>
760 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
768 <id>clean-images</id>
769 <phase>pre-clean</phase>
774 <removeAll>true</removeAll>
775 <image>onap/sdc-cassandra-init</image>
780 <id>generate-images</id>
781 <phase>install</phase>
789 <phase>deploy</phase>
794 <image>onap/sdc-cassandra-init</image>