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.11.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>
49 <groupId>com.fasterxml.jackson.core</groupId>
50 <artifactId>jackson-core</artifactId>
51 <version>${jackson.version}</version>
55 <groupId>org.openecomp.sdc.be</groupId>
56 <artifactId>catalog-dao</artifactId>
57 <version>${project.version}</version>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-core</artifactId>
67 <groupId>org.openecomp.sdc.be</groupId>
68 <artifactId>catalog-model</artifactId>
69 <version>${project.version}</version>
72 <groupId>com.fasterxml.jackson.core</groupId>
73 <artifactId>jackson-core</artifactId>
80 <groupId>org.openecomp.sdc</groupId>
81 <artifactId>catalog-be</artifactId>
82 <version>${project.version}</version>
84 <!-- Comment Out in order to debug in eclipse -->
85 <classifier>classes</classifier>
89 <groupId>com.fasterxml.jackson.core</groupId>
90 <artifactId>jackson-core</artifactId>
93 <groupId>org.eclipse.jetty</groupId>
94 <artifactId>jetty-http</artifactId>
97 <groupId>org.eclipse.jetty</groupId>
98 <artifactId>jetty-servlets</artifactId>
101 <groupId>org.openecomp.ecompsdkos</groupId>
102 <artifactId>epsdk-fw</artifactId>
106 <groupId>org.onap.sdc.common</groupId>
107 <artifactId>onap-common-lib</artifactId>
111 <groupId>com.att.nsa</groupId>
112 <artifactId>cambriaClient</artifactId>
115 <groupId>com.att.nsa</groupId>
116 <artifactId>dmaapClient</artifactId>
119 <artifactId>slf4j-log4j12</artifactId>
120 <groupId>org.slf4j</groupId>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-web</artifactId>
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-webmvc</artifactId>
133 <scope>compile</scope>
137 <groupId>org.onap.portal.sdk</groupId>
138 <artifactId>epsdk-fw</artifactId>
139 <version>${ecomp.version}</version>
140 <scope>compile</scope>
143 <groupId>com.att.nsa</groupId>
144 <artifactId>cambriaClient</artifactId>
147 <groupId>com.att.nsa</groupId>
148 <artifactId>dmaapClient</artifactId>
151 <artifactId>slf4j-log4j12</artifactId>
152 <groupId>org.slf4j</groupId>
155 <artifactId>log4j</artifactId>
156 <groupId>log4j</groupId>
162 <!-- ASDC dependencies end -->
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-server</artifactId>
166 <version>${jetty.version}</version>
167 <scope>compile</scope>
170 <groupId>org.eclipse.jetty</groupId>
171 <artifactId>jetty-http</artifactId>
177 <groupId>org.eclipse.jetty</groupId>
178 <artifactId>jetty-util</artifactId>
179 <version>${jetty.version}</version>
180 <scope>compile</scope>
183 <!-- listen to file changes -->
185 <groupId>org.apache.commons</groupId>
186 <artifactId>commons-jci-core</artifactId>
187 <version>${commons-jci-core.version}</version>
188 <scope>compile</scope>
191 <groupId>commons-io</groupId>
192 <artifactId>commons-io</artifactId>
198 <groupId>commons-cli</groupId>
199 <artifactId>commons-cli</artifactId>
200 <version>1.4</version>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-servlet</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
210 <groupId>org.eclipse.jetty</groupId>
211 <artifactId>jetty-server</artifactId>
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 <artifactId>gremlin-groovy</artifactId>
304 <groupId>org.apache.tinkerpop</groupId>
307 <groupId>org.json</groupId>
308 <artifactId>json</artifactId>
311 <groupId>org.slf4j</groupId>
312 <artifactId>slf4j-log4j12</artifactId>
315 <artifactId>commons-collections</artifactId>
316 <groupId>commons-collections</groupId>
319 <artifactId>groovy</artifactId>
320 <groupId>org.codehaus.groovy</groupId>
323 <groupId>org.apache.thrift</groupId>
324 <artifactId>libthrift</artifactId>
327 <groupId>commons-io</groupId>
328 <artifactId>commons-io</artifactId>
331 <groupId>commons-codec</groupId>
332 <artifactId>commons-codec</artifactId>
335 <groupId>dom4j</groupId>
336 <artifactId>dom4j</artifactId>
339 <groupId>org.slf4j</groupId>
340 <artifactId>jcl-over-slf4j</artifactId>
346 <groupId>org.dom4j</groupId>
347 <artifactId>dom4j</artifactId>
348 <version>${org.dom4j.version}</version>
352 <groupId>com.googlecode.json-simple</groupId>
353 <artifactId>json-simple</artifactId>
354 <version>${json-simple.version}</version>
355 <scope>compile</scope>
359 <groupId>org.janusgraph</groupId>
360 <artifactId>janusgraph-cassandra</artifactId>
361 <version>${janusgraph.version}</version>
362 <scope>compile</scope>
365 <groupId>org.slf4j</groupId>
366 <artifactId>slf4j-log4j12</artifactId>
369 <groupId>org.apache.thrift</groupId>
370 <artifactId>libthrift</artifactId>
373 <groupId>org.codehaus.jackson</groupId>
374 <artifactId>jackson-mapper-asl</artifactId>
377 <groupId>org.hibernate</groupId>
378 <artifactId>hibernate-validator</artifactId>
381 <groupId>org.apache.cassandra</groupId>
382 <artifactId>cassandra-all</artifactId>
388 <groupId>commons-logging</groupId>
389 <artifactId>commons-logging</artifactId>
390 <version>${commons-logging}</version>
391 <scope>compile</scope>
395 <groupId>commons-codec</groupId>
396 <artifactId>commons-codec</artifactId>
397 <version>${commons-codec}</version>
398 <scope>compile</scope>
402 <groupId>com.fasterxml.jackson.core</groupId>
403 <artifactId>jackson-databind</artifactId>
404 <version>${jackson.version}</version>
407 <groupId>com.fasterxml.jackson.core</groupId>
408 <artifactId>jackson-core</artifactId>
413 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-annotations</artifactId>
417 <version>${jackson-annotations.version}</version>
421 <groupId>com.google.code.gson</groupId>
422 <artifactId>gson</artifactId>
423 <version>${gson.version}</version>
424 <scope>compile</scope>
428 <groupId>org.apache.httpcomponents</groupId>
429 <artifactId>httpclient</artifactId>
430 <version>${httpclient.version}</version>
431 <scope>compile</scope>
434 <groupId>org.apache.httpcomponents</groupId>
435 <artifactId>httpcore</artifactId>
441 <groupId>org.apache.httpcomponents</groupId>
442 <artifactId>httpcore</artifactId>
443 <version>${httpcore.version}</version>
444 <scope>compile</scope>
447 <!-- Spring 4 dependencies -->
449 <groupId>org.springframework</groupId>
450 <artifactId>spring-core</artifactId>
451 <version>${spring.version}</version>
452 <scope>compile</scope>
456 <groupId>org.springframework</groupId>
457 <artifactId>spring-context</artifactId>
458 <version>${spring.version}</version>
459 <scope>compile</scope>
462 <groupId>org.springframework</groupId>
463 <artifactId>spring-expression</artifactId>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-core</artifactId>
473 <groupId>org.springframework</groupId>
474 <artifactId>spring-expression</artifactId>
475 <version>${spring.version}</version>
476 <scope>compile</scope>
480 <groupId>org.springframework</groupId>
481 <artifactId>spring-beans</artifactId>
482 <version>${spring.version}</version>
483 <scope>compile</scope>
487 <groupId>org.springframework</groupId>
488 <artifactId>spring-aop</artifactId>
489 <version>${spring.version}</version>
490 <scope>compile</scope>
493 <groupId>org.springframework</groupId>
494 <artifactId>spring-core</artifactId>
499 <!-- Spring 4 dependencies end -->
500 <!-- JavaConfig need this library -->
502 <groupId>cglib</groupId>
503 <artifactId>cglib</artifactId>
504 <version>3.2.4</version>
505 <scope>compile</scope>
509 <groupId>org.yaml</groupId>
510 <artifactId>snakeyaml</artifactId>
511 <version>${snakeyaml.version}</version>
512 <scope>compile</scope>
516 <groupId>org.functionaljava</groupId>
517 <artifactId>functionaljava</artifactId>
518 <version>${functionaljava.version}</version>
519 <scope>compile</scope>
523 <groupId>com.fasterxml.jackson.dataformat</groupId>
524 <artifactId>jackson-dataformat-yaml</artifactId>
525 <version>${jackson.version}</version>
528 <groupId>com.fasterxml.jackson.core</groupId>
529 <artifactId>jackson-core</artifactId>
536 <groupId>com.datastax.cassandra</groupId>
537 <artifactId>cassandra-driver-core</artifactId>
538 <version>${cassandra.driver.version}</version>
539 <scope>compile</scope>
543 <groupId>com.datastax.cassandra</groupId>
544 <artifactId>cassandra-driver-mapping</artifactId>
545 <version>${cassandra.driver.version}</version>
546 <scope>compile</scope>
549 <!-- CASSANDRA END -->
553 <groupId>com.opencsv</groupId>
554 <artifactId>opencsv</artifactId>
555 <version>4.0</version>
556 <scope>compile</scope>
560 <groupId>org.apache.poi</groupId>
561 <artifactId>poi</artifactId>
562 <version>${apache-poi.version}</version>
565 <!-- Temporary, till building the populate task which adding all components
566 to cache. We will use Serialization Utils. -->
568 <groupId>de.ruedigermoeller</groupId>
569 <artifactId>fst</artifactId>
570 <version>2.47</version>
573 <groupId>com.fasterxml.jackson.core</groupId>
574 <artifactId>jackson-core</artifactId>
581 <groupId>org.hamcrest</groupId>
582 <artifactId>hamcrest-all</artifactId>
583 <version>${hamcrest-all.version}</version>
588 <groupId>org.junit.jupiter</groupId>
589 <artifactId>junit-jupiter</artifactId>
590 <version>${junitJupiter.version}</version>
595 <groupId>org.mockito</groupId>
596 <artifactId>mockito-junit-jupiter</artifactId>
597 <version>${mockitoJupiter.version}</version>
602 <groupId>org.assertj</groupId>
603 <artifactId>assertj-core</artifactId>
608 <groupId>com.google.code.bean-matchers</groupId>
609 <artifactId>bean-matchers</artifactId>
610 <version>${bean-matchers.version}</version>
616 <groupId>io.netty</groupId>
617 <artifactId>netty-all</artifactId>
621 <groupId>io.netty</groupId>
622 <artifactId>netty-handler</artifactId>
627 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-deploy-plugin</artifactId>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-assembly-plugin</artifactId>
643 <finalName>sdctool</finalName>
644 <appendAssemblyId>false</appendAssemblyId>
646 <descriptor>${project.basedir}/tarball.xml</descriptor>
649 <id>assemble-file</id>
650 <phase>verify</phase>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-shade-plugin</artifactId>
662 <phase>package</phase>
669 <artifact>org.openecomp.sdc:*</artifact>
671 <exclude>**/elasticsearch.yml</exclude>
675 <artifact>*:*</artifact>
677 <exclude>META-INF/*.SF</exclude>
678 <exclude>META-INF/*.DSA</exclude>
679 <exclude>META-INF/*.RSA</exclude>
685 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
692 <groupId>ru.yaal.maven</groupId>
693 <artifactId>write-text-files-maven-plugin</artifactId>
695 <charset>UTF-8</charset>
699 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
703 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
711 <id>write-text-files</id>
712 <phase>prepare-package</phase>
714 <goal>write-text-files</goal>
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-resources-plugin</artifactId>
724 <id>copy-tosca-folder</id>
725 <!-- here the phase you need -->
726 <phase>compile</phase>
728 <goal>copy-resources</goal>
731 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
734 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
743 <groupId>com.github.sylvainlaurent.maven</groupId>
744 <artifactId>yaml-json-validator-maven-plugin</artifactId>
748 <phase>validate</phase>
750 <goal>validate</goal>
756 <include>src/main/resources/**/*.y*ml</include>
757 <include>src/test/resources/**/*.y*ml</include>
762 <include>src/main/resources/**/*.json</include>
763 <include>src/test/resources/**/*.json</include>
766 <exclude>src/test/resources/graphError.json</exclude>
770 <skip>${skipYamlJsonValidator}</skip>
781 <activeByDefault>false</activeByDefault>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-clean-plugin</artifactId>
790 <id>clean.sdctool.tar</id>
791 <phase>initialize</phase>
798 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
800 <include>sdctool.tar</include>
809 <groupId>org.apache.maven.plugins</groupId>
810 <artifactId>maven-resources-plugin</artifactId>
813 <id>copy-sdctool</id>
814 <phase>verify</phase>
816 <goal>copy-resources</goal>
820 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
822 <overwrite>true</overwrite>
825 <directory>${project.parent.basedir}/asdctool/target</directory>
827 <include>sdctool.tar</include>
836 <groupId>io.fabric8</groupId>
837 <artifactId>docker-maven-plugin</artifactId>
839 <verbose>${verbose}</verbose>
840 <apiVersion>${docker.api.version}</apiVersion>
841 <registry>${docker.registry}</registry>
844 <username>${docker.username}</username>
845 <password>${docker.password}</password>
849 <!-- Build cassandra-init image -->
851 <name>${docker.namespace}/sdc-cassandra-init</name>
852 <alias>sdc-cassandra-init</alias>
854 <cleanup>try</cleanup>
855 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
859 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
862 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
871 <id>clean-images</id>
872 <phase>pre-clean</phase>
877 <removeAll>true</removeAll>
878 <image>${docker.namespace}/sdc-cassandra-init</image>
883 <id>generate-images</id>
884 <phase>install</phase>
892 <phase>deploy</phase>
897 <image>${docker.namespace}/sdc-cassandra-init</image>