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.12.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>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>
163 <groupId>javax.servlet</groupId>
164 <artifactId>javax.servlet-api</artifactId>
169 <!-- ASDC dependencies end -->
171 <groupId>org.eclipse.jetty</groupId>
172 <artifactId>jetty-server</artifactId>
173 <version>${jetty.version}</version>
174 <scope>compile</scope>
177 <groupId>org.eclipse.jetty</groupId>
178 <artifactId>jetty-http</artifactId>
181 <groupId>javax.servlet</groupId>
182 <artifactId>javax.servlet-api</artifactId>
188 <groupId>org.eclipse.jetty</groupId>
189 <artifactId>jetty-util</artifactId>
190 <version>${jetty.version}</version>
191 <scope>compile</scope>
194 <!-- listen to file changes -->
196 <groupId>org.apache.commons</groupId>
197 <artifactId>commons-jci-core</artifactId>
198 <version>${commons-jci-core.version}</version>
199 <scope>compile</scope>
202 <groupId>commons-io</groupId>
203 <artifactId>commons-io</artifactId>
209 <groupId>commons-cli</groupId>
210 <artifactId>commons-cli</artifactId>
211 <version>1.4</version>
215 <groupId>org.eclipse.jetty</groupId>
216 <artifactId>jetty-servlet</artifactId>
217 <version>${jetty.version}</version>
218 <scope>compile</scope>
221 <groupId>org.eclipse.jetty</groupId>
222 <artifactId>jetty-security</artifactId>
228 <groupId>org.glassfish.jersey.core</groupId>
229 <artifactId>jersey-server</artifactId>
230 <version>${jersey-bom.version}</version>
231 <scope>compile</scope>
235 <groupId>org.glassfish.jersey.containers</groupId>
236 <artifactId>jersey-container-servlet-core</artifactId>
237 <version>${jersey-bom.version}</version>
238 <scope>compile</scope>
242 <groupId>org.glassfish.jersey.containers</groupId>
243 <artifactId>jersey-container-jetty-http</artifactId>
244 <version>${jersey-bom.version}</version>
245 <scope>compile</scope>
248 <groupId>org.eclipse.jetty</groupId>
249 <artifactId>jetty-continuation</artifactId>
255 <groupId>org.glassfish.jersey.media</groupId>
256 <artifactId>jersey-media-moxy</artifactId>
257 <version>${jersey-bom.version}</version>
258 <scope>compile</scope>
262 <groupId>org.glassfish.jersey.media</groupId>
263 <artifactId>jersey-media-multipart</artifactId>
264 <version>${jersey-bom.version}</version>
265 <scope>compile</scope>
268 <!-- slf4j + logback -->
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>${slf4j-api.version}</version>
273 <scope>compile</scope>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-classic</artifactId>
279 <version>${logback.version}</version>
280 <scope>compile</scope>
284 <groupId>ch.qos.logback</groupId>
285 <artifactId>logback-core</artifactId>
286 <version>${logback.version}</version>
287 <scope>compile</scope>
292 <groupId>org.codehaus.groovy</groupId>
293 <artifactId>groovy</artifactId>
294 <scope>compile</scope>
298 <groupId>org.apache.commons</groupId>
299 <artifactId>commons-configuration2</artifactId>
300 <version>${commons-configuration}</version>
304 <groupId>org.janusgraph</groupId>
305 <artifactId>janusgraph-core</artifactId>
306 <version>${janusgraph.version}</version>
307 <scope>compile</scope>
310 <groupId>org.apache.tinkerpop</groupId>
311 <artifactId>gremlin-groovy</artifactId>
314 <groupId>org.apache.tinkerpop</groupId>
315 <artifactId>gremlin-core</artifactId>
318 <groupId>org.json</groupId>
319 <artifactId>json</artifactId>
322 <groupId>org.slf4j</groupId>
323 <artifactId>slf4j-log4j12</artifactId>
326 <artifactId>commons-collections</artifactId>
327 <groupId>commons-collections</groupId>
330 <artifactId>groovy</artifactId>
331 <groupId>org.codehaus.groovy</groupId>
334 <groupId>org.apache.thrift</groupId>
335 <artifactId>libthrift</artifactId>
338 <groupId>commons-io</groupId>
339 <artifactId>commons-io</artifactId>
342 <groupId>commons-codec</groupId>
343 <artifactId>commons-codec</artifactId>
346 <groupId>dom4j</groupId>
347 <artifactId>dom4j</artifactId>
350 <groupId>org.slf4j</groupId>
351 <artifactId>jcl-over-slf4j</artifactId>
357 <groupId>org.dom4j</groupId>
358 <artifactId>dom4j</artifactId>
359 <version>${org.dom4j.version}</version>
363 <groupId>com.googlecode.json-simple</groupId>
364 <artifactId>json-simple</artifactId>
365 <version>${json-simple.version}</version>
366 <scope>compile</scope>
370 <groupId>org.janusgraph</groupId>
371 <artifactId>janusgraph-cassandra</artifactId>
372 <version>${janusgraph.version}</version>
373 <scope>compile</scope>
376 <groupId>org.slf4j</groupId>
377 <artifactId>slf4j-log4j12</artifactId>
380 <groupId>org.apache.thrift</groupId>
381 <artifactId>libthrift</artifactId>
384 <groupId>org.codehaus.jackson</groupId>
385 <artifactId>jackson-mapper-asl</artifactId>
388 <groupId>org.hibernate</groupId>
389 <artifactId>hibernate-validator</artifactId>
392 <groupId>org.apache.cassandra</groupId>
393 <artifactId>cassandra-all</artifactId>
399 <groupId>commons-logging</groupId>
400 <artifactId>commons-logging</artifactId>
401 <version>${commons-logging}</version>
402 <scope>compile</scope>
406 <groupId>commons-codec</groupId>
407 <artifactId>commons-codec</artifactId>
408 <version>${commons-codec}</version>
409 <scope>compile</scope>
413 <groupId>com.fasterxml.jackson.core</groupId>
414 <artifactId>jackson-databind</artifactId>
415 <version>${jackson.version}</version>
418 <groupId>com.fasterxml.jackson.core</groupId>
419 <artifactId>jackson-core</artifactId>
424 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
426 <groupId>com.fasterxml.jackson.core</groupId>
427 <artifactId>jackson-annotations</artifactId>
428 <version>${jackson-annotations.version}</version>
432 <groupId>com.google.code.gson</groupId>
433 <artifactId>gson</artifactId>
434 <version>${gson.version}</version>
435 <scope>compile</scope>
439 <groupId>org.apache.httpcomponents</groupId>
440 <artifactId>httpclient</artifactId>
441 <version>${httpclient.version}</version>
442 <scope>compile</scope>
445 <groupId>org.apache.httpcomponents</groupId>
446 <artifactId>httpcore</artifactId>
452 <groupId>org.apache.httpcomponents</groupId>
453 <artifactId>httpcore</artifactId>
454 <version>${httpcore.version}</version>
455 <scope>compile</scope>
458 <!-- Spring 4 dependencies -->
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-core</artifactId>
462 <version>${spring.version}</version>
463 <scope>compile</scope>
467 <groupId>org.springframework</groupId>
468 <artifactId>spring-context</artifactId>
469 <version>${spring.version}</version>
470 <scope>compile</scope>
473 <groupId>org.springframework</groupId>
474 <artifactId>spring-expression</artifactId>
477 <groupId>org.springframework</groupId>
478 <artifactId>spring-core</artifactId>
484 <groupId>org.springframework</groupId>
485 <artifactId>spring-expression</artifactId>
486 <version>${spring.version}</version>
487 <scope>compile</scope>
491 <groupId>org.springframework</groupId>
492 <artifactId>spring-beans</artifactId>
493 <version>${spring.version}</version>
494 <scope>compile</scope>
498 <groupId>org.springframework</groupId>
499 <artifactId>spring-aop</artifactId>
500 <version>${spring.version}</version>
501 <scope>compile</scope>
504 <groupId>org.springframework</groupId>
505 <artifactId>spring-core</artifactId>
510 <!-- Spring 4 dependencies end -->
511 <!-- JavaConfig need this library -->
513 <groupId>cglib</groupId>
514 <artifactId>cglib</artifactId>
515 <version>3.2.4</version>
516 <scope>compile</scope>
520 <groupId>org.yaml</groupId>
521 <artifactId>snakeyaml</artifactId>
522 <version>${snakeyaml.version}</version>
523 <scope>compile</scope>
527 <groupId>org.functionaljava</groupId>
528 <artifactId>functionaljava</artifactId>
529 <version>${functionaljava.version}</version>
530 <scope>compile</scope>
534 <groupId>com.fasterxml.jackson.dataformat</groupId>
535 <artifactId>jackson-dataformat-yaml</artifactId>
536 <version>${jackson.version}</version>
539 <groupId>com.fasterxml.jackson.core</groupId>
540 <artifactId>jackson-core</artifactId>
547 <groupId>com.datastax.cassandra</groupId>
548 <artifactId>cassandra-driver-core</artifactId>
549 <version>${cassandra.driver.version}</version>
550 <scope>compile</scope>
553 <groupId>com.github.jnr</groupId>
554 <artifactId>jnr-posix</artifactId>
560 <groupId>com.datastax.cassandra</groupId>
561 <artifactId>cassandra-driver-mapping</artifactId>
562 <version>${cassandra.driver.version}</version>
563 <scope>compile</scope>
566 <!-- CASSANDRA END -->
570 <groupId>com.opencsv</groupId>
571 <artifactId>opencsv</artifactId>
572 <version>4.0</version>
573 <scope>compile</scope>
577 <groupId>org.apache.poi</groupId>
578 <artifactId>poi</artifactId>
579 <version>${apache-poi.version}</version>
582 <!-- Temporary, till building the populate task which adding all components
583 to cache. We will use Serialization Utils. -->
585 <groupId>de.ruedigermoeller</groupId>
586 <artifactId>fst</artifactId>
587 <version>2.47</version>
590 <groupId>com.fasterxml.jackson.core</groupId>
591 <artifactId>jackson-core</artifactId>
598 <groupId>org.hamcrest</groupId>
599 <artifactId>hamcrest-all</artifactId>
600 <version>${hamcrest-all.version}</version>
605 <groupId>org.junit.jupiter</groupId>
606 <artifactId>junit-jupiter</artifactId>
607 <version>${junitJupiter.version}</version>
612 <groupId>org.mockito</groupId>
613 <artifactId>mockito-junit-jupiter</artifactId>
614 <version>${mockitoJupiter.version}</version>
619 <groupId>org.assertj</groupId>
620 <artifactId>assertj-core</artifactId>
625 <groupId>com.google.code.bean-matchers</groupId>
626 <artifactId>bean-matchers</artifactId>
627 <version>${bean-matchers.version}</version>
633 <groupId>io.netty</groupId>
634 <artifactId>netty-all</artifactId>
638 <groupId>io.netty</groupId>
639 <artifactId>netty-handler</artifactId>
644 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-deploy-plugin</artifactId>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-assembly-plugin</artifactId>
660 <finalName>sdctool</finalName>
661 <appendAssemblyId>false</appendAssemblyId>
663 <descriptor>${project.basedir}/tarball.xml</descriptor>
666 <id>assemble-file</id>
667 <phase>verify</phase>
675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-shade-plugin</artifactId>
679 <phase>package</phase>
686 <artifact>org.openecomp.sdc:*</artifact>
688 <exclude>**/elasticsearch.yml</exclude>
692 <artifact>*:*</artifact>
694 <exclude>META-INF/*.SF</exclude>
695 <exclude>META-INF/*.DSA</exclude>
696 <exclude>META-INF/*.RSA</exclude>
702 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
709 <groupId>ru.yaal.maven</groupId>
710 <artifactId>write-text-files-maven-plugin</artifactId>
712 <charset>UTF-8</charset>
716 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
720 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
728 <id>write-text-files</id>
729 <phase>prepare-package</phase>
731 <goal>write-text-files</goal>
737 <groupId>org.apache.maven.plugins</groupId>
738 <artifactId>maven-resources-plugin</artifactId>
741 <id>copy-tosca-folder</id>
742 <!-- here the phase you need -->
743 <phase>compile</phase>
745 <goal>copy-resources</goal>
748 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
751 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
760 <groupId>com.github.sylvainlaurent.maven</groupId>
761 <artifactId>yaml-json-validator-maven-plugin</artifactId>
765 <phase>validate</phase>
767 <goal>validate</goal>
773 <include>src/main/resources/**/*.y*ml</include>
774 <include>src/test/resources/**/*.y*ml</include>
779 <include>src/main/resources/**/*.json</include>
780 <include>src/test/resources/**/*.json</include>
783 <exclude>src/test/resources/graphError.json</exclude>
787 <skip>${skipYamlJsonValidator}</skip>
798 <activeByDefault>false</activeByDefault>
803 <groupId>org.apache.maven.plugins</groupId>
804 <artifactId>maven-clean-plugin</artifactId>
807 <id>clean.sdctool.tar</id>
808 <phase>initialize</phase>
815 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
817 <include>sdctool.tar</include>
826 <groupId>org.apache.maven.plugins</groupId>
827 <artifactId>maven-resources-plugin</artifactId>
830 <id>copy-sdctool</id>
831 <phase>verify</phase>
833 <goal>copy-resources</goal>
837 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
839 <overwrite>true</overwrite>
842 <directory>${project.parent.basedir}/asdctool/target</directory>
844 <include>sdctool.tar</include>
853 <groupId>io.fabric8</groupId>
854 <artifactId>docker-maven-plugin</artifactId>
856 <verbose>${verbose}</verbose>
857 <apiVersion>${docker.api.version}</apiVersion>
858 <registry>${docker.registry}</registry>
861 <username>${docker.username}</username>
862 <password>${docker.password}</password>
866 <!-- Build cassandra-init image -->
868 <name>${docker.namespace}/sdc-cassandra-init</name>
869 <alias>sdc-cassandra-init</alias>
871 <cleanup>try</cleanup>
872 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
876 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
879 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
888 <id>clean-images</id>
889 <phase>pre-clean</phase>
894 <removeAll>true</removeAll>
895 <image>${docker.namespace}/sdc-cassandra-init</image>
900 <id>generate-images</id>
901 <phase>install</phase>
909 <phase>deploy</phase>
914 <image>${docker.namespace}/sdc-cassandra-init</image>