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.8-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 <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>org.slf4j</groupId>
374 <artifactId>slf4j-log4j12</artifactId>
377 <groupId>org.apache.thrift</groupId>
378 <artifactId>libthrift</artifactId>
381 <groupId>org.codehaus.jackson</groupId>
382 <artifactId>jackson-mapper-asl</artifactId>
385 <groupId>org.hibernate</groupId>
386 <artifactId>hibernate-validator</artifactId>
389 <groupId>org.apache.cassandra</groupId>
390 <artifactId>cassandra-all</artifactId>
396 <groupId>commons-logging</groupId>
397 <artifactId>commons-logging</artifactId>
398 <version>${commons-logging}</version>
399 <scope>compile</scope>
403 <groupId>commons-codec</groupId>
404 <artifactId>commons-codec</artifactId>
405 <version>${commons-codec}</version>
406 <scope>compile</scope>
410 <groupId>com.fasterxml.jackson.core</groupId>
411 <artifactId>jackson-databind</artifactId>
412 <version>${jackson.version}</version>
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-core</artifactId>
421 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
423 <groupId>com.fasterxml.jackson.core</groupId>
424 <artifactId>jackson-annotations</artifactId>
425 <version>${jackson-annotations.version}</version>
429 <groupId>com.google.code.gson</groupId>
430 <artifactId>gson</artifactId>
431 <version>${gson.version}</version>
432 <scope>compile</scope>
436 <groupId>org.apache.httpcomponents</groupId>
437 <artifactId>httpclient</artifactId>
438 <version>${httpclient.version}</version>
439 <scope>compile</scope>
442 <groupId>org.apache.httpcomponents</groupId>
443 <artifactId>httpcore</artifactId>
449 <groupId>org.apache.httpcomponents</groupId>
450 <artifactId>httpcore</artifactId>
451 <version>${httpcore.version}</version>
452 <scope>compile</scope>
455 <!-- Spring 4 dependencies -->
457 <groupId>org.springframework</groupId>
458 <artifactId>spring-core</artifactId>
459 <version>${spring.version}</version>
460 <scope>compile</scope>
464 <groupId>org.springframework</groupId>
465 <artifactId>spring-context</artifactId>
466 <version>${spring.version}</version>
467 <scope>compile</scope>
470 <groupId>org.springframework</groupId>
471 <artifactId>spring-expression</artifactId>
474 <groupId>org.springframework</groupId>
475 <artifactId>spring-core</artifactId>
481 <groupId>org.springframework</groupId>
482 <artifactId>spring-expression</artifactId>
483 <version>${spring.version}</version>
484 <scope>compile</scope>
488 <groupId>org.springframework</groupId>
489 <artifactId>spring-beans</artifactId>
490 <version>${spring.version}</version>
491 <scope>compile</scope>
495 <groupId>org.springframework</groupId>
496 <artifactId>spring-aop</artifactId>
497 <version>${spring.version}</version>
498 <scope>compile</scope>
501 <groupId>org.springframework</groupId>
502 <artifactId>spring-core</artifactId>
507 <!-- Spring 4 dependencies end -->
508 <!-- JavaConfig need this library -->
510 <groupId>cglib</groupId>
511 <artifactId>cglib</artifactId>
512 <version>3.2.4</version>
513 <scope>compile</scope>
517 <groupId>org.yaml</groupId>
518 <artifactId>snakeyaml</artifactId>
519 <version>${snakeyaml.version}</version>
520 <scope>compile</scope>
524 <groupId>org.functionaljava</groupId>
525 <artifactId>functionaljava</artifactId>
526 <version>${functionaljava.version}</version>
527 <scope>compile</scope>
531 <groupId>com.fasterxml.jackson.dataformat</groupId>
532 <artifactId>jackson-dataformat-yaml</artifactId>
533 <version>${jackson.version}</version>
536 <groupId>com.fasterxml.jackson.core</groupId>
537 <artifactId>jackson-core</artifactId>
544 <groupId>com.datastax.cassandra</groupId>
545 <artifactId>cassandra-driver-core</artifactId>
546 <version>${cassandra.driver.version}</version>
547 <scope>compile</scope>
550 <groupId>com.github.jnr</groupId>
551 <artifactId>jnr-posix</artifactId>
557 <groupId>com.datastax.cassandra</groupId>
558 <artifactId>cassandra-driver-mapping</artifactId>
559 <version>${cassandra.driver.version}</version>
560 <scope>compile</scope>
563 <!-- CASSANDRA END -->
567 <groupId>com.opencsv</groupId>
568 <artifactId>opencsv</artifactId>
569 <version>4.0</version>
570 <scope>compile</scope>
574 <groupId>org.apache.poi</groupId>
575 <artifactId>poi</artifactId>
576 <version>${apache-poi.version}</version>
579 <!-- Temporary, till building the populate task which adding all components
580 to cache. We will use Serialization Utils. -->
582 <groupId>de.ruedigermoeller</groupId>
583 <artifactId>fst</artifactId>
584 <version>2.47</version>
587 <groupId>com.fasterxml.jackson.core</groupId>
588 <artifactId>jackson-core</artifactId>
595 <groupId>org.hamcrest</groupId>
596 <artifactId>hamcrest-all</artifactId>
597 <version>${hamcrest-all.version}</version>
602 <groupId>org.junit.jupiter</groupId>
603 <artifactId>junit-jupiter</artifactId>
604 <version>${junitJupiter.version}</version>
609 <groupId>org.mockito</groupId>
610 <artifactId>mockito-junit-jupiter</artifactId>
611 <version>${mockitoJupiter.version}</version>
616 <groupId>org.assertj</groupId>
617 <artifactId>assertj-core</artifactId>
622 <groupId>com.google.code.bean-matchers</groupId>
623 <artifactId>bean-matchers</artifactId>
624 <version>${bean-matchers.version}</version>
630 <groupId>io.netty</groupId>
631 <artifactId>netty-all</artifactId>
635 <groupId>io.netty</groupId>
636 <artifactId>netty-handler</artifactId>
641 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-deploy-plugin</artifactId>
652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-assembly-plugin</artifactId>
657 <finalName>sdctool</finalName>
658 <appendAssemblyId>false</appendAssemblyId>
660 <descriptor>${project.basedir}/tarball.xml</descriptor>
663 <id>assemble-file</id>
664 <phase>verify</phase>
672 <groupId>org.apache.maven.plugins</groupId>
673 <artifactId>maven-shade-plugin</artifactId>
676 <phase>package</phase>
683 <artifact>org.openecomp.sdc:*</artifact>
685 <exclude>**/elasticsearch.yml</exclude>
689 <artifact>*:*</artifact>
691 <exclude>META-INF/*.SF</exclude>
692 <exclude>META-INF/*.DSA</exclude>
693 <exclude>META-INF/*.RSA</exclude>
699 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
706 <groupId>ru.yaal.maven</groupId>
707 <artifactId>write-text-files-maven-plugin</artifactId>
709 <charset>UTF-8</charset>
713 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
717 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
725 <id>write-text-files</id>
726 <phase>prepare-package</phase>
728 <goal>write-text-files</goal>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-resources-plugin</artifactId>
738 <id>copy-tosca-folder</id>
739 <!-- here the phase you need -->
740 <phase>compile</phase>
742 <goal>copy-resources</goal>
745 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
748 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
757 <groupId>com.github.sylvainlaurent.maven</groupId>
758 <artifactId>yaml-json-validator-maven-plugin</artifactId>
762 <phase>validate</phase>
764 <goal>validate</goal>
770 <include>src/main/resources/**/*.y*ml</include>
771 <include>src/test/resources/**/*.y*ml</include>
776 <include>src/main/resources/**/*.json</include>
777 <include>src/test/resources/**/*.json</include>
780 <exclude>src/test/resources/graphError.json</exclude>
784 <skip>${skipYamlJsonValidator}</skip>
795 <activeByDefault>false</activeByDefault>
800 <groupId>org.apache.maven.plugins</groupId>
801 <artifactId>maven-clean-plugin</artifactId>
804 <id>clean.sdctool.tar</id>
805 <phase>initialize</phase>
812 <directory>${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default</directory>
814 <include>sdctool.tar</include>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-resources-plugin</artifactId>
827 <id>copy-sdctool</id>
828 <phase>verify</phase>
830 <goal>copy-resources</goal>
834 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
836 <overwrite>true</overwrite>
839 <directory>${project.parent.basedir}/asdctool/target</directory>
841 <include>sdctool.tar</include>
850 <groupId>io.fabric8</groupId>
851 <artifactId>docker-maven-plugin</artifactId>
853 <verbose>${verbose}</verbose>
854 <apiVersion>${docker.api.version}</apiVersion>
855 <registry>${docker.registry}</registry>
858 <username>${docker.username}</username>
859 <password>${docker.password}</password>
863 <!-- Build cassandra-init image -->
865 <name>${docker.namespace}/sdc-cassandra-init</name>
866 <alias>sdc-cassandra-init</alias>
868 <cleanup>try</cleanup>
869 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
873 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
876 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
885 <id>clean-images</id>
886 <phase>pre-clean</phase>
891 <removeAll>true</removeAll>
892 <image>${docker.namespace}/sdc-cassandra-init</image>
897 <id>generate-images</id>
898 <phase>install</phase>
906 <phase>deploy</phase>
911 <image>${docker.namespace}/sdc-cassandra-init</image>