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>
131 <groupId>org.eclipse.jetty</groupId>
132 <artifactId>jetty-util</artifactId>
133 <version>${jetty.version}</version>
134 <scope>compile</scope>
137 <!-- listen to file changes -->
139 <groupId>org.apache.commons</groupId>
140 <artifactId>commons-jci-core</artifactId>
141 <version>${commons-jci-core.version}</version>
142 <scope>compile</scope>
146 <groupId>commons-cli</groupId>
147 <artifactId>commons-cli</artifactId>
148 <version>1.4</version>
152 <groupId>org.eclipse.jetty</groupId>
153 <artifactId>jetty-servlet</artifactId>
154 <version>${jetty.version}</version>
155 <scope>compile</scope>
159 <groupId>org.glassfish.jersey.core</groupId>
160 <artifactId>jersey-server</artifactId>
161 <version>${jersey-bom.version}</version>
162 <scope>compile</scope>
166 <groupId>org.glassfish.jersey.containers</groupId>
167 <artifactId>jersey-container-servlet-core</artifactId>
168 <version>${jersey-bom.version}</version>
169 <scope>compile</scope>
173 <groupId>org.glassfish.jersey.containers</groupId>
174 <artifactId>jersey-container-jetty-http</artifactId>
175 <version>${jersey-bom.version}</version>
176 <scope>compile</scope>
180 <groupId>org.glassfish.jersey.media</groupId>
181 <artifactId>jersey-media-moxy</artifactId>
182 <version>${jersey-bom.version}</version>
183 <scope>compile</scope>
187 <groupId>org.glassfish.jersey.media</groupId>
188 <artifactId>jersey-media-multipart</artifactId>
189 <version>2.14</version>
190 <scope>compile</scope>
193 <!-- slf4j + logback -->
195 <groupId>org.slf4j</groupId>
196 <artifactId>slf4j-api</artifactId>
197 <version>${slf4j-api.version}</version>
198 <scope>compile</scope>
202 <groupId>ch.qos.logback</groupId>
203 <artifactId>logback-classic</artifactId>
204 <version>${logback.version}</version>
205 <scope>compile</scope>
209 <groupId>ch.qos.logback</groupId>
210 <artifactId>logback-core</artifactId>
211 <version>${logback.version}</version>
212 <scope>compile</scope>
217 <groupId>org.codehaus.groovy</groupId>
218 <artifactId>groovy</artifactId>
219 <scope>compile</scope>
223 <groupId>commons-configuration</groupId>
224 <artifactId>commons-configuration</artifactId>
225 <version>1.6</version>
226 <scope>compile</scope>
229 <artifactId>commons-collections</artifactId>
230 <groupId>commons-collections</groupId>
237 <groupId>com.thinkaurelius.titan</groupId>
238 <artifactId>titan-core</artifactId>
239 <version>${titan.version}</version>
240 <scope>compile</scope>
243 <groupId>org.json</groupId>
244 <artifactId>json</artifactId>
247 <groupId>org.slf4j</groupId>
248 <artifactId>slf4j-log4j12</artifactId>
251 <artifactId>commons-collections</artifactId>
252 <groupId>commons-collections</groupId>
258 <groupId>com.googlecode.json-simple</groupId>
259 <artifactId>json-simple</artifactId>
260 <version>${json-simple.version}</version>
261 <scope>compile</scope>
265 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
266 <artifactId>sdc-titan-cassandra</artifactId>
267 <version>${sdc.titan.version}</version>
268 <scope>compile</scope>
271 <groupId>org.slf4j</groupId>
272 <artifactId>slf4j-log4j12</artifactId>
278 <groupId>org.apache.tinkerpop</groupId>
279 <artifactId>tinkergraph-gremlin</artifactId>
280 <version>3.0.1-incubating</version>
281 <scope>compile</scope>
285 <groupId>org.apache.tinkerpop</groupId>
286 <artifactId>gremlin-groovy</artifactId>
287 <version>3.0.1-incubating</version>
288 <scope>compile</scope>
291 <artifactId>groovy</artifactId>
292 <groupId>org.codehaus.groovy</groupId>
299 <groupId>commons-logging</groupId>
300 <artifactId>commons-logging</artifactId>
301 <version>${commons-logging}</version>
302 <scope>compile</scope>
306 <groupId>commons-codec</groupId>
307 <artifactId>commons-codec</artifactId>
308 <version>${commons-codec}</version>
309 <scope>compile</scope>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-databind</artifactId>
315 <version>${jackson.version}</version>
316 <scope>compile</scope>
319 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
321 <groupId>com.fasterxml.jackson.core</groupId>
322 <artifactId>jackson-annotations</artifactId>
323 <version>${jackson-annotations.version}</version>
327 <groupId>com.google.code.gson</groupId>
328 <artifactId>gson</artifactId>
329 <version>${gson.version}</version>
330 <scope>compile</scope>
334 <groupId>org.apache.httpcomponents</groupId>
335 <artifactId>httpclient</artifactId>
336 <version>${httpclient.version}</version>
337 <scope>compile</scope>
341 <groupId>org.apache.httpcomponents</groupId>
342 <artifactId>httpcore</artifactId>
343 <version>${httpcore.version}</version>
344 <scope>compile</scope>
347 <!-- Spring 4 dependencies -->
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-core</artifactId>
351 <version>${spring.version}</version>
352 <scope>compile</scope>
356 <groupId>org.springframework</groupId>
357 <artifactId>spring-context</artifactId>
358 <version>${spring.version}</version>
359 <scope>compile</scope>
363 <groupId>org.springframework</groupId>
364 <artifactId>spring-expression</artifactId>
365 <version>${spring.version}</version>
366 <scope>compile</scope>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-beans</artifactId>
372 <version>${spring.version}</version>
373 <!--<version>4.0.7.RELEASE</version>-->
374 <scope>compile</scope>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-aop</artifactId>
380 <version>${spring.version}</version>
381 <scope>compile</scope>
384 <!-- Spring 4 dependencies end -->
385 <!-- JavaConfig need this library -->
387 <groupId>cglib</groupId>
388 <artifactId>cglib</artifactId>
389 <version>3.2.4</version>
390 <scope>compile</scope>
394 <groupId>org.yaml</groupId>
395 <artifactId>snakeyaml</artifactId>
396 <version>${snakeyaml.version}</version>
397 <scope>compile</scope>
401 <groupId>org.functionaljava</groupId>
402 <artifactId>functionaljava</artifactId>
403 <version>${functionaljava.version}</version>
404 <scope>compile</scope>
408 <groupId>org.elasticsearch</groupId>
409 <artifactId>elasticsearch</artifactId>
410 <version>${elastic-search.version}</version>
411 <scope>compile</scope>
415 <groupId>com.fasterxml.jackson.dataformat</groupId>
416 <artifactId>jackson-dataformat-yaml</artifactId>
417 <version>${jackson.version}</version>
418 <scope>compile</scope>
423 <groupId>com.datastax.cassandra</groupId>
424 <artifactId>cassandra-driver-core</artifactId>
425 <version>${cassandra.driver.version}</version>
426 <scope>compile</scope>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-mapping</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
436 <!-- CASSANDRA END -->
440 <groupId>com.opencsv</groupId>
441 <artifactId>opencsv</artifactId>
442 <version>4.0</version>
443 <scope>compile</scope>
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>
454 <groupId>org.jdom</groupId>
455 <artifactId>jdom</artifactId>
456 <version>2.0.2</version>
457 <scope>compile</scope>
460 <!-- Temporary, till building the populate task which adding all components
461 to cache. We will use Serialization Utils. -->
463 <groupId>de.ruedigermoeller</groupId>
464 <artifactId>fst</artifactId>
465 <version>2.47</version>
466 <scope>compile</scope>
471 <groupId>junit</groupId>
472 <artifactId>junit</artifactId>
473 <version>${junit.version}</version>
478 <groupId>org.testng</groupId>
479 <artifactId>testng</artifactId>
480 <version>${testng.version}</version>
485 <groupId>org.mockito</groupId>
486 <artifactId>mockito-core</artifactId>
491 <groupId>org.assertj</groupId>
492 <artifactId>assertj-core</artifactId>
498 <groupId>io.netty</groupId>
499 <artifactId>netty-all</artifactId>
503 <groupId>io.netty</groupId>
504 <artifactId>netty-handler</artifactId>
509 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
512 <groupId>org.apache.maven.plugins</groupId>
513 <artifactId>maven-clean-plugin</artifactId>
516 <id>clean-static-files</id>
525 <directory>${project.parent.basedir}/asdctool/tosca</directory>
526 <followSymlinks>false</followSymlinks>
529 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/attributes/</directory>
530 <followSymlinks>false</followSymlinks>
532 <include>**/default.rb</include>
536 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default/tools</directory>
537 <followSymlinks>false</followSymlinks>
540 <directory>${project.basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
541 <followSymlinks>false</followSymlinks>
543 <include>**/sdctool.tar</include>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-deploy-plugin</artifactId>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-assembly-plugin</artifactId>
566 <finalName>sdctool</finalName>
567 <appendAssemblyId>false</appendAssemblyId>
569 <descriptor>${project.basedir}/tarball.xml</descriptor>
572 <id>assemble-file</id>
573 <phase>verify</phase>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-shade-plugin</artifactId>
586 <phase>package</phase>
593 <artifact>org.openecomp.sdc:*</artifact>
595 <exclude>**/elasticsearch.yml</exclude>
599 <artifact>*:*</artifact>
601 <exclude>META-INF/*.SF</exclude>
602 <exclude>META-INF/*.DSA</exclude>
603 <exclude>META-INF/*.RSA</exclude>
608 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
615 <groupId>ru.yaal.maven</groupId>
616 <artifactId>write-text-files-maven-plugin</artifactId>
618 <charset>UTF-8</charset>
622 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
625 <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
632 <id>write-text-files</id>
633 <phase>prepare-package</phase>
635 <goal>write-text-files</goal>
641 <groupId>org.apache.maven.plugins</groupId>
642 <artifactId>maven-resources-plugin</artifactId>
645 <id>copy-tosca-folder</id>
646 <!-- here the phase you need -->
647 <phase>compile</phase>
649 <goal>copy-resources</goal>
652 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
655 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
656 <filtering>true</filtering>
664 <groupId>com.github.sylvainlaurent.maven</groupId>
665 <artifactId>yaml-json-validator-maven-plugin</artifactId>
669 <phase>validate</phase>
671 <goal>validate</goal>
677 <include>src/main/resources/**/*.y*ml</include>
678 <include>src/test/resources/**/*.y*ml</include>
683 <include>src/main/resources/**/*.json</include>
684 <include>src/test/resources/**/*.json</include>
698 <activeByDefault>false</activeByDefault>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-resources-plugin</artifactId>
707 <id>copy-sdctool</id>
708 <phase>verify</phase>
710 <goal>copy-resources</goal>
713 <outputDirectory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</outputDirectory>
716 <directory>${project.parent.basedir}/asdctool/target</directory>
718 <include>sdctool.tar</include>
727 <groupId>io.fabric8</groupId>
728 <artifactId>docker-maven-plugin</artifactId>
730 <apiVersion>1.23</apiVersion>
731 <registry>nexus3.onap.org:10001</registry>
734 <username>docker</username>
735 <password>docker</password>
739 <!-- Build cassandra-init image -->
741 <name>onap/sdc-cassandra-init</name>
742 <alias>sdc-cassandra-init</alias>
744 <cleanup>try</cleanup>
745 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
747 <tag>${docker.tag}</tag>
748 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
756 <id>clean-images</id>
757 <phase>pre-clean</phase>
762 <removeAll>true</removeAll>
763 <image>onap/sdc-cassandra-init</image>
768 <id>generate-images</id>
769 <phase>install</phase>
777 <phase>deploy</phase>
782 <image>onap/sdc-cassandra-init</image>