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.0-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.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 <scope>compile</scope>
37 <groupId>com.fasterxml.jackson.core</groupId>
38 <artifactId>jackson-core</artifactId>
39 <version>${jackson.version}</version>
43 <groupId>org.openecomp.sdc.be</groupId>
44 <artifactId>catalog-dao</artifactId>
45 <version>${project.version}</version>
48 <groupId>com.fasterxml.jackson.core</groupId>
49 <artifactId>jackson-core</artifactId>
55 <groupId>org.openecomp.sdc.be</groupId>
56 <artifactId>catalog-model</artifactId>
57 <version>${project.version}</version>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-core</artifactId>
68 <groupId>org.openecomp.sdc</groupId>
69 <artifactId>catalog-be</artifactId>
70 <version>${project.version}</version>
72 <!-- Comment Out in order to debug in eclipse -->
73 <classifier>classes</classifier>
77 <groupId>com.fasterxml.jackson.core</groupId>
78 <artifactId>jackson-core</artifactId>
81 <groupId>org.eclipse.jetty</groupId>
82 <artifactId>jetty-http</artifactId>
85 <groupId>org.eclipse.jetty</groupId>
86 <artifactId>jetty-servlets</artifactId>
89 <groupId>org.openecomp.ecompsdkos</groupId>
90 <artifactId>epsdk-fw</artifactId>
94 <groupId>org.onap.sdc.common</groupId>
95 <artifactId>onap-common-lib</artifactId>
99 <groupId>com.att.nsa</groupId>
100 <artifactId>cambriaClient</artifactId>
103 <groupId>com.att.nsa</groupId>
104 <artifactId>dmaapClient</artifactId>
107 <artifactId>slf4j-log4j12</artifactId>
108 <groupId>org.slf4j</groupId>
113 <scope>compile</scope>
117 <groupId>org.onap.portal.sdk</groupId>
118 <artifactId>epsdk-fw</artifactId>
119 <version>${ecomp.version}</version>
120 <scope>compile</scope>
123 <groupId>com.att.nsa</groupId>
124 <artifactId>cambriaClient</artifactId>
127 <groupId>com.att.nsa</groupId>
128 <artifactId>dmaapClient</artifactId>
131 <artifactId>slf4j-log4j12</artifactId>
132 <groupId>org.slf4j</groupId>
135 <artifactId>log4j</artifactId>
136 <groupId>log4j</groupId>
142 <!-- ASDC dependencies end -->
144 <groupId>org.eclipse.jetty</groupId>
145 <artifactId>jetty-server</artifactId>
146 <version>${jetty.version}</version>
147 <scope>compile</scope>
150 <groupId>org.eclipse.jetty</groupId>
151 <artifactId>jetty-http</artifactId>
157 <groupId>org.eclipse.jetty</groupId>
158 <artifactId>jetty-util</artifactId>
159 <version>${jetty.version}</version>
160 <scope>compile</scope>
163 <!-- listen to file changes -->
165 <groupId>org.apache.commons</groupId>
166 <artifactId>commons-jci-core</artifactId>
167 <version>${commons-jci-core.version}</version>
168 <scope>compile</scope>
171 <groupId>commons-io</groupId>
172 <artifactId>commons-io</artifactId>
178 <groupId>commons-cli</groupId>
179 <artifactId>commons-cli</artifactId>
180 <version>1.4</version>
184 <groupId>org.eclipse.jetty</groupId>
185 <artifactId>jetty-servlet</artifactId>
186 <version>${jetty.version}</version>
187 <scope>compile</scope>
190 <groupId>org.eclipse.jetty</groupId>
191 <artifactId>jetty-server</artifactId>
194 <groupId>org.eclipse.jetty</groupId>
195 <artifactId>jetty-security</artifactId>
201 <groupId>org.glassfish.jersey.core</groupId>
202 <artifactId>jersey-server</artifactId>
203 <version>${jersey-bom.version}</version>
204 <scope>compile</scope>
208 <groupId>org.glassfish.jersey.containers</groupId>
209 <artifactId>jersey-container-servlet-core</artifactId>
210 <version>${jersey-bom.version}</version>
211 <scope>compile</scope>
215 <groupId>org.glassfish.jersey.containers</groupId>
216 <artifactId>jersey-container-jetty-http</artifactId>
217 <version>${jersey-bom.version}</version>
218 <scope>compile</scope>
221 <groupId>org.eclipse.jetty</groupId>
222 <artifactId>jetty-continuation</artifactId>
228 <groupId>org.glassfish.jersey.media</groupId>
229 <artifactId>jersey-media-moxy</artifactId>
230 <version>${jersey-bom.version}</version>
231 <scope>compile</scope>
235 <groupId>org.glassfish.jersey.media</groupId>
236 <artifactId>jersey-media-multipart</artifactId>
237 <version>${jersey-bom.version}</version>
238 <scope>compile</scope>
241 <!-- slf4j + logback -->
243 <groupId>org.slf4j</groupId>
244 <artifactId>slf4j-api</artifactId>
245 <version>${slf4j-api.version}</version>
246 <scope>compile</scope>
250 <groupId>ch.qos.logback</groupId>
251 <artifactId>logback-classic</artifactId>
252 <version>${logback.version}</version>
253 <scope>compile</scope>
257 <groupId>ch.qos.logback</groupId>
258 <artifactId>logback-core</artifactId>
259 <version>${logback.version}</version>
260 <scope>compile</scope>
265 <groupId>org.codehaus.groovy</groupId>
266 <artifactId>groovy</artifactId>
267 <scope>compile</scope>
271 <groupId>org.apache.commons</groupId>
272 <artifactId>commons-configuration2</artifactId>
273 <version>${commons-configuration}</version>
277 <groupId>org.janusgraph</groupId>
278 <artifactId>janusgraph-core</artifactId>
279 <version>${janusgraph.version}</version>
280 <scope>compile</scope>
283 <artifactId>gremlin-groovy</artifactId>
284 <groupId>org.apache.tinkerpop</groupId>
287 <groupId>org.json</groupId>
288 <artifactId>json</artifactId>
291 <groupId>org.slf4j</groupId>
292 <artifactId>slf4j-log4j12</artifactId>
295 <artifactId>commons-collections</artifactId>
296 <groupId>commons-collections</groupId>
299 <artifactId>groovy</artifactId>
300 <groupId>org.codehaus.groovy</groupId>
303 <groupId>org.apache.thrift</groupId>
304 <artifactId>libthrift</artifactId>
307 <groupId>commons-io</groupId>
308 <artifactId>commons-io</artifactId>
311 <groupId>commons-codec</groupId>
312 <artifactId>commons-codec</artifactId>
318 <groupId>com.googlecode.json-simple</groupId>
319 <artifactId>json-simple</artifactId>
320 <version>${json-simple.version}</version>
321 <scope>compile</scope>
325 <groupId>org.janusgraph</groupId>
326 <artifactId>janusgraph-cassandra</artifactId>
327 <version>${janusgraph.version}</version>
328 <scope>compile</scope>
331 <groupId>org.slf4j</groupId>
332 <artifactId>slf4j-log4j12</artifactId>
335 <groupId>org.apache.thrift</groupId>
336 <artifactId>libthrift</artifactId>
339 <groupId>org.codehaus.jackson</groupId>
340 <artifactId>jackson-mapper-asl</artifactId>
343 <groupId>org.hibernate</groupId>
344 <artifactId>hibernate-validator</artifactId>
350 <groupId>commons-logging</groupId>
351 <artifactId>commons-logging</artifactId>
352 <version>${commons-logging}</version>
353 <scope>compile</scope>
357 <groupId>commons-codec</groupId>
358 <artifactId>commons-codec</artifactId>
359 <version>${commons-codec}</version>
360 <scope>compile</scope>
364 <groupId>com.fasterxml.jackson.core</groupId>
365 <artifactId>jackson-databind</artifactId>
366 <version>${jackson.version}</version>
369 <groupId>com.fasterxml.jackson.core</groupId>
370 <artifactId>jackson-core</artifactId>
375 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
377 <groupId>com.fasterxml.jackson.core</groupId>
378 <artifactId>jackson-annotations</artifactId>
379 <version>${jackson-annotations.version}</version>
383 <groupId>com.google.code.gson</groupId>
384 <artifactId>gson</artifactId>
385 <version>${gson.version}</version>
386 <scope>compile</scope>
390 <groupId>org.apache.httpcomponents</groupId>
391 <artifactId>httpclient</artifactId>
392 <version>${httpclient.version}</version>
393 <scope>compile</scope>
397 <groupId>org.apache.httpcomponents</groupId>
398 <artifactId>httpcore</artifactId>
399 <version>${httpcore.version}</version>
400 <scope>compile</scope>
403 <!-- Spring 4 dependencies -->
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-core</artifactId>
407 <version>${spring.version}</version>
408 <scope>compile</scope>
412 <groupId>org.springframework</groupId>
413 <artifactId>spring-context</artifactId>
414 <version>${spring.version}</version>
415 <scope>compile</scope>
419 <groupId>org.springframework</groupId>
420 <artifactId>spring-expression</artifactId>
421 <version>${spring.version}</version>
422 <scope>compile</scope>
426 <groupId>org.springframework</groupId>
427 <artifactId>spring-beans</artifactId>
428 <version>${spring.version}</version>
429 <scope>compile</scope>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-aop</artifactId>
435 <version>${spring.version}</version>
436 <scope>compile</scope>
439 <!-- Spring 4 dependencies end -->
440 <!-- JavaConfig need this library -->
442 <groupId>cglib</groupId>
443 <artifactId>cglib</artifactId>
444 <version>3.2.4</version>
445 <scope>compile</scope>
449 <groupId>org.yaml</groupId>
450 <artifactId>snakeyaml</artifactId>
451 <version>${snakeyaml.version}</version>
452 <scope>compile</scope>
456 <groupId>org.functionaljava</groupId>
457 <artifactId>functionaljava</artifactId>
458 <version>${functionaljava.version}</version>
459 <scope>compile</scope>
463 <groupId>com.fasterxml.jackson.dataformat</groupId>
464 <artifactId>jackson-dataformat-yaml</artifactId>
465 <version>${jackson.version}</version>
468 <groupId>com.fasterxml.jackson.core</groupId>
469 <artifactId>jackson-core</artifactId>
476 <groupId>com.datastax.cassandra</groupId>
477 <artifactId>cassandra-driver-core</artifactId>
478 <version>${cassandra.driver.version}</version>
479 <scope>compile</scope>
483 <groupId>com.datastax.cassandra</groupId>
484 <artifactId>cassandra-driver-mapping</artifactId>
485 <version>${cassandra.driver.version}</version>
486 <scope>compile</scope>
489 <!-- CASSANDRA END -->
493 <groupId>com.opencsv</groupId>
494 <artifactId>opencsv</artifactId>
495 <version>4.0</version>
496 <scope>compile</scope>
500 <groupId>org.apache.poi</groupId>
501 <artifactId>poi</artifactId>
502 <version>${apache-poi.version}</version>
505 <!-- Temporary, till building the populate task which adding all components
506 to cache. We will use Serialization Utils. -->
508 <groupId>de.ruedigermoeller</groupId>
509 <artifactId>fst</artifactId>
510 <version>2.47</version>
513 <groupId>com.fasterxml.jackson.core</groupId>
514 <artifactId>jackson-core</artifactId>
521 <groupId>org.hamcrest</groupId>
522 <artifactId>hamcrest-all</artifactId>
523 <version>${hamcrest-all.version}</version>
528 <groupId>org.junit.jupiter</groupId>
529 <artifactId>junit-jupiter</artifactId>
530 <version>${junitJupiter.version}</version>
535 <groupId>org.mockito</groupId>
536 <artifactId>mockito-junit-jupiter</artifactId>
537 <version>${mockitoJupiter.version}</version>
542 <groupId>org.assertj</groupId>
543 <artifactId>assertj-core</artifactId>
548 <groupId>com.google.code.bean-matchers</groupId>
549 <artifactId>bean-matchers</artifactId>
550 <version>${bean-matchers.version}</version>
556 <groupId>io.netty</groupId>
557 <artifactId>netty-all</artifactId>
561 <groupId>io.netty</groupId>
562 <artifactId>netty-handler</artifactId>
567 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-deploy-plugin</artifactId>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-assembly-plugin</artifactId>
583 <finalName>sdctool</finalName>
584 <appendAssemblyId>false</appendAssemblyId>
586 <descriptor>${project.basedir}/tarball.xml</descriptor>
589 <id>assemble-file</id>
590 <phase>verify</phase>
598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-shade-plugin</artifactId>
602 <phase>package</phase>
609 <artifact>org.openecomp.sdc:*</artifact>
611 <exclude>**/elasticsearch.yml</exclude>
615 <artifact>*:*</artifact>
617 <exclude>META-INF/*.SF</exclude>
618 <exclude>META-INF/*.DSA</exclude>
619 <exclude>META-INF/*.RSA</exclude>
625 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
632 <groupId>ru.yaal.maven</groupId>
633 <artifactId>write-text-files-maven-plugin</artifactId>
635 <charset>UTF-8</charset>
639 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
643 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
651 <id>write-text-files</id>
652 <phase>prepare-package</phase>
654 <goal>write-text-files</goal>
660 <groupId>org.apache.maven.plugins</groupId>
661 <artifactId>maven-resources-plugin</artifactId>
664 <id>copy-tosca-folder</id>
665 <!-- here the phase you need -->
666 <phase>compile</phase>
668 <goal>copy-resources</goal>
671 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
674 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
676 <filtering>true</filtering>
684 <groupId>com.github.sylvainlaurent.maven</groupId>
685 <artifactId>yaml-json-validator-maven-plugin</artifactId>
689 <phase>validate</phase>
691 <goal>validate</goal>
697 <include>src/main/resources/**/*.y*ml</include>
698 <include>src/test/resources/**/*.y*ml</include>
703 <include>src/main/resources/**/*.json</include>
704 <include>src/test/resources/**/*.json</include>
707 <exclude>src/test/resources/graphError.json</exclude>
711 <skip>${skipYamlJsonValidator}</skip>
722 <activeByDefault>false</activeByDefault>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-resources-plugin</artifactId>
731 <id>copy-sdctool</id>
732 <phase>verify</phase>
734 <goal>copy-resources</goal>
738 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
742 <directory>${project.parent.basedir}/asdctool/target</directory>
744 <include>sdctool.tar</include>
753 <groupId>io.fabric8</groupId>
754 <artifactId>docker-maven-plugin</artifactId>
756 <verbose>${verbose}</verbose>
757 <apiVersion>${docker.api.version}</apiVersion>
758 <registry>nexus3.onap.org:10001</registry>
761 <username>docker</username>
762 <password>docker</password>
766 <!-- Build cassandra-init image -->
768 <name>onap/sdc-cassandra-init</name>
769 <alias>sdc-cassandra-init</alias>
771 <cleanup>try</cleanup>
772 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
776 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
779 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
788 <id>clean-images</id>
789 <phase>pre-clean</phase>
794 <removeAll>true</removeAll>
795 <image>onap/sdc-cassandra-init</image>
800 <id>generate-images</id>
801 <phase>install</phase>
809 <phase>deploy</phase>
814 <image>onap/sdc-cassandra-init</image>