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.onap.portal.sdk</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>
284 <artifactId>groovy</artifactId>
285 <groupId>org.codehaus.groovy</groupId>
292 <groupId>commons-logging</groupId>
293 <artifactId>commons-logging</artifactId>
294 <version>${commons-logging}</version>
295 <scope>compile</scope>
299 <groupId>commons-codec</groupId>
300 <artifactId>commons-codec</artifactId>
301 <version>${commons-codec}</version>
302 <scope>compile</scope>
306 <groupId>com.fasterxml.jackson.core</groupId>
307 <artifactId>jackson-databind</artifactId>
308 <version>${jackson.version}</version>
309 <scope>compile</scope>
312 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
314 <groupId>com.fasterxml.jackson.core</groupId>
315 <artifactId>jackson-annotations</artifactId>
316 <version>${jackson-annotations.version}</version>
320 <groupId>com.google.code.gson</groupId>
321 <artifactId>gson</artifactId>
322 <version>${gson.version}</version>
323 <scope>compile</scope>
327 <groupId>org.apache.httpcomponents</groupId>
328 <artifactId>httpclient</artifactId>
329 <version>${httpclient.version}</version>
330 <scope>compile</scope>
334 <groupId>org.apache.httpcomponents</groupId>
335 <artifactId>httpcore</artifactId>
336 <version>${httpcore.version}</version>
337 <scope>compile</scope>
340 <!-- Spring 4 dependencies -->
342 <groupId>org.springframework</groupId>
343 <artifactId>spring-core</artifactId>
344 <version>${spring.version}</version>
345 <scope>compile</scope>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-context</artifactId>
351 <version>${spring.version}</version>
352 <scope>compile</scope>
356 <groupId>org.springframework</groupId>
357 <artifactId>spring-expression</artifactId>
358 <version>${spring.version}</version>
359 <scope>compile</scope>
363 <groupId>org.springframework</groupId>
364 <artifactId>spring-beans</artifactId>
365 <version>${spring.version}</version>
366 <!--<version>4.0.7.RELEASE</version>-->
367 <scope>compile</scope>
371 <groupId>org.springframework</groupId>
372 <artifactId>spring-aop</artifactId>
373 <version>${spring.version}</version>
374 <scope>compile</scope>
377 <!-- Spring 4 dependencies end -->
378 <!-- JavaConfig need this library -->
380 <groupId>cglib</groupId>
381 <artifactId>cglib</artifactId>
382 <version>3.2.4</version>
383 <scope>compile</scope>
387 <groupId>org.yaml</groupId>
388 <artifactId>snakeyaml</artifactId>
389 <version>${snakeyaml.version}</version>
390 <scope>compile</scope>
394 <groupId>org.functionaljava</groupId>
395 <artifactId>functionaljava</artifactId>
396 <version>${functionaljava.version}</version>
397 <scope>compile</scope>
401 <groupId>org.elasticsearch</groupId>
402 <artifactId>elasticsearch</artifactId>
403 <version>${elastic-search.version}</version>
404 <scope>compile</scope>
408 <groupId>com.fasterxml.jackson.dataformat</groupId>
409 <artifactId>jackson-dataformat-yaml</artifactId>
410 <version>${jackson.version}</version>
411 <scope>compile</scope>
416 <groupId>com.datastax.cassandra</groupId>
417 <artifactId>cassandra-driver-core</artifactId>
418 <version>${cassandra.driver.version}</version>
419 <scope>compile</scope>
423 <groupId>com.datastax.cassandra</groupId>
424 <artifactId>cassandra-driver-mapping</artifactId>
425 <version>${cassandra.driver.version}</version>
426 <scope>compile</scope>
429 <!-- CASSANDRA END -->
433 <groupId>com.opencsv</groupId>
434 <artifactId>opencsv</artifactId>
435 <version>4.0</version>
436 <scope>compile</scope>
440 <groupId>org.apache.poi</groupId>
441 <artifactId>com.springsource.org.apache.poi</artifactId>
442 <version>3.9.0.FINAL</version>
443 <scope>compile</scope>
447 <groupId>org.jdom</groupId>
448 <artifactId>jdom</artifactId>
449 <version>2.0.2</version>
450 <scope>compile</scope>
453 <!-- Temporary, till building the populate task which adding all components
454 to cache. We will use Serialization Utils. -->
456 <groupId>de.ruedigermoeller</groupId>
457 <artifactId>fst</artifactId>
458 <version>2.47</version>
459 <scope>compile</scope>
464 <groupId>junit</groupId>
465 <artifactId>junit</artifactId>
466 <version>${junit.version}</version>
471 <groupId>org.testng</groupId>
472 <artifactId>testng</artifactId>
473 <version>${testng.version}</version>
478 <groupId>org.mockito</groupId>
479 <artifactId>mockito-core</artifactId>
484 <groupId>org.assertj</groupId>
485 <artifactId>assertj-core</artifactId>
491 <groupId>io.netty</groupId>
492 <artifactId>netty-all</artifactId>
496 <groupId>io.netty</groupId>
497 <artifactId>netty-handler</artifactId>
502 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-clean-plugin</artifactId>
509 <id>clean-static-files</id>
518 <directory>${project.parent.basedir}/asdctool/tosca</directory>
519 <followSymlinks>false</followSymlinks>
522 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
523 <followSymlinks>false</followSymlinks>
525 <include>**/default.rb</include>
529 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
530 <followSymlinks>false</followSymlinks>
533 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
534 <followSymlinks>false</followSymlinks>
536 <include>**/sdctool.tar</include>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-deploy-plugin</artifactId>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-assembly-plugin</artifactId>
559 <finalName>sdctool</finalName>
560 <appendAssemblyId>false</appendAssemblyId>
562 <descriptor>${project.basedir}/tarball.xml</descriptor>
565 <id>assemble-file</id>
566 <phase>verify</phase>
575 <groupId>org.apache.maven.plugins</groupId>
576 <artifactId>maven-shade-plugin</artifactId>
579 <phase>package</phase>
586 <artifact>org.openecomp.sdc:*</artifact>
588 <exclude>**/elasticsearch.yml</exclude>
592 <artifact>*:*</artifact>
594 <exclude>META-INF/*.SF</exclude>
595 <exclude>META-INF/*.DSA</exclude>
596 <exclude>META-INF/*.RSA</exclude>
601 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
608 <groupId>ru.yaal.maven</groupId>
609 <artifactId>write-text-files-maven-plugin</artifactId>
611 <charset>UTF-8</charset>
615 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
618 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
625 <id>write-text-files</id>
626 <phase>prepare-package</phase>
628 <goal>write-text-files</goal>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-resources-plugin</artifactId>
638 <id>copy-tosca-folder</id>
639 <!-- here the phase you need -->
640 <phase>compile</phase>
642 <goal>copy-resources</goal>
645 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
648 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
649 <filtering>true</filtering>
657 <groupId>com.github.sylvainlaurent.maven</groupId>
658 <artifactId>yaml-json-validator-maven-plugin</artifactId>
662 <phase>validate</phase>
664 <goal>validate</goal>
670 <include>src/main/resources/**/*.y*ml</include>
671 <include>src/test/resources/**/*.y*ml</include>
676 <include>src/main/resources/**/*.json</include>
677 <include>src/test/resources/**/*.json</include>
691 <activeByDefault>false</activeByDefault>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-resources-plugin</artifactId>
700 <id>copy-sdctool</id>
701 <phase>verify</phase>
703 <goal>copy-resources</goal>
706 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
709 <directory>${project.parent.basedir}/asdctool/target</directory>
711 <include>sdctool.tar</include>
720 <groupId>io.fabric8</groupId>
721 <artifactId>docker-maven-plugin</artifactId>
723 <apiVersion>1.23</apiVersion>
724 <registry>nexus3.onap.org:10001</registry>
727 <username>docker</username>
728 <password>docker</password>
732 <!-- Build cassandra-init image -->
734 <name>onap/sdc-cassandra-init</name>
735 <alias>sdc-cassandra-init</alias>
737 <cleanup>try</cleanup>
738 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
740 <tag>${docker.tag}</tag>
741 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
749 <id>clean-images</id>
750 <phase>pre-clean</phase>
755 <removeAll>true</removeAll>
756 <image>onap/sdc-cassandra-init</image>
761 <id>generate-images</id>
762 <phase>install</phase>
770 <phase>deploy</phase>
775 <image>onap/sdc-cassandra-init</image>