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>
225 <groupId>com.thinkaurelius.titan</groupId>
226 <artifactId>titan-core</artifactId>
227 <version>${titan.version}</version>
228 <scope>compile</scope>
231 <groupId>org.json</groupId>
232 <artifactId>json</artifactId>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-log4j12</artifactId>
242 <groupId>com.googlecode.json-simple</groupId>
243 <artifactId>json-simple</artifactId>
244 <version>${json-simple.version}</version>
245 <scope>compile</scope>
249 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
250 <artifactId>sdc-titan-cassandra</artifactId>
251 <version>${sdc.titan.version}</version>
252 <scope>compile</scope>
255 <groupId>org.slf4j</groupId>
256 <artifactId>slf4j-log4j12</artifactId>
262 <groupId>org.apache.tinkerpop</groupId>
263 <artifactId>tinkergraph-gremlin</artifactId>
264 <version>3.0.1-incubating</version>
265 <scope>compile</scope>
269 <groupId>org.apache.tinkerpop</groupId>
270 <artifactId>gremlin-groovy</artifactId>
271 <version>3.0.1-incubating</version>
272 <scope>compile</scope>
276 <groupId>com.tinkerpop.blueprints</groupId>
277 <artifactId>blueprints-sail-graph</artifactId>
278 <version>2.5.0</version>
279 <optional>true</optional>
280 <scope>compile</scope>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-log4j12</artifactId>
290 <groupId>com.tinkerpop.blueprints</groupId>
291 <artifactId>blueprints-graph-sail</artifactId>
292 <version>2.5.0</version>
293 <optional>true</optional>
294 <scope>compile</scope>
297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
305 <groupId>commons-logging</groupId>
306 <artifactId>commons-logging</artifactId>
307 <version>${commons-logging}</version>
308 <scope>compile</scope>
312 <groupId>commons-codec</groupId>
313 <artifactId>commons-codec</artifactId>
314 <version>${commons-codec}</version>
315 <scope>compile</scope>
319 <groupId>com.fasterxml.jackson.core</groupId>
320 <artifactId>jackson-databind</artifactId>
321 <version>${jackson.version}</version>
322 <scope>compile</scope>
325 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
327 <groupId>com.fasterxml.jackson.core</groupId>
328 <artifactId>jackson-annotations</artifactId>
329 <version>${jackson-annotations.version}</version>
333 <groupId>com.google.code.gson</groupId>
334 <artifactId>gson</artifactId>
335 <version>${gson.version}</version>
336 <scope>compile</scope>
340 <groupId>org.apache.httpcomponents</groupId>
341 <artifactId>httpclient</artifactId>
342 <version>${httpclient.version}</version>
343 <scope>compile</scope>
347 <groupId>org.apache.httpcomponents</groupId>
348 <artifactId>httpcore</artifactId>
349 <version>${httpcore.version}</version>
350 <scope>compile</scope>
353 <!-- Spring 4 dependencies -->
355 <groupId>org.springframework</groupId>
356 <artifactId>spring-core</artifactId>
357 <version>${spring.version}</version>
358 <scope>compile</scope>
362 <groupId>org.springframework</groupId>
363 <artifactId>spring-context</artifactId>
364 <version>${spring.version}</version>
365 <scope>compile</scope>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-expression</artifactId>
371 <version>${spring.version}</version>
372 <scope>compile</scope>
376 <groupId>org.springframework</groupId>
377 <artifactId>spring-beans</artifactId>
378 <version>${spring.version}</version>
379 <!--<version>4.0.7.RELEASE</version>-->
380 <scope>compile</scope>
384 <groupId>org.springframework</groupId>
385 <artifactId>spring-aop</artifactId>
386 <version>${spring.version}</version>
387 <scope>compile</scope>
390 <!-- Spring 4 dependencies end -->
391 <!-- JavaConfig need this library -->
393 <groupId>cglib</groupId>
394 <artifactId>cglib</artifactId>
395 <version>3.2.4</version>
396 <scope>compile</scope>
400 <groupId>org.yaml</groupId>
401 <artifactId>snakeyaml</artifactId>
402 <version>${snakeyaml.version}</version>
403 <scope>compile</scope>
407 <groupId>org.functionaljava</groupId>
408 <artifactId>functionaljava</artifactId>
409 <version>${functionaljava.version}</version>
410 <scope>compile</scope>
414 <groupId>org.elasticsearch</groupId>
415 <artifactId>elasticsearch</artifactId>
416 <version>${elastic-search.version}</version>
417 <scope>compile</scope>
421 <groupId>com.fasterxml.jackson.dataformat</groupId>
422 <artifactId>jackson-dataformat-yaml</artifactId>
423 <version>${jackson.version}</version>
424 <scope>compile</scope>
428 <groupId>org.elasticsearch.plugin</groupId>
429 <artifactId>shield</artifactId>
430 <version>${elastic-search.version}</version>
431 <scope>compile</scope>
436 <groupId>com.datastax.cassandra</groupId>
437 <artifactId>cassandra-driver-core</artifactId>
438 <version>${cassandra.driver.version}</version>
439 <scope>compile</scope>
443 <groupId>com.datastax.cassandra</groupId>
444 <artifactId>cassandra-driver-mapping</artifactId>
445 <version>${cassandra.driver.version}</version>
446 <scope>compile</scope>
449 <!-- CASSANDRA END -->
453 <groupId>com.opencsv</groupId>
454 <artifactId>opencsv</artifactId>
455 <version>4.0</version>
456 <scope>compile</scope>
460 <groupId>org.apache.poi</groupId>
461 <artifactId>com.springsource.org.apache.poi</artifactId>
462 <version>3.9.0.FINAL</version>
463 <scope>compile</scope>
467 <groupId>org.jdom</groupId>
468 <artifactId>jdom</artifactId>
469 <version>2.0.2</version>
470 <scope>compile</scope>
473 <!-- Temporary, till building the populate task which adding all components
474 to cache. We will use Serialization Utils. -->
476 <groupId>de.ruedigermoeller</groupId>
477 <artifactId>fst</artifactId>
478 <version>2.47</version>
479 <scope>compile</scope>
484 <groupId>junit</groupId>
485 <artifactId>junit</artifactId>
486 <version>${junit.version}</version>
491 <groupId>org.testng</groupId>
492 <artifactId>testng</artifactId>
493 <version>${testng.version}</version>
498 <groupId>org.mockito</groupId>
499 <artifactId>mockito-core</artifactId>
503 <groupId>org.assertj</groupId>
504 <artifactId>assertj-core</artifactId>
512 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-clean-plugin</artifactId>
519 <id>clean-static-files</id>
528 <directory>${project.parent.basedir}/asdctool/tosca</directory>
529 <followSymlinks>false</followSymlinks>
532 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
533 <followSymlinks>false</followSymlinks>
535 <include>**/default.rb</include>
539 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
540 <followSymlinks>false</followSymlinks>
543 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
544 <followSymlinks>false</followSymlinks>
546 <include>**/sdctool.tar</include>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-deploy-plugin</artifactId>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-assembly-plugin</artifactId>
569 <finalName>sdctool</finalName>
570 <appendAssemblyId>false</appendAssemblyId>
572 <descriptor>${project.basedir}/tarball.xml</descriptor>
575 <id>assemble-file</id>
576 <phase>verify</phase>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-shade-plugin</artifactId>
589 <phase>package</phase>
596 <artifact>org.openecomp.sdc:*</artifact>
598 <exclude>**/elasticsearch.yml</exclude>
602 <artifact>*:*</artifact>
604 <exclude>META-INF/*.SF</exclude>
605 <exclude>META-INF/*.DSA</exclude>
606 <exclude>META-INF/*.RSA</exclude>
611 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
618 <groupId>ru.yaal.maven</groupId>
619 <artifactId>write-text-files-maven-plugin</artifactId>
621 <charset>UTF-8</charset>
625 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
628 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
635 <id>write-text-files</id>
636 <phase>prepare-package</phase>
638 <goal>write-text-files</goal>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-resources-plugin</artifactId>
648 <id>copy-tosca-folder</id>
649 <!-- here the phase you need -->
650 <phase>compile</phase>
652 <goal>copy-resources</goal>
655 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
658 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
659 <filtering>true</filtering>
672 <activeByDefault>false</activeByDefault>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-resources-plugin</artifactId>
681 <id>copy-sdctool</id>
682 <phase>verify</phase>
684 <goal>copy-resources</goal>
687 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
690 <directory>${project.parent.basedir}/asdctool/target</directory>
692 <include>sdctool.tar</include>
701 <groupId>io.fabric8</groupId>
702 <artifactId>docker-maven-plugin</artifactId>
704 <apiVersion>1.23</apiVersion>
705 <registry>nexus3.onap.org:10001</registry>
708 <username>docker</username>
709 <password>docker</password>
713 <!-- Build cassandra-init image -->
715 <name>onap/sdc-cassandra-init</name>
716 <alias>sdc-cassandra-init</alias>
718 <cleanup>try</cleanup>
719 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
721 <tag>${docker.tag}</tag>
722 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
730 <id>clean-images</id>
731 <phase>pre-clean</phase>
736 <removeAll>true</removeAll>
737 <image>onap/sdc-cassandra-init</image>
742 <id>generate-images</id>
743 <phase>install</phase>
751 <phase>deploy</phase>
756 <image>onap/sdc-cassandra-init</image>