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.13.2-SNAPSHOT</version>
16 <apache-poi.version>5.2.3</apache-poi.version>
21 <groupId>com.google.guava</groupId>
22 <artifactId>guava</artifactId>
23 <version>${guava.version}</version>
24 <scope>compile</scope>
27 <!-- ASDC dependencies -->
29 <groupId>org.openecomp.sdc.be</groupId>
30 <artifactId>common-be</artifactId>
31 <version>${project.version}</version>
32 <scope>compile</scope>
35 <groupId>org.springframework</groupId>
36 <artifactId>spring-core</artifactId>
41 <groupId>org.openecomp.sdc</groupId>
42 <artifactId>common-app-api</artifactId>
43 <version>${project.version}</version>
44 <scope>compile</scope>
47 <groupId>org.apache.httpcomponents</groupId>
48 <artifactId>httpcore</artifactId>
51 <groupId>org.functionaljava</groupId>
52 <artifactId>functionaljava</artifactId>
57 <groupId>com.fasterxml.jackson.core</groupId>
58 <artifactId>jackson-core</artifactId>
59 <version>${jackson.version}</version>
63 <groupId>org.openecomp.sdc.be</groupId>
64 <artifactId>catalog-dao</artifactId>
65 <version>${project.version}</version>
68 <groupId>com.fasterxml.jackson.core</groupId>
69 <artifactId>jackson-core</artifactId>
75 <groupId>org.openecomp.sdc.be</groupId>
76 <artifactId>catalog-model</artifactId>
77 <version>${project.version}</version>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-core</artifactId>
88 <groupId>org.openecomp.sdc</groupId>
89 <artifactId>catalog-be</artifactId>
90 <version>${project.version}</version>
92 <!-- Comment Out in order to debug in eclipse -->
93 <classifier>classes</classifier>
97 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-core</artifactId>
101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-http</artifactId>
105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlets</artifactId>
109 <groupId>org.openecomp.ecompsdkos</groupId>
110 <artifactId>epsdk-fw</artifactId>
114 <groupId>org.onap.sdc.common</groupId>
115 <artifactId>onap-common-lib</artifactId>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>cambriaClient</artifactId>
123 <groupId>com.att.nsa</groupId>
124 <artifactId>dmaapClient</artifactId>
127 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>org.slf4j</groupId>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-web</artifactId>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-webmvc</artifactId>
141 <scope>compile</scope>
145 <groupId>org.onap.portal.sdk</groupId>
146 <artifactId>epsdk-fw</artifactId>
147 <version>${ecomp.version}</version>
148 <scope>compile</scope>
151 <groupId>com.att.nsa</groupId>
152 <artifactId>cambriaClient</artifactId>
155 <groupId>com.att.nsa</groupId>
156 <artifactId>dmaapClient</artifactId>
159 <artifactId>slf4j-log4j12</artifactId>
160 <groupId>org.slf4j</groupId>
163 <artifactId>log4j</artifactId>
164 <groupId>log4j</groupId>
167 <groupId>javax.servlet</groupId>
168 <artifactId>javax.servlet-api</artifactId>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-cadi-aaf</artifactId>
175 <groupId>org.onap.aaf.authz</groupId>
176 <artifactId>aaf-cadi-client</artifactId>
179 <groupId>org.onap.aaf.authz</groupId>
180 <artifactId>aaf-cadi-core</artifactId>
185 <!-- ASDC dependencies end -->
187 <groupId>org.eclipse.jetty</groupId>
188 <artifactId>jetty-server</artifactId>
189 <version>${jetty.version}</version>
190 <scope>compile</scope>
193 <groupId>org.eclipse.jetty</groupId>
194 <artifactId>jetty-http</artifactId>
197 <groupId>javax.servlet</groupId>
198 <artifactId>javax.servlet-api</artifactId>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-util</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
211 <groupId>commons-cli</groupId>
212 <artifactId>commons-cli</artifactId>
213 <version>1.4</version>
217 <groupId>org.eclipse.jetty</groupId>
218 <artifactId>jetty-servlet</artifactId>
219 <version>${jetty.version}</version>
220 <scope>compile</scope>
223 <groupId>org.eclipse.jetty</groupId>
224 <artifactId>jetty-security</artifactId>
230 <groupId>org.glassfish.jersey.core</groupId>
231 <artifactId>jersey-server</artifactId>
232 <version>${jersey-bom.version}</version>
233 <scope>compile</scope>
237 <groupId>org.glassfish.jersey.containers</groupId>
238 <artifactId>jersey-container-servlet-core</artifactId>
239 <version>${jersey-bom.version}</version>
240 <scope>compile</scope>
244 <groupId>org.glassfish.jersey.containers</groupId>
245 <artifactId>jersey-container-jetty-http</artifactId>
246 <version>${jersey-bom.version}</version>
247 <scope>compile</scope>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-continuation</artifactId>
257 <groupId>org.glassfish.jersey.media</groupId>
258 <artifactId>jersey-media-moxy</artifactId>
259 <version>${jersey-bom.version}</version>
260 <scope>compile</scope>
264 <groupId>org.glassfish.jersey.media</groupId>
265 <artifactId>jersey-media-multipart</artifactId>
266 <version>${jersey-bom.version}</version>
267 <scope>compile</scope>
272 <groupId>ch.qos.logback</groupId>
273 <artifactId>logback-classic</artifactId>
274 <version>${logback.version}</version>
275 <scope>compile</scope>
279 <groupId>ch.qos.logback</groupId>
280 <artifactId>logback-core</artifactId>
281 <version>${logback.version}</version>
282 <scope>compile</scope>
287 <groupId>org.apache.groovy</groupId>
288 <artifactId>groovy</artifactId>
289 <version>${groovy.version}</version>
293 <groupId>org.apache.commons</groupId>
294 <artifactId>commons-configuration2</artifactId>
295 <version>${commons-configuration}</version>
299 <groupId>org.janusgraph</groupId>
300 <artifactId>janusgraph-core</artifactId>
301 <version>${janusgraph.version}</version>
302 <scope>compile</scope>
305 <groupId>org.apache.tinkerpop</groupId>
306 <artifactId>gremlin-groovy</artifactId>
309 <groupId>org.apache.tinkerpop</groupId>
310 <artifactId>gremlin-core</artifactId>
313 <groupId>org.json</groupId>
314 <artifactId>json</artifactId>
317 <groupId>org.slf4j</groupId>
318 <artifactId>slf4j-log4j12</artifactId>
321 <artifactId>commons-collections</artifactId>
322 <groupId>commons-collections</groupId>
325 <artifactId>groovy</artifactId>
326 <groupId>org.codehaus.groovy</groupId>
329 <groupId>org.apache.thrift</groupId>
330 <artifactId>libthrift</artifactId>
333 <groupId>commons-io</groupId>
334 <artifactId>commons-io</artifactId>
337 <groupId>commons-codec</groupId>
338 <artifactId>commons-codec</artifactId>
341 <groupId>dom4j</groupId>
342 <artifactId>dom4j</artifactId>
345 <groupId>org.slf4j</groupId>
346 <artifactId>jcl-over-slf4j</artifactId>
352 <groupId>org.dom4j</groupId>
353 <artifactId>dom4j</artifactId>
354 <version>${org.dom4j.version}</version>
358 <groupId>com.googlecode.json-simple</groupId>
359 <artifactId>json-simple</artifactId>
360 <version>${json-simple.version}</version>
361 <scope>compile</scope>
364 <groupId>junit</groupId>
365 <artifactId>junit</artifactId>
371 <groupId>org.janusgraph</groupId>
372 <artifactId>janusgraph-cassandra</artifactId>
373 <version>${janusgraph.version}</version>
374 <scope>compile</scope>
377 <groupId>joda-time</groupId>
378 <artifactId>joda-time</artifactId>
381 <groupId>org.slf4j</groupId>
382 <artifactId>slf4j-log4j12</artifactId>
385 <groupId>org.apache.thrift</groupId>
386 <artifactId>libthrift</artifactId>
389 <groupId>org.codehaus.jackson</groupId>
390 <artifactId>jackson-mapper-asl</artifactId>
393 <groupId>org.hibernate</groupId>
394 <artifactId>hibernate-validator</artifactId>
397 <groupId>org.apache.cassandra</groupId>
398 <artifactId>cassandra-all</artifactId>
401 <groupId>javax.validation</groupId>
402 <artifactId>validation-api</artifactId>
408 <groupId>commons-logging</groupId>
409 <artifactId>commons-logging</artifactId>
410 <version>${commons-logging}</version>
411 <scope>compile</scope>
415 <groupId>commons-codec</groupId>
416 <artifactId>commons-codec</artifactId>
417 <version>${commons-codec}</version>
418 <scope>compile</scope>
422 <groupId>com.fasterxml.jackson.core</groupId>
423 <artifactId>jackson-databind</artifactId>
424 <version>${jackson.version}</version>
427 <groupId>com.fasterxml.jackson.core</groupId>
428 <artifactId>jackson-core</artifactId>
433 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
435 <groupId>com.fasterxml.jackson.core</groupId>
436 <artifactId>jackson-annotations</artifactId>
437 <version>${jackson-annotations.version}</version>
441 <groupId>com.google.code.gson</groupId>
442 <artifactId>gson</artifactId>
443 <version>${gson.version}</version>
444 <scope>compile</scope>
448 <groupId>org.apache.httpcomponents.client5</groupId>
449 <artifactId>httpclient5</artifactId>
450 <version>${httpclient.version}</version>
451 <scope>compile</scope>
454 <groupId>org.apache.httpcomponents</groupId>
455 <artifactId>httpcore</artifactId>
461 <groupId>org.apache.httpcomponents</groupId>
462 <artifactId>httpcore</artifactId>
463 <version>${httpcore.version}</version>
464 <scope>compile</scope>
467 <!-- Spring 4 dependencies -->
469 <groupId>org.springframework</groupId>
470 <artifactId>spring-core</artifactId>
471 <version>${spring.version}</version>
472 <scope>compile</scope>
476 <groupId>org.springframework</groupId>
477 <artifactId>spring-context</artifactId>
478 <version>${spring.version}</version>
479 <scope>compile</scope>
482 <groupId>org.springframework</groupId>
483 <artifactId>spring-expression</artifactId>
486 <groupId>org.springframework</groupId>
487 <artifactId>spring-core</artifactId>
493 <groupId>org.springframework</groupId>
494 <artifactId>spring-expression</artifactId>
495 <version>${spring.version}</version>
496 <scope>compile</scope>
500 <groupId>org.springframework</groupId>
501 <artifactId>spring-beans</artifactId>
502 <version>${spring.version}</version>
503 <scope>compile</scope>
507 <groupId>org.springframework</groupId>
508 <artifactId>spring-aop</artifactId>
509 <version>${spring.version}</version>
510 <scope>compile</scope>
513 <groupId>org.springframework</groupId>
514 <artifactId>spring-core</artifactId>
519 <!-- Spring 4 dependencies end -->
520 <!-- JavaConfig need this library -->
522 <groupId>cglib</groupId>
523 <artifactId>cglib</artifactId>
524 <version>3.2.4</version>
525 <scope>compile</scope>
529 <groupId>org.yaml</groupId>
530 <artifactId>snakeyaml</artifactId>
531 <version>${snakeyaml.version}</version>
532 <scope>compile</scope>
536 <groupId>org.functionaljava</groupId>
537 <artifactId>functionaljava</artifactId>
538 <version>${functionaljava.version}</version>
539 <scope>compile</scope>
543 <groupId>com.fasterxml.jackson.dataformat</groupId>
544 <artifactId>jackson-dataformat-yaml</artifactId>
545 <version>${jackson.version}</version>
548 <groupId>com.fasterxml.jackson.core</groupId>
549 <artifactId>jackson-core</artifactId>
556 <groupId>com.datastax.cassandra</groupId>
557 <artifactId>cassandra-driver-core</artifactId>
558 <version>${cassandra.driver.version}</version>
559 <scope>compile</scope>
562 <groupId>com.github.jnr</groupId>
563 <artifactId>jnr-posix</artifactId>
569 <groupId>com.datastax.cassandra</groupId>
570 <artifactId>cassandra-driver-mapping</artifactId>
571 <version>${cassandra.driver.version}</version>
572 <scope>compile</scope>
575 <!-- CASSANDRA END -->
579 <groupId>com.opencsv</groupId>
580 <artifactId>opencsv</artifactId>
581 <version>4.0</version>
582 <scope>compile</scope>
586 <groupId>org.apache.poi</groupId>
587 <artifactId>poi</artifactId>
588 <version>${apache-poi.version}</version>
591 <!-- Temporary, till building the populate task which adding all components
592 to cache. We will use Serialization Utils. -->
594 <groupId>de.ruedigermoeller</groupId>
595 <artifactId>fst</artifactId>
596 <version>2.47</version>
599 <groupId>com.fasterxml.jackson.core</groupId>
600 <artifactId>jackson-core</artifactId>
607 <groupId>org.hamcrest</groupId>
608 <artifactId>hamcrest-all</artifactId>
609 <version>${hamcrest-all.version}</version>
614 <groupId>org.junit.jupiter</groupId>
615 <artifactId>junit-jupiter</artifactId>
616 <version>${junitJupiter.version}</version>
621 <groupId>org.mockito</groupId>
622 <artifactId>mockito-junit-jupiter</artifactId>
623 <version>${mockitoJupiter.version}</version>
628 <groupId>org.assertj</groupId>
629 <artifactId>assertj-core</artifactId>
634 <groupId>com.google.code.bean-matchers</groupId>
635 <artifactId>bean-matchers</artifactId>
636 <version>${bean-matchers.version}</version>
642 <groupId>io.netty</groupId>
643 <artifactId>netty-all</artifactId>
647 <groupId>io.netty</groupId>
648 <artifactId>netty-handler</artifactId>
653 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-deploy-plugin</artifactId>
664 <groupId>org.apache.maven.plugins</groupId>
665 <artifactId>maven-assembly-plugin</artifactId>
666 <version>${mvn.assembly.version}</version>
670 <finalName>sdctool</finalName>
671 <appendAssemblyId>false</appendAssemblyId>
673 <descriptor>${project.basedir}/tarball.xml</descriptor>
676 <id>assemble-file</id>
677 <phase>verify</phase>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-shade-plugin</artifactId>
689 <phase>package</phase>
696 <artifact>org.openecomp.sdc:*</artifact>
698 <exclude>**/elasticsearch.yml</exclude>
702 <artifact>*:*</artifact>
704 <exclude>META-INF/*.SF</exclude>
705 <exclude>META-INF/*.DSA</exclude>
706 <exclude>META-INF/*.RSA</exclude>
712 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
719 <groupId>ru.yaal.maven</groupId>
720 <artifactId>write-text-files-maven-plugin</artifactId>
722 <charset>UTF-8</charset>
726 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
730 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
738 <id>write-text-files</id>
739 <phase>prepare-package</phase>
741 <goal>write-text-files</goal>
747 <groupId>org.apache.maven.plugins</groupId>
748 <artifactId>maven-resources-plugin</artifactId>
751 <id>copy-tosca-folder</id>
752 <!-- here the phase you need -->
753 <phase>compile</phase>
755 <goal>copy-resources</goal>
758 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
761 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
770 <groupId>com.github.sylvainlaurent.maven</groupId>
771 <artifactId>yaml-json-validator-maven-plugin</artifactId>
775 <phase>validate</phase>
777 <goal>validate</goal>
783 <include>src/main/resources/**/*.y*ml</include>
784 <include>src/test/resources/**/*.y*ml</include>
789 <include>src/main/resources/**/*.json</include>
790 <include>src/test/resources/**/*.json</include>
793 <exclude>src/test/resources/graphError.json</exclude>
797 <skip>${skipYamlJsonValidator}</skip>
808 <activeByDefault>false</activeByDefault>
813 <groupId>org.apache.maven.plugins</groupId>
814 <artifactId>maven-clean-plugin</artifactId>
817 <id>clean.sdctool.tar</id>
818 <phase>initialize</phase>
825 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
827 <include>sdctool.tar</include>
836 <groupId>org.apache.maven.plugins</groupId>
837 <artifactId>maven-resources-plugin</artifactId>
840 <id>copy-sdctool</id>
841 <phase>verify</phase>
843 <goal>copy-resources</goal>
847 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
849 <overwrite>true</overwrite>
852 <directory>${project.parent.basedir}/asdctool/target</directory>
854 <include>sdctool.tar</include>
863 <groupId>io.fabric8</groupId>
864 <artifactId>docker-maven-plugin</artifactId>
866 <verbose>${verbose}</verbose>
867 <apiVersion>${docker.api.version}</apiVersion>
868 <registry>${docker.registry}</registry>
871 <username>${docker.username}</username>
872 <password>${docker.password}</password>
876 <!-- Build cassandra-init image -->
878 <name>${docker.namespace}/sdc-cassandra-init</name>
879 <alias>sdc-cassandra-init</alias>
881 <cleanup>try</cleanup>
882 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
886 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
889 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
898 <id>clean-images</id>
899 <phase>pre-clean</phase>
904 <removeAll>true</removeAll>
905 <image>${docker.namespace}/sdc-cassandra-init</image>
910 <id>generate-images</id>
911 <phase>install</phase>
919 <phase>deploy</phase>
924 <image>${docker.namespace}/sdc-cassandra-init</image>