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.6-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-server</artifactId>
218 <groupId>org.eclipse.jetty</groupId>
219 <artifactId>jetty-security</artifactId>
225 <groupId>org.glassfish.jersey.core</groupId>
226 <artifactId>jersey-server</artifactId>
227 <version>${jersey-bom.version}</version>
228 <scope>compile</scope>
232 <groupId>org.glassfish.jersey.containers</groupId>
233 <artifactId>jersey-container-servlet-core</artifactId>
234 <version>${jersey-bom.version}</version>
235 <scope>compile</scope>
239 <groupId>org.glassfish.jersey.containers</groupId>
240 <artifactId>jersey-container-jetty-http</artifactId>
241 <version>${jersey-bom.version}</version>
242 <scope>compile</scope>
245 <groupId>org.eclipse.jetty</groupId>
246 <artifactId>jetty-continuation</artifactId>
252 <groupId>org.glassfish.jersey.media</groupId>
253 <artifactId>jersey-media-moxy</artifactId>
254 <version>${jersey-bom.version}</version>
255 <scope>compile</scope>
259 <groupId>org.glassfish.jersey.media</groupId>
260 <artifactId>jersey-media-multipart</artifactId>
261 <version>${jersey-bom.version}</version>
262 <scope>compile</scope>
265 <!-- slf4j + logback -->
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>${slf4j-api.version}</version>
270 <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 <artifactId>gremlin-groovy</artifactId>
308 <groupId>org.apache.tinkerpop</groupId>
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>
547 <groupId>com.datastax.cassandra</groupId>
548 <artifactId>cassandra-driver-mapping</artifactId>
549 <version>${cassandra.driver.version}</version>
550 <scope>compile</scope>
553 <!-- CASSANDRA END -->
557 <groupId>com.opencsv</groupId>
558 <artifactId>opencsv</artifactId>
559 <version>4.0</version>
560 <scope>compile</scope>
564 <groupId>org.apache.poi</groupId>
565 <artifactId>poi</artifactId>
566 <version>${apache-poi.version}</version>
569 <!-- Temporary, till building the populate task which adding all components
570 to cache. We will use Serialization Utils. -->
572 <groupId>de.ruedigermoeller</groupId>
573 <artifactId>fst</artifactId>
574 <version>2.47</version>
577 <groupId>com.fasterxml.jackson.core</groupId>
578 <artifactId>jackson-core</artifactId>
585 <groupId>org.hamcrest</groupId>
586 <artifactId>hamcrest-all</artifactId>
587 <version>${hamcrest-all.version}</version>
592 <groupId>org.junit.jupiter</groupId>
593 <artifactId>junit-jupiter</artifactId>
594 <version>${junitJupiter.version}</version>
599 <groupId>org.mockito</groupId>
600 <artifactId>mockito-junit-jupiter</artifactId>
601 <version>${mockitoJupiter.version}</version>
606 <groupId>org.assertj</groupId>
607 <artifactId>assertj-core</artifactId>
612 <groupId>com.google.code.bean-matchers</groupId>
613 <artifactId>bean-matchers</artifactId>
614 <version>${bean-matchers.version}</version>
620 <groupId>io.netty</groupId>
621 <artifactId>netty-all</artifactId>
625 <groupId>io.netty</groupId>
626 <artifactId>netty-handler</artifactId>
631 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-deploy-plugin</artifactId>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-assembly-plugin</artifactId>
647 <finalName>sdctool</finalName>
648 <appendAssemblyId>false</appendAssemblyId>
650 <descriptor>${project.basedir}/tarball.xml</descriptor>
653 <id>assemble-file</id>
654 <phase>verify</phase>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-shade-plugin</artifactId>
666 <phase>package</phase>
673 <artifact>org.openecomp.sdc:*</artifact>
675 <exclude>**/elasticsearch.yml</exclude>
679 <artifact>*:*</artifact>
681 <exclude>META-INF/*.SF</exclude>
682 <exclude>META-INF/*.DSA</exclude>
683 <exclude>META-INF/*.RSA</exclude>
689 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
696 <groupId>ru.yaal.maven</groupId>
697 <artifactId>write-text-files-maven-plugin</artifactId>
699 <charset>UTF-8</charset>
703 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
707 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
715 <id>write-text-files</id>
716 <phase>prepare-package</phase>
718 <goal>write-text-files</goal>
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-resources-plugin</artifactId>
728 <id>copy-tosca-folder</id>
729 <!-- here the phase you need -->
730 <phase>compile</phase>
732 <goal>copy-resources</goal>
735 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
738 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
747 <groupId>com.github.sylvainlaurent.maven</groupId>
748 <artifactId>yaml-json-validator-maven-plugin</artifactId>
752 <phase>validate</phase>
754 <goal>validate</goal>
760 <include>src/main/resources/**/*.y*ml</include>
761 <include>src/test/resources/**/*.y*ml</include>
766 <include>src/main/resources/**/*.json</include>
767 <include>src/test/resources/**/*.json</include>
770 <exclude>src/test/resources/graphError.json</exclude>
774 <skip>${skipYamlJsonValidator}</skip>
785 <activeByDefault>false</activeByDefault>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-clean-plugin</artifactId>
794 <id>clean.sdctool.tar</id>
795 <phase>initialize</phase>
802 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
804 <include>sdctool.tar</include>
813 <groupId>org.apache.maven.plugins</groupId>
814 <artifactId>maven-resources-plugin</artifactId>
817 <id>copy-sdctool</id>
818 <phase>verify</phase>
820 <goal>copy-resources</goal>
824 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
826 <overwrite>true</overwrite>
829 <directory>${project.parent.basedir}/asdctool/target</directory>
831 <include>sdctool.tar</include>
840 <groupId>io.fabric8</groupId>
841 <artifactId>docker-maven-plugin</artifactId>
843 <verbose>${verbose}</verbose>
844 <apiVersion>${docker.api.version}</apiVersion>
845 <registry>${docker.registry}</registry>
848 <username>${docker.username}</username>
849 <password>${docker.password}</password>
853 <!-- Build cassandra-init image -->
855 <name>${docker.namespace}/sdc-cassandra-init</name>
856 <alias>sdc-cassandra-init</alias>
858 <cleanup>try</cleanup>
859 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
863 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
866 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
875 <id>clean-images</id>
876 <phase>pre-clean</phase>
881 <removeAll>true</removeAll>
882 <image>${docker.namespace}/sdc-cassandra-init</image>
887 <id>generate-images</id>
888 <phase>install</phase>
896 <phase>deploy</phase>
901 <image>${docker.namespace}/sdc-cassandra-init</image>