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.9.3-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>com.fasterxml.jackson.core</groupId>
44 <artifactId>jackson-core</artifactId>
45 <version>${jackson.version}</version>
49 <groupId>org.openecomp.sdc.be</groupId>
50 <artifactId>catalog-dao</artifactId>
51 <version>${project.version}</version>
54 <groupId>com.fasterxml.jackson.core</groupId>
55 <artifactId>jackson-core</artifactId>
61 <groupId>org.openecomp.sdc.be</groupId>
62 <artifactId>catalog-model</artifactId>
63 <version>${project.version}</version>
66 <groupId>com.fasterxml.jackson.core</groupId>
67 <artifactId>jackson-core</artifactId>
74 <groupId>org.openecomp.sdc</groupId>
75 <artifactId>catalog-be</artifactId>
76 <version>${project.version}</version>
78 <!-- Comment Out in order to debug in eclipse -->
79 <classifier>classes</classifier>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-core</artifactId>
87 <groupId>org.eclipse.jetty</groupId>
88 <artifactId>jetty-http</artifactId>
91 <groupId>org.eclipse.jetty</groupId>
92 <artifactId>jetty-servlets</artifactId>
95 <groupId>org.openecomp.ecompsdkos</groupId>
96 <artifactId>epsdk-fw</artifactId>
100 <groupId>org.onap.sdc.common</groupId>
101 <artifactId>onap-common-lib</artifactId>
105 <groupId>com.att.nsa</groupId>
106 <artifactId>cambriaClient</artifactId>
109 <groupId>com.att.nsa</groupId>
110 <artifactId>dmaapClient</artifactId>
113 <artifactId>slf4j-log4j12</artifactId>
114 <groupId>org.slf4j</groupId>
117 <groupId>org.springframework</groupId>
118 <artifactId>spring-web</artifactId>
121 <groupId>org.springframework</groupId>
122 <artifactId>spring-webmvc</artifactId>
127 <scope>compile</scope>
131 <groupId>org.onap.portal.sdk</groupId>
132 <artifactId>epsdk-fw</artifactId>
133 <version>${ecomp.version}</version>
134 <scope>compile</scope>
137 <groupId>com.att.nsa</groupId>
138 <artifactId>cambriaClient</artifactId>
141 <groupId>com.att.nsa</groupId>
142 <artifactId>dmaapClient</artifactId>
145 <artifactId>slf4j-log4j12</artifactId>
146 <groupId>org.slf4j</groupId>
149 <artifactId>log4j</artifactId>
150 <groupId>log4j</groupId>
156 <!-- ASDC dependencies end -->
158 <groupId>org.eclipse.jetty</groupId>
159 <artifactId>jetty-server</artifactId>
160 <version>${jetty.version}</version>
161 <scope>compile</scope>
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-http</artifactId>
171 <groupId>org.eclipse.jetty</groupId>
172 <artifactId>jetty-util</artifactId>
173 <version>${jetty.version}</version>
174 <scope>compile</scope>
177 <!-- listen to file changes -->
179 <groupId>org.apache.commons</groupId>
180 <artifactId>commons-jci-core</artifactId>
181 <version>${commons-jci-core.version}</version>
182 <scope>compile</scope>
185 <groupId>commons-io</groupId>
186 <artifactId>commons-io</artifactId>
192 <groupId>commons-cli</groupId>
193 <artifactId>commons-cli</artifactId>
194 <version>1.4</version>
198 <groupId>org.eclipse.jetty</groupId>
199 <artifactId>jetty-servlet</artifactId>
200 <version>${jetty.version}</version>
201 <scope>compile</scope>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-server</artifactId>
208 <groupId>org.eclipse.jetty</groupId>
209 <artifactId>jetty-security</artifactId>
215 <groupId>org.glassfish.jersey.core</groupId>
216 <artifactId>jersey-server</artifactId>
217 <version>${jersey-bom.version}</version>
218 <scope>compile</scope>
222 <groupId>org.glassfish.jersey.containers</groupId>
223 <artifactId>jersey-container-servlet-core</artifactId>
224 <version>${jersey-bom.version}</version>
225 <scope>compile</scope>
229 <groupId>org.glassfish.jersey.containers</groupId>
230 <artifactId>jersey-container-jetty-http</artifactId>
231 <version>${jersey-bom.version}</version>
232 <scope>compile</scope>
235 <groupId>org.eclipse.jetty</groupId>
236 <artifactId>jetty-continuation</artifactId>
242 <groupId>org.glassfish.jersey.media</groupId>
243 <artifactId>jersey-media-moxy</artifactId>
244 <version>${jersey-bom.version}</version>
245 <scope>compile</scope>
249 <groupId>org.glassfish.jersey.media</groupId>
250 <artifactId>jersey-media-multipart</artifactId>
251 <version>${jersey-bom.version}</version>
252 <scope>compile</scope>
255 <!-- slf4j + logback -->
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
259 <version>${slf4j-api.version}</version>
260 <scope>compile</scope>
264 <groupId>ch.qos.logback</groupId>
265 <artifactId>logback-classic</artifactId>
266 <version>${logback.version}</version>
267 <scope>compile</scope>
271 <groupId>ch.qos.logback</groupId>
272 <artifactId>logback-core</artifactId>
273 <version>${logback.version}</version>
274 <scope>compile</scope>
279 <groupId>org.codehaus.groovy</groupId>
280 <artifactId>groovy</artifactId>
281 <scope>compile</scope>
285 <groupId>org.apache.commons</groupId>
286 <artifactId>commons-configuration2</artifactId>
287 <version>${commons-configuration}</version>
291 <groupId>org.janusgraph</groupId>
292 <artifactId>janusgraph-core</artifactId>
293 <version>${janusgraph.version}</version>
294 <scope>compile</scope>
297 <artifactId>gremlin-groovy</artifactId>
298 <groupId>org.apache.tinkerpop</groupId>
301 <groupId>org.json</groupId>
302 <artifactId>json</artifactId>
305 <groupId>org.slf4j</groupId>
306 <artifactId>slf4j-log4j12</artifactId>
309 <artifactId>commons-collections</artifactId>
310 <groupId>commons-collections</groupId>
313 <artifactId>groovy</artifactId>
314 <groupId>org.codehaus.groovy</groupId>
317 <groupId>org.apache.thrift</groupId>
318 <artifactId>libthrift</artifactId>
321 <groupId>commons-io</groupId>
322 <artifactId>commons-io</artifactId>
325 <groupId>commons-codec</groupId>
326 <artifactId>commons-codec</artifactId>
329 <groupId>dom4j</groupId>
330 <artifactId>dom4j</artifactId>
336 <groupId>org.dom4j</groupId>
337 <artifactId>dom4j</artifactId>
338 <version>${org.dom4j.version}</version>
342 <groupId>com.googlecode.json-simple</groupId>
343 <artifactId>json-simple</artifactId>
344 <version>${json-simple.version}</version>
345 <scope>compile</scope>
349 <groupId>org.janusgraph</groupId>
350 <artifactId>janusgraph-cassandra</artifactId>
351 <version>${janusgraph.version}</version>
352 <scope>compile</scope>
355 <groupId>org.slf4j</groupId>
356 <artifactId>slf4j-log4j12</artifactId>
359 <groupId>org.apache.thrift</groupId>
360 <artifactId>libthrift</artifactId>
363 <groupId>org.codehaus.jackson</groupId>
364 <artifactId>jackson-mapper-asl</artifactId>
367 <groupId>org.hibernate</groupId>
368 <artifactId>hibernate-validator</artifactId>
371 <groupId>org.apache.cassandra</groupId>
372 <artifactId>cassandra-all</artifactId>
378 <groupId>commons-logging</groupId>
379 <artifactId>commons-logging</artifactId>
380 <version>${commons-logging}</version>
381 <scope>compile</scope>
385 <groupId>commons-codec</groupId>
386 <artifactId>commons-codec</artifactId>
387 <version>${commons-codec}</version>
388 <scope>compile</scope>
392 <groupId>com.fasterxml.jackson.core</groupId>
393 <artifactId>jackson-databind</artifactId>
394 <version>${jackson.version}</version>
397 <groupId>com.fasterxml.jackson.core</groupId>
398 <artifactId>jackson-core</artifactId>
403 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
405 <groupId>com.fasterxml.jackson.core</groupId>
406 <artifactId>jackson-annotations</artifactId>
407 <version>${jackson-annotations.version}</version>
411 <groupId>com.google.code.gson</groupId>
412 <artifactId>gson</artifactId>
413 <version>${gson.version}</version>
414 <scope>compile</scope>
418 <groupId>org.apache.httpcomponents</groupId>
419 <artifactId>httpclient</artifactId>
420 <version>${httpclient.version}</version>
421 <scope>compile</scope>
425 <groupId>org.apache.httpcomponents</groupId>
426 <artifactId>httpcore</artifactId>
427 <version>${httpcore.version}</version>
428 <scope>compile</scope>
431 <!-- Spring 4 dependencies -->
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-core</artifactId>
435 <version>${spring.version}</version>
436 <scope>compile</scope>
440 <groupId>org.springframework</groupId>
441 <artifactId>spring-context</artifactId>
442 <version>${spring.version}</version>
443 <scope>compile</scope>
446 <groupId>org.springframework</groupId>
447 <artifactId>spring-expression</artifactId>
450 <groupId>org.springframework</groupId>
451 <artifactId>spring-core</artifactId>
457 <groupId>org.springframework</groupId>
458 <artifactId>spring-expression</artifactId>
459 <version>${spring.version}</version>
460 <scope>compile</scope>
464 <groupId>org.springframework</groupId>
465 <artifactId>spring-beans</artifactId>
466 <version>${spring.version}</version>
467 <scope>compile</scope>
471 <groupId>org.springframework</groupId>
472 <artifactId>spring-aop</artifactId>
473 <version>${spring.version}</version>
474 <scope>compile</scope>
477 <groupId>org.springframework</groupId>
478 <artifactId>spring-core</artifactId>
483 <!-- Spring 4 dependencies end -->
484 <!-- JavaConfig need this library -->
486 <groupId>cglib</groupId>
487 <artifactId>cglib</artifactId>
488 <version>3.2.4</version>
489 <scope>compile</scope>
493 <groupId>org.yaml</groupId>
494 <artifactId>snakeyaml</artifactId>
495 <version>${snakeyaml.version}</version>
496 <scope>compile</scope>
500 <groupId>org.functionaljava</groupId>
501 <artifactId>functionaljava</artifactId>
502 <version>${functionaljava.version}</version>
503 <scope>compile</scope>
507 <groupId>com.fasterxml.jackson.dataformat</groupId>
508 <artifactId>jackson-dataformat-yaml</artifactId>
509 <version>${jackson.version}</version>
512 <groupId>com.fasterxml.jackson.core</groupId>
513 <artifactId>jackson-core</artifactId>
520 <groupId>com.datastax.cassandra</groupId>
521 <artifactId>cassandra-driver-core</artifactId>
522 <version>${cassandra.driver.version}</version>
523 <scope>compile</scope>
527 <groupId>com.datastax.cassandra</groupId>
528 <artifactId>cassandra-driver-mapping</artifactId>
529 <version>${cassandra.driver.version}</version>
530 <scope>compile</scope>
533 <!-- CASSANDRA END -->
537 <groupId>com.opencsv</groupId>
538 <artifactId>opencsv</artifactId>
539 <version>4.0</version>
540 <scope>compile</scope>
544 <groupId>org.apache.poi</groupId>
545 <artifactId>poi</artifactId>
546 <version>${apache-poi.version}</version>
549 <!-- Temporary, till building the populate task which adding all components
550 to cache. We will use Serialization Utils. -->
552 <groupId>de.ruedigermoeller</groupId>
553 <artifactId>fst</artifactId>
554 <version>2.47</version>
557 <groupId>com.fasterxml.jackson.core</groupId>
558 <artifactId>jackson-core</artifactId>
565 <groupId>org.hamcrest</groupId>
566 <artifactId>hamcrest-all</artifactId>
567 <version>${hamcrest-all.version}</version>
572 <groupId>org.junit.jupiter</groupId>
573 <artifactId>junit-jupiter</artifactId>
574 <version>${junitJupiter.version}</version>
579 <groupId>org.mockito</groupId>
580 <artifactId>mockito-junit-jupiter</artifactId>
581 <version>${mockitoJupiter.version}</version>
586 <groupId>org.assertj</groupId>
587 <artifactId>assertj-core</artifactId>
592 <groupId>com.google.code.bean-matchers</groupId>
593 <artifactId>bean-matchers</artifactId>
594 <version>${bean-matchers.version}</version>
600 <groupId>io.netty</groupId>
601 <artifactId>netty-all</artifactId>
605 <groupId>io.netty</groupId>
606 <artifactId>netty-handler</artifactId>
611 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-deploy-plugin</artifactId>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-assembly-plugin</artifactId>
627 <finalName>sdctool</finalName>
628 <appendAssemblyId>false</appendAssemblyId>
630 <descriptor>${project.basedir}/tarball.xml</descriptor>
633 <id>assemble-file</id>
634 <phase>verify</phase>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-shade-plugin</artifactId>
646 <phase>package</phase>
653 <artifact>org.openecomp.sdc:*</artifact>
655 <exclude>**/elasticsearch.yml</exclude>
659 <artifact>*:*</artifact>
661 <exclude>META-INF/*.SF</exclude>
662 <exclude>META-INF/*.DSA</exclude>
663 <exclude>META-INF/*.RSA</exclude>
669 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
676 <groupId>ru.yaal.maven</groupId>
677 <artifactId>write-text-files-maven-plugin</artifactId>
679 <charset>UTF-8</charset>
683 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
687 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
695 <id>write-text-files</id>
696 <phase>prepare-package</phase>
698 <goal>write-text-files</goal>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-resources-plugin</artifactId>
708 <id>copy-tosca-folder</id>
709 <!-- here the phase you need -->
710 <phase>compile</phase>
712 <goal>copy-resources</goal>
715 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
718 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
720 <filtering>true</filtering>
728 <groupId>com.github.sylvainlaurent.maven</groupId>
729 <artifactId>yaml-json-validator-maven-plugin</artifactId>
733 <phase>validate</phase>
735 <goal>validate</goal>
741 <include>src/main/resources/**/*.y*ml</include>
742 <include>src/test/resources/**/*.y*ml</include>
747 <include>src/main/resources/**/*.json</include>
748 <include>src/test/resources/**/*.json</include>
751 <exclude>src/test/resources/graphError.json</exclude>
755 <skip>${skipYamlJsonValidator}</skip>
766 <activeByDefault>false</activeByDefault>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-resources-plugin</artifactId>
775 <id>copy-sdctool</id>
776 <phase>verify</phase>
778 <goal>copy-resources</goal>
782 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
786 <directory>${project.parent.basedir}/asdctool/target</directory>
788 <include>sdctool.tar</include>
797 <groupId>io.fabric8</groupId>
798 <artifactId>docker-maven-plugin</artifactId>
800 <verbose>${verbose}</verbose>
801 <apiVersion>${docker.api.version}</apiVersion>
802 <registry>nexus3.onap.org:10001</registry>
805 <username>docker</username>
806 <password>docker</password>
810 <!-- Build cassandra-init image -->
812 <name>onap/sdc-cassandra-init</name>
813 <alias>sdc-cassandra-init</alias>
815 <cleanup>try</cleanup>
816 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
820 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
823 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
832 <id>clean-images</id>
833 <phase>pre-clean</phase>
838 <removeAll>true</removeAll>
839 <image>onap/sdc-cassandra-init</image>
844 <id>generate-images</id>
845 <phase>install</phase>
853 <phase>deploy</phase>
858 <image>onap/sdc-cassandra-init</image>