1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>asdctool</artifactId>
7 <packaging>jar</packaging>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.12.2-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.springframework</groupId>
32 <artifactId>spring-core</artifactId>
37 <groupId>org.openecomp.sdc</groupId>
38 <artifactId>common-app-api</artifactId>
39 <version>${project.version}</version>
40 <scope>compile</scope>
43 <groupId>org.apache.httpcomponents</groupId>
44 <artifactId>httpcore</artifactId>
47 <groupId>org.functionaljava</groupId>
48 <artifactId>functionaljava</artifactId>
53 <groupId>com.fasterxml.jackson.core</groupId>
54 <artifactId>jackson-core</artifactId>
55 <version>${jackson.version}</version>
59 <groupId>org.openecomp.sdc.be</groupId>
60 <artifactId>catalog-dao</artifactId>
61 <version>${project.version}</version>
64 <groupId>com.fasterxml.jackson.core</groupId>
65 <artifactId>jackson-core</artifactId>
71 <groupId>org.openecomp.sdc.be</groupId>
72 <artifactId>catalog-model</artifactId>
73 <version>${project.version}</version>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-core</artifactId>
84 <groupId>org.openecomp.sdc</groupId>
85 <artifactId>catalog-be</artifactId>
86 <version>${project.version}</version>
88 <!-- Comment Out in order to debug in eclipse -->
89 <classifier>classes</classifier>
93 <groupId>com.fasterxml.jackson.core</groupId>
94 <artifactId>jackson-core</artifactId>
97 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-http</artifactId>
101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-servlets</artifactId>
105 <groupId>org.openecomp.ecompsdkos</groupId>
106 <artifactId>epsdk-fw</artifactId>
110 <groupId>org.onap.sdc.common</groupId>
111 <artifactId>onap-common-lib</artifactId>
115 <groupId>com.att.nsa</groupId>
116 <artifactId>cambriaClient</artifactId>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>dmaapClient</artifactId>
123 <artifactId>slf4j-log4j12</artifactId>
124 <groupId>org.slf4j</groupId>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-web</artifactId>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-webmvc</artifactId>
137 <scope>compile</scope>
141 <groupId>org.onap.portal.sdk</groupId>
142 <artifactId>epsdk-fw</artifactId>
143 <version>${ecomp.version}</version>
144 <scope>compile</scope>
147 <groupId>com.att.nsa</groupId>
148 <artifactId>cambriaClient</artifactId>
151 <groupId>com.att.nsa</groupId>
152 <artifactId>dmaapClient</artifactId>
155 <artifactId>slf4j-log4j12</artifactId>
156 <groupId>org.slf4j</groupId>
159 <artifactId>log4j</artifactId>
160 <groupId>log4j</groupId>
166 <!-- ASDC dependencies end -->
168 <groupId>org.eclipse.jetty</groupId>
169 <artifactId>jetty-server</artifactId>
170 <version>${jetty.version}</version>
171 <scope>compile</scope>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-http</artifactId>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-util</artifactId>
183 <version>${jetty.version}</version>
184 <scope>compile</scope>
187 <!-- listen to file changes -->
189 <groupId>org.apache.commons</groupId>
190 <artifactId>commons-jci-core</artifactId>
191 <version>${commons-jci-core.version}</version>
192 <scope>compile</scope>
195 <groupId>commons-io</groupId>
196 <artifactId>commons-io</artifactId>
202 <groupId>commons-cli</groupId>
203 <artifactId>commons-cli</artifactId>
204 <version>1.4</version>
208 <groupId>org.eclipse.jetty</groupId>
209 <artifactId>jetty-servlet</artifactId>
210 <version>${jetty.version}</version>
211 <scope>compile</scope>
214 <groupId>org.eclipse.jetty</groupId>
215 <artifactId>jetty-security</artifactId>
221 <groupId>org.glassfish.jersey.core</groupId>
222 <artifactId>jersey-server</artifactId>
223 <version>${jersey-bom.version}</version>
224 <scope>compile</scope>
228 <groupId>org.glassfish.jersey.containers</groupId>
229 <artifactId>jersey-container-servlet-core</artifactId>
230 <version>${jersey-bom.version}</version>
231 <scope>compile</scope>
235 <groupId>org.glassfish.jersey.containers</groupId>
236 <artifactId>jersey-container-jetty-http</artifactId>
237 <version>${jersey-bom.version}</version>
238 <scope>compile</scope>
241 <groupId>org.eclipse.jetty</groupId>
242 <artifactId>jetty-continuation</artifactId>
248 <groupId>org.glassfish.jersey.media</groupId>
249 <artifactId>jersey-media-moxy</artifactId>
250 <version>${jersey-bom.version}</version>
251 <scope>compile</scope>
255 <groupId>org.glassfish.jersey.media</groupId>
256 <artifactId>jersey-media-multipart</artifactId>
257 <version>${jersey-bom.version}</version>
258 <scope>compile</scope>
261 <!-- slf4j + logback -->
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-api</artifactId>
265 <version>${slf4j-api.version}</version>
266 <scope>compile</scope>
270 <groupId>ch.qos.logback</groupId>
271 <artifactId>logback-classic</artifactId>
272 <version>${logback.version}</version>
273 <scope>compile</scope>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-core</artifactId>
279 <version>${logback.version}</version>
280 <scope>compile</scope>
285 <groupId>org.codehaus.groovy</groupId>
286 <artifactId>groovy</artifactId>
287 <scope>compile</scope>
291 <groupId>org.apache.commons</groupId>
292 <artifactId>commons-configuration2</artifactId>
293 <version>${commons-configuration}</version>
297 <groupId>org.janusgraph</groupId>
298 <artifactId>janusgraph-core</artifactId>
299 <version>${janusgraph.version}</version>
300 <scope>compile</scope>
303 <groupId>org.apache.tinkerpop</groupId>
304 <artifactId>gremlin-groovy</artifactId>
307 <groupId>org.apache.tinkerpop</groupId>
308 <artifactId>gremlin-core</artifactId>
311 <groupId>org.json</groupId>
312 <artifactId>json</artifactId>
315 <groupId>org.slf4j</groupId>
316 <artifactId>slf4j-log4j12</artifactId>
319 <artifactId>commons-collections</artifactId>
320 <groupId>commons-collections</groupId>
323 <artifactId>groovy</artifactId>
324 <groupId>org.codehaus.groovy</groupId>
327 <groupId>org.apache.thrift</groupId>
328 <artifactId>libthrift</artifactId>
331 <groupId>commons-io</groupId>
332 <artifactId>commons-io</artifactId>
335 <groupId>commons-codec</groupId>
336 <artifactId>commons-codec</artifactId>
339 <groupId>dom4j</groupId>
340 <artifactId>dom4j</artifactId>
343 <groupId>org.slf4j</groupId>
344 <artifactId>jcl-over-slf4j</artifactId>
350 <groupId>org.dom4j</groupId>
351 <artifactId>dom4j</artifactId>
352 <version>${org.dom4j.version}</version>
356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 <version>${json-simple.version}</version>
359 <scope>compile</scope>
363 <groupId>org.janusgraph</groupId>
364 <artifactId>janusgraph-cassandra</artifactId>
365 <version>${janusgraph.version}</version>
366 <scope>compile</scope>
369 <groupId>org.slf4j</groupId>
370 <artifactId>slf4j-log4j12</artifactId>
373 <groupId>org.apache.thrift</groupId>
374 <artifactId>libthrift</artifactId>
377 <groupId>org.codehaus.jackson</groupId>
378 <artifactId>jackson-mapper-asl</artifactId>
381 <groupId>org.hibernate</groupId>
382 <artifactId>hibernate-validator</artifactId>
385 <groupId>org.apache.cassandra</groupId>
386 <artifactId>cassandra-all</artifactId>
392 <groupId>commons-logging</groupId>
393 <artifactId>commons-logging</artifactId>
394 <version>${commons-logging}</version>
395 <scope>compile</scope>
399 <groupId>commons-codec</groupId>
400 <artifactId>commons-codec</artifactId>
401 <version>${commons-codec}</version>
402 <scope>compile</scope>
406 <groupId>com.fasterxml.jackson.core</groupId>
407 <artifactId>jackson-databind</artifactId>
408 <version>${jackson.version}</version>
411 <groupId>com.fasterxml.jackson.core</groupId>
412 <artifactId>jackson-core</artifactId>
417 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
419 <groupId>com.fasterxml.jackson.core</groupId>
420 <artifactId>jackson-annotations</artifactId>
421 <version>${jackson-annotations.version}</version>
425 <groupId>com.google.code.gson</groupId>
426 <artifactId>gson</artifactId>
427 <version>${gson.version}</version>
428 <scope>compile</scope>
432 <groupId>org.apache.httpcomponents</groupId>
433 <artifactId>httpclient</artifactId>
434 <version>${httpclient.version}</version>
435 <scope>compile</scope>
438 <groupId>org.apache.httpcomponents</groupId>
439 <artifactId>httpcore</artifactId>
445 <groupId>org.apache.httpcomponents</groupId>
446 <artifactId>httpcore</artifactId>
447 <version>${httpcore.version}</version>
448 <scope>compile</scope>
451 <!-- Spring 4 dependencies -->
453 <groupId>org.springframework</groupId>
454 <artifactId>spring-core</artifactId>
455 <version>${spring.version}</version>
456 <scope>compile</scope>
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-context</artifactId>
462 <version>${spring.version}</version>
463 <scope>compile</scope>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-expression</artifactId>
470 <groupId>org.springframework</groupId>
471 <artifactId>spring-core</artifactId>
477 <groupId>org.springframework</groupId>
478 <artifactId>spring-expression</artifactId>
479 <version>${spring.version}</version>
480 <scope>compile</scope>
484 <groupId>org.springframework</groupId>
485 <artifactId>spring-beans</artifactId>
486 <version>${spring.version}</version>
487 <scope>compile</scope>
491 <groupId>org.springframework</groupId>
492 <artifactId>spring-aop</artifactId>
493 <version>${spring.version}</version>
494 <scope>compile</scope>
497 <groupId>org.springframework</groupId>
498 <artifactId>spring-core</artifactId>
503 <!-- Spring 4 dependencies end -->
504 <!-- JavaConfig need this library -->
506 <groupId>cglib</groupId>
507 <artifactId>cglib</artifactId>
508 <version>3.2.4</version>
509 <scope>compile</scope>
513 <groupId>org.yaml</groupId>
514 <artifactId>snakeyaml</artifactId>
515 <version>${snakeyaml.version}</version>
516 <scope>compile</scope>
520 <groupId>org.functionaljava</groupId>
521 <artifactId>functionaljava</artifactId>
522 <version>${functionaljava.version}</version>
523 <scope>compile</scope>
527 <groupId>com.fasterxml.jackson.dataformat</groupId>
528 <artifactId>jackson-dataformat-yaml</artifactId>
529 <version>${jackson.version}</version>
532 <groupId>com.fasterxml.jackson.core</groupId>
533 <artifactId>jackson-core</artifactId>
540 <groupId>com.datastax.cassandra</groupId>
541 <artifactId>cassandra-driver-core</artifactId>
542 <version>${cassandra.driver.version}</version>
543 <scope>compile</scope>
546 <groupId>com.github.jnr</groupId>
547 <artifactId>jnr-posix</artifactId>
553 <groupId>com.datastax.cassandra</groupId>
554 <artifactId>cassandra-driver-mapping</artifactId>
555 <version>${cassandra.driver.version}</version>
556 <scope>compile</scope>
559 <!-- CASSANDRA END -->
563 <groupId>com.opencsv</groupId>
564 <artifactId>opencsv</artifactId>
565 <version>4.0</version>
566 <scope>compile</scope>
570 <groupId>org.apache.poi</groupId>
571 <artifactId>poi</artifactId>
572 <version>${apache-poi.version}</version>
575 <!-- Temporary, till building the populate task which adding all components
576 to cache. We will use Serialization Utils. -->
578 <groupId>de.ruedigermoeller</groupId>
579 <artifactId>fst</artifactId>
580 <version>2.47</version>
583 <groupId>com.fasterxml.jackson.core</groupId>
584 <artifactId>jackson-core</artifactId>
591 <groupId>org.hamcrest</groupId>
592 <artifactId>hamcrest-all</artifactId>
593 <version>${hamcrest-all.version}</version>
598 <groupId>org.junit.jupiter</groupId>
599 <artifactId>junit-jupiter</artifactId>
600 <version>${junitJupiter.version}</version>
605 <groupId>org.mockito</groupId>
606 <artifactId>mockito-junit-jupiter</artifactId>
607 <version>${mockitoJupiter.version}</version>
612 <groupId>org.assertj</groupId>
613 <artifactId>assertj-core</artifactId>
618 <groupId>com.google.code.bean-matchers</groupId>
619 <artifactId>bean-matchers</artifactId>
620 <version>${bean-matchers.version}</version>
626 <groupId>io.netty</groupId>
627 <artifactId>netty-all</artifactId>
631 <groupId>io.netty</groupId>
632 <artifactId>netty-handler</artifactId>
637 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
640 <groupId>org.apache.maven.plugins</groupId>
641 <artifactId>maven-deploy-plugin</artifactId>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-assembly-plugin</artifactId>
653 <finalName>sdctool</finalName>
654 <appendAssemblyId>false</appendAssemblyId>
656 <descriptor>${project.basedir}/tarball.xml</descriptor>
659 <id>assemble-file</id>
660 <phase>verify</phase>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-shade-plugin</artifactId>
672 <phase>package</phase>
679 <artifact>org.openecomp.sdc:*</artifact>
681 <exclude>**/elasticsearch.yml</exclude>
685 <artifact>*:*</artifact>
687 <exclude>META-INF/*.SF</exclude>
688 <exclude>META-INF/*.DSA</exclude>
689 <exclude>META-INF/*.RSA</exclude>
695 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
702 <groupId>ru.yaal.maven</groupId>
703 <artifactId>write-text-files-maven-plugin</artifactId>
705 <charset>UTF-8</charset>
709 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
713 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
721 <id>write-text-files</id>
722 <phase>prepare-package</phase>
724 <goal>write-text-files</goal>
730 <groupId>org.apache.maven.plugins</groupId>
731 <artifactId>maven-resources-plugin</artifactId>
734 <id>copy-tosca-folder</id>
735 <!-- here the phase you need -->
736 <phase>compile</phase>
738 <goal>copy-resources</goal>
741 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
744 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
753 <groupId>com.github.sylvainlaurent.maven</groupId>
754 <artifactId>yaml-json-validator-maven-plugin</artifactId>
758 <phase>validate</phase>
760 <goal>validate</goal>
766 <include>src/main/resources/**/*.y*ml</include>
767 <include>src/test/resources/**/*.y*ml</include>
772 <include>src/main/resources/**/*.json</include>
773 <include>src/test/resources/**/*.json</include>
776 <exclude>src/test/resources/graphError.json</exclude>
780 <skip>${skipYamlJsonValidator}</skip>
791 <activeByDefault>false</activeByDefault>
796 <groupId>org.apache.maven.plugins</groupId>
797 <artifactId>maven-clean-plugin</artifactId>
800 <id>clean.sdctool.tar</id>
801 <phase>initialize</phase>
808 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
810 <include>sdctool.tar</include>
819 <groupId>org.apache.maven.plugins</groupId>
820 <artifactId>maven-resources-plugin</artifactId>
823 <id>copy-sdctool</id>
824 <phase>verify</phase>
826 <goal>copy-resources</goal>
830 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
832 <overwrite>true</overwrite>
835 <directory>${project.parent.basedir}/asdctool/target</directory>
837 <include>sdctool.tar</include>
846 <groupId>io.fabric8</groupId>
847 <artifactId>docker-maven-plugin</artifactId>
849 <verbose>${verbose}</verbose>
850 <apiVersion>${docker.api.version}</apiVersion>
851 <registry>${docker.registry}</registry>
854 <username>${docker.username}</username>
855 <password>${docker.password}</password>
859 <!-- Build cassandra-init image -->
861 <name>${docker.namespace}/sdc-cassandra-init</name>
862 <alias>sdc-cassandra-init</alias>
864 <cleanup>try</cleanup>
865 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
869 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
872 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
881 <id>clean-images</id>
882 <phase>pre-clean</phase>
887 <removeAll>true</removeAll>
888 <image>${docker.namespace}/sdc-cassandra-init</image>
893 <id>generate-images</id>
894 <phase>install</phase>
902 <phase>deploy</phase>
907 <image>${docker.namespace}/sdc-cassandra-init</image>