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.0-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>
173 <!-- ASDC dependencies end -->
175 <groupId>org.eclipse.jetty</groupId>
176 <artifactId>jetty-server</artifactId>
177 <version>${jetty.version}</version>
178 <scope>compile</scope>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-http</artifactId>
185 <groupId>javax.servlet</groupId>
186 <artifactId>javax.servlet-api</artifactId>
192 <groupId>org.eclipse.jetty</groupId>
193 <artifactId>jetty-util</artifactId>
194 <version>${jetty.version}</version>
195 <scope>compile</scope>
198 <!-- listen to file changes -->
200 <groupId>org.apache.commons</groupId>
201 <artifactId>commons-jci-core</artifactId>
202 <version>${commons-jci-core.version}</version>
203 <scope>compile</scope>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
213 <groupId>commons-cli</groupId>
214 <artifactId>commons-cli</artifactId>
215 <version>1.4</version>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-servlet</artifactId>
221 <version>${jetty.version}</version>
222 <scope>compile</scope>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-security</artifactId>
232 <groupId>org.glassfish.jersey.core</groupId>
233 <artifactId>jersey-server</artifactId>
234 <version>${jersey-bom.version}</version>
235 <scope>compile</scope>
239 <groupId>org.glassfish.jersey.containers</groupId>
240 <artifactId>jersey-container-servlet-core</artifactId>
241 <version>${jersey-bom.version}</version>
242 <scope>compile</scope>
246 <groupId>org.glassfish.jersey.containers</groupId>
247 <artifactId>jersey-container-jetty-http</artifactId>
248 <version>${jersey-bom.version}</version>
249 <scope>compile</scope>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-continuation</artifactId>
259 <groupId>org.glassfish.jersey.media</groupId>
260 <artifactId>jersey-media-moxy</artifactId>
261 <version>${jersey-bom.version}</version>
262 <scope>compile</scope>
266 <groupId>org.glassfish.jersey.media</groupId>
267 <artifactId>jersey-media-multipart</artifactId>
268 <version>${jersey-bom.version}</version>
269 <scope>compile</scope>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>${logback.version}</version>
277 <scope>compile</scope>
281 <groupId>ch.qos.logback</groupId>
282 <artifactId>logback-core</artifactId>
283 <version>${logback.version}</version>
284 <scope>compile</scope>
289 <groupId>org.codehaus.groovy</groupId>
290 <artifactId>groovy</artifactId>
291 <scope>compile</scope>
295 <groupId>org.apache.commons</groupId>
296 <artifactId>commons-configuration2</artifactId>
297 <version>${commons-configuration}</version>
301 <groupId>org.janusgraph</groupId>
302 <artifactId>janusgraph-core</artifactId>
303 <version>${janusgraph.version}</version>
304 <scope>compile</scope>
307 <groupId>org.apache.tinkerpop</groupId>
308 <artifactId>gremlin-groovy</artifactId>
311 <groupId>org.apache.tinkerpop</groupId>
312 <artifactId>gremlin-core</artifactId>
315 <groupId>org.json</groupId>
316 <artifactId>json</artifactId>
319 <groupId>org.slf4j</groupId>
320 <artifactId>slf4j-log4j12</artifactId>
323 <artifactId>commons-collections</artifactId>
324 <groupId>commons-collections</groupId>
327 <artifactId>groovy</artifactId>
328 <groupId>org.codehaus.groovy</groupId>
331 <groupId>org.apache.thrift</groupId>
332 <artifactId>libthrift</artifactId>
335 <groupId>commons-io</groupId>
336 <artifactId>commons-io</artifactId>
339 <groupId>commons-codec</groupId>
340 <artifactId>commons-codec</artifactId>
343 <groupId>dom4j</groupId>
344 <artifactId>dom4j</artifactId>
347 <groupId>org.slf4j</groupId>
348 <artifactId>jcl-over-slf4j</artifactId>
354 <groupId>org.dom4j</groupId>
355 <artifactId>dom4j</artifactId>
356 <version>${org.dom4j.version}</version>
360 <groupId>com.googlecode.json-simple</groupId>
361 <artifactId>json-simple</artifactId>
362 <version>${json-simple.version}</version>
363 <scope>compile</scope>
367 <groupId>org.janusgraph</groupId>
368 <artifactId>janusgraph-cassandra</artifactId>
369 <version>${janusgraph.version}</version>
370 <scope>compile</scope>
373 <groupId>joda-time</groupId>
374 <artifactId>joda-time</artifactId>
377 <groupId>org.slf4j</groupId>
378 <artifactId>slf4j-log4j12</artifactId>
381 <groupId>org.apache.thrift</groupId>
382 <artifactId>libthrift</artifactId>
385 <groupId>org.codehaus.jackson</groupId>
386 <artifactId>jackson-mapper-asl</artifactId>
389 <groupId>org.hibernate</groupId>
390 <artifactId>hibernate-validator</artifactId>
393 <groupId>org.apache.cassandra</groupId>
394 <artifactId>cassandra-all</artifactId>
400 <groupId>commons-logging</groupId>
401 <artifactId>commons-logging</artifactId>
402 <version>${commons-logging}</version>
403 <scope>compile</scope>
407 <groupId>commons-codec</groupId>
408 <artifactId>commons-codec</artifactId>
409 <version>${commons-codec}</version>
410 <scope>compile</scope>
414 <groupId>com.fasterxml.jackson.core</groupId>
415 <artifactId>jackson-databind</artifactId>
416 <version>${jackson.version}</version>
419 <groupId>com.fasterxml.jackson.core</groupId>
420 <artifactId>jackson-core</artifactId>
425 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
427 <groupId>com.fasterxml.jackson.core</groupId>
428 <artifactId>jackson-annotations</artifactId>
429 <version>${jackson-annotations.version}</version>
433 <groupId>com.google.code.gson</groupId>
434 <artifactId>gson</artifactId>
435 <version>${gson.version}</version>
436 <scope>compile</scope>
440 <groupId>org.apache.httpcomponents</groupId>
441 <artifactId>httpclient</artifactId>
442 <version>${httpclient.version}</version>
443 <scope>compile</scope>
446 <groupId>org.apache.httpcomponents</groupId>
447 <artifactId>httpcore</artifactId>
453 <groupId>org.apache.httpcomponents</groupId>
454 <artifactId>httpcore</artifactId>
455 <version>${httpcore.version}</version>
456 <scope>compile</scope>
459 <!-- Spring 4 dependencies -->
461 <groupId>org.springframework</groupId>
462 <artifactId>spring-core</artifactId>
463 <version>${spring.version}</version>
464 <scope>compile</scope>
468 <groupId>org.springframework</groupId>
469 <artifactId>spring-context</artifactId>
470 <version>${spring.version}</version>
471 <scope>compile</scope>
474 <groupId>org.springframework</groupId>
475 <artifactId>spring-expression</artifactId>
478 <groupId>org.springframework</groupId>
479 <artifactId>spring-core</artifactId>
485 <groupId>org.springframework</groupId>
486 <artifactId>spring-expression</artifactId>
487 <version>${spring.version}</version>
488 <scope>compile</scope>
492 <groupId>org.springframework</groupId>
493 <artifactId>spring-beans</artifactId>
494 <version>${spring.version}</version>
495 <scope>compile</scope>
499 <groupId>org.springframework</groupId>
500 <artifactId>spring-aop</artifactId>
501 <version>${spring.version}</version>
502 <scope>compile</scope>
505 <groupId>org.springframework</groupId>
506 <artifactId>spring-core</artifactId>
511 <!-- Spring 4 dependencies end -->
512 <!-- JavaConfig need this library -->
514 <groupId>cglib</groupId>
515 <artifactId>cglib</artifactId>
516 <version>3.2.4</version>
517 <scope>compile</scope>
521 <groupId>org.yaml</groupId>
522 <artifactId>snakeyaml</artifactId>
523 <version>${snakeyaml.version}</version>
524 <scope>compile</scope>
528 <groupId>org.functionaljava</groupId>
529 <artifactId>functionaljava</artifactId>
530 <version>${functionaljava.version}</version>
531 <scope>compile</scope>
535 <groupId>com.fasterxml.jackson.dataformat</groupId>
536 <artifactId>jackson-dataformat-yaml</artifactId>
537 <version>${jackson.version}</version>
540 <groupId>com.fasterxml.jackson.core</groupId>
541 <artifactId>jackson-core</artifactId>
548 <groupId>com.datastax.cassandra</groupId>
549 <artifactId>cassandra-driver-core</artifactId>
550 <version>${cassandra.driver.version}</version>
551 <scope>compile</scope>
554 <groupId>com.github.jnr</groupId>
555 <artifactId>jnr-posix</artifactId>
561 <groupId>com.datastax.cassandra</groupId>
562 <artifactId>cassandra-driver-mapping</artifactId>
563 <version>${cassandra.driver.version}</version>
564 <scope>compile</scope>
567 <!-- CASSANDRA END -->
571 <groupId>com.opencsv</groupId>
572 <artifactId>opencsv</artifactId>
573 <version>4.0</version>
574 <scope>compile</scope>
578 <groupId>org.apache.poi</groupId>
579 <artifactId>poi</artifactId>
580 <version>${apache-poi.version}</version>
583 <!-- Temporary, till building the populate task which adding all components
584 to cache. We will use Serialization Utils. -->
586 <groupId>de.ruedigermoeller</groupId>
587 <artifactId>fst</artifactId>
588 <version>2.47</version>
591 <groupId>com.fasterxml.jackson.core</groupId>
592 <artifactId>jackson-core</artifactId>
599 <groupId>org.hamcrest</groupId>
600 <artifactId>hamcrest-all</artifactId>
601 <version>${hamcrest-all.version}</version>
606 <groupId>org.junit.jupiter</groupId>
607 <artifactId>junit-jupiter</artifactId>
608 <version>${junitJupiter.version}</version>
613 <groupId>org.mockito</groupId>
614 <artifactId>mockito-junit-jupiter</artifactId>
615 <version>${mockitoJupiter.version}</version>
620 <groupId>org.assertj</groupId>
621 <artifactId>assertj-core</artifactId>
626 <groupId>com.google.code.bean-matchers</groupId>
627 <artifactId>bean-matchers</artifactId>
628 <version>${bean-matchers.version}</version>
634 <groupId>io.netty</groupId>
635 <artifactId>netty-all</artifactId>
639 <groupId>io.netty</groupId>
640 <artifactId>netty-handler</artifactId>
645 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-deploy-plugin</artifactId>
656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-assembly-plugin</artifactId>
658 <version>${mvn.assembly.version}</version>
662 <finalName>sdctool</finalName>
663 <appendAssemblyId>false</appendAssemblyId>
665 <descriptor>${project.basedir}/tarball.xml</descriptor>
668 <id>assemble-file</id>
669 <phase>verify</phase>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-shade-plugin</artifactId>
681 <phase>package</phase>
688 <artifact>org.openecomp.sdc:*</artifact>
690 <exclude>**/elasticsearch.yml</exclude>
694 <artifact>*:*</artifact>
696 <exclude>META-INF/*.SF</exclude>
697 <exclude>META-INF/*.DSA</exclude>
698 <exclude>META-INF/*.RSA</exclude>
704 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
711 <groupId>ru.yaal.maven</groupId>
712 <artifactId>write-text-files-maven-plugin</artifactId>
714 <charset>UTF-8</charset>
718 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
722 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
730 <id>write-text-files</id>
731 <phase>prepare-package</phase>
733 <goal>write-text-files</goal>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-resources-plugin</artifactId>
743 <id>copy-tosca-folder</id>
744 <!-- here the phase you need -->
745 <phase>compile</phase>
747 <goal>copy-resources</goal>
750 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
753 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
762 <groupId>com.github.sylvainlaurent.maven</groupId>
763 <artifactId>yaml-json-validator-maven-plugin</artifactId>
767 <phase>validate</phase>
769 <goal>validate</goal>
775 <include>src/main/resources/**/*.y*ml</include>
776 <include>src/test/resources/**/*.y*ml</include>
781 <include>src/main/resources/**/*.json</include>
782 <include>src/test/resources/**/*.json</include>
785 <exclude>src/test/resources/graphError.json</exclude>
789 <skip>${skipYamlJsonValidator}</skip>
800 <activeByDefault>false</activeByDefault>
805 <groupId>org.apache.maven.plugins</groupId>
806 <artifactId>maven-clean-plugin</artifactId>
809 <id>clean.sdctool.tar</id>
810 <phase>initialize</phase>
817 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
819 <include>sdctool.tar</include>
828 <groupId>org.apache.maven.plugins</groupId>
829 <artifactId>maven-resources-plugin</artifactId>
832 <id>copy-sdctool</id>
833 <phase>verify</phase>
835 <goal>copy-resources</goal>
839 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
841 <overwrite>true</overwrite>
844 <directory>${project.parent.basedir}/asdctool/target</directory>
846 <include>sdctool.tar</include>
855 <groupId>io.fabric8</groupId>
856 <artifactId>docker-maven-plugin</artifactId>
858 <verbose>${verbose}</verbose>
859 <apiVersion>${docker.api.version}</apiVersion>
860 <registry>${docker.registry}</registry>
863 <username>${docker.username}</username>
864 <password>${docker.password}</password>
868 <!-- Build cassandra-init image -->
870 <name>${docker.namespace}/sdc-cassandra-init</name>
871 <alias>sdc-cassandra-init</alias>
873 <cleanup>try</cleanup>
874 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
878 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
881 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
890 <id>clean-images</id>
891 <phase>pre-clean</phase>
896 <removeAll>true</removeAll>
897 <image>${docker.namespace}/sdc-cassandra-init</image>
902 <id>generate-images</id>
903 <phase>install</phase>
911 <phase>deploy</phase>
916 <image>${docker.namespace}/sdc-cassandra-init</image>