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>
315 <groupId>dom4j</groupId>
316 <artifactId>dom4j</artifactId>
322 <groupId>org.dom4j</groupId>
323 <artifactId>dom4j</artifactId>
324 <version>${org.dom4j.version}</version>
328 <groupId>com.googlecode.json-simple</groupId>
329 <artifactId>json-simple</artifactId>
330 <version>${json-simple.version}</version>
331 <scope>compile</scope>
335 <groupId>org.janusgraph</groupId>
336 <artifactId>janusgraph-cassandra</artifactId>
337 <version>${janusgraph.version}</version>
338 <scope>compile</scope>
341 <groupId>org.slf4j</groupId>
342 <artifactId>slf4j-log4j12</artifactId>
345 <groupId>org.apache.thrift</groupId>
346 <artifactId>libthrift</artifactId>
349 <groupId>org.codehaus.jackson</groupId>
350 <artifactId>jackson-mapper-asl</artifactId>
353 <groupId>org.hibernate</groupId>
354 <artifactId>hibernate-validator</artifactId>
357 <groupId>org.apache.cassandra</groupId>
358 <artifactId>cassandra-all</artifactId>
364 <groupId>commons-logging</groupId>
365 <artifactId>commons-logging</artifactId>
366 <version>${commons-logging}</version>
367 <scope>compile</scope>
371 <groupId>commons-codec</groupId>
372 <artifactId>commons-codec</artifactId>
373 <version>${commons-codec}</version>
374 <scope>compile</scope>
378 <groupId>com.fasterxml.jackson.core</groupId>
379 <artifactId>jackson-databind</artifactId>
380 <version>${jackson.version}</version>
383 <groupId>com.fasterxml.jackson.core</groupId>
384 <artifactId>jackson-core</artifactId>
389 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
391 <groupId>com.fasterxml.jackson.core</groupId>
392 <artifactId>jackson-annotations</artifactId>
393 <version>${jackson-annotations.version}</version>
397 <groupId>com.google.code.gson</groupId>
398 <artifactId>gson</artifactId>
399 <version>${gson.version}</version>
400 <scope>compile</scope>
404 <groupId>org.apache.httpcomponents</groupId>
405 <artifactId>httpclient</artifactId>
406 <version>${httpclient.version}</version>
407 <scope>compile</scope>
411 <groupId>org.apache.httpcomponents</groupId>
412 <artifactId>httpcore</artifactId>
413 <version>${httpcore.version}</version>
414 <scope>compile</scope>
417 <!-- Spring 4 dependencies -->
419 <groupId>org.springframework</groupId>
420 <artifactId>spring-core</artifactId>
421 <version>${spring.version}</version>
422 <scope>compile</scope>
426 <groupId>org.springframework</groupId>
427 <artifactId>spring-context</artifactId>
428 <version>${spring.version}</version>
429 <scope>compile</scope>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-expression</artifactId>
435 <version>${spring.version}</version>
436 <scope>compile</scope>
440 <groupId>org.springframework</groupId>
441 <artifactId>spring-beans</artifactId>
442 <version>${spring.version}</version>
443 <scope>compile</scope>
447 <groupId>org.springframework</groupId>
448 <artifactId>spring-aop</artifactId>
449 <version>${spring.version}</version>
450 <scope>compile</scope>
453 <!-- Spring 4 dependencies end -->
454 <!-- JavaConfig need this library -->
456 <groupId>cglib</groupId>
457 <artifactId>cglib</artifactId>
458 <version>3.2.4</version>
459 <scope>compile</scope>
463 <groupId>org.yaml</groupId>
464 <artifactId>snakeyaml</artifactId>
465 <version>${snakeyaml.version}</version>
466 <scope>compile</scope>
470 <groupId>org.functionaljava</groupId>
471 <artifactId>functionaljava</artifactId>
472 <version>${functionaljava.version}</version>
473 <scope>compile</scope>
477 <groupId>com.fasterxml.jackson.dataformat</groupId>
478 <artifactId>jackson-dataformat-yaml</artifactId>
479 <version>${jackson.version}</version>
482 <groupId>com.fasterxml.jackson.core</groupId>
483 <artifactId>jackson-core</artifactId>
490 <groupId>com.datastax.cassandra</groupId>
491 <artifactId>cassandra-driver-core</artifactId>
492 <version>${cassandra.driver.version}</version>
493 <scope>compile</scope>
497 <groupId>com.datastax.cassandra</groupId>
498 <artifactId>cassandra-driver-mapping</artifactId>
499 <version>${cassandra.driver.version}</version>
500 <scope>compile</scope>
503 <!-- CASSANDRA END -->
507 <groupId>com.opencsv</groupId>
508 <artifactId>opencsv</artifactId>
509 <version>4.0</version>
510 <scope>compile</scope>
514 <groupId>org.apache.poi</groupId>
515 <artifactId>poi</artifactId>
516 <version>${apache-poi.version}</version>
519 <!-- Temporary, till building the populate task which adding all components
520 to cache. We will use Serialization Utils. -->
522 <groupId>de.ruedigermoeller</groupId>
523 <artifactId>fst</artifactId>
524 <version>2.47</version>
527 <groupId>com.fasterxml.jackson.core</groupId>
528 <artifactId>jackson-core</artifactId>
535 <groupId>org.hamcrest</groupId>
536 <artifactId>hamcrest-all</artifactId>
537 <version>${hamcrest-all.version}</version>
542 <groupId>org.junit.jupiter</groupId>
543 <artifactId>junit-jupiter</artifactId>
544 <version>${junitJupiter.version}</version>
549 <groupId>org.mockito</groupId>
550 <artifactId>mockito-junit-jupiter</artifactId>
551 <version>${mockitoJupiter.version}</version>
556 <groupId>org.assertj</groupId>
557 <artifactId>assertj-core</artifactId>
562 <groupId>com.google.code.bean-matchers</groupId>
563 <artifactId>bean-matchers</artifactId>
564 <version>${bean-matchers.version}</version>
570 <groupId>io.netty</groupId>
571 <artifactId>netty-all</artifactId>
575 <groupId>io.netty</groupId>
576 <artifactId>netty-handler</artifactId>
581 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-deploy-plugin</artifactId>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-assembly-plugin</artifactId>
597 <finalName>sdctool</finalName>
598 <appendAssemblyId>false</appendAssemblyId>
600 <descriptor>${project.basedir}/tarball.xml</descriptor>
603 <id>assemble-file</id>
604 <phase>verify</phase>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-shade-plugin</artifactId>
616 <phase>package</phase>
623 <artifact>org.openecomp.sdc:*</artifact>
625 <exclude>**/elasticsearch.yml</exclude>
629 <artifact>*:*</artifact>
631 <exclude>META-INF/*.SF</exclude>
632 <exclude>META-INF/*.DSA</exclude>
633 <exclude>META-INF/*.RSA</exclude>
639 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
646 <groupId>ru.yaal.maven</groupId>
647 <artifactId>write-text-files-maven-plugin</artifactId>
649 <charset>UTF-8</charset>
653 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
657 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
665 <id>write-text-files</id>
666 <phase>prepare-package</phase>
668 <goal>write-text-files</goal>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-resources-plugin</artifactId>
678 <id>copy-tosca-folder</id>
679 <!-- here the phase you need -->
680 <phase>compile</phase>
682 <goal>copy-resources</goal>
685 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
688 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
690 <filtering>true</filtering>
698 <groupId>com.github.sylvainlaurent.maven</groupId>
699 <artifactId>yaml-json-validator-maven-plugin</artifactId>
703 <phase>validate</phase>
705 <goal>validate</goal>
711 <include>src/main/resources/**/*.y*ml</include>
712 <include>src/test/resources/**/*.y*ml</include>
717 <include>src/main/resources/**/*.json</include>
718 <include>src/test/resources/**/*.json</include>
721 <exclude>src/test/resources/graphError.json</exclude>
725 <skip>${skipYamlJsonValidator}</skip>
736 <activeByDefault>false</activeByDefault>
741 <groupId>org.apache.maven.plugins</groupId>
742 <artifactId>maven-resources-plugin</artifactId>
745 <id>copy-sdctool</id>
746 <phase>verify</phase>
748 <goal>copy-resources</goal>
752 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
756 <directory>${project.parent.basedir}/asdctool/target</directory>
758 <include>sdctool.tar</include>
767 <groupId>io.fabric8</groupId>
768 <artifactId>docker-maven-plugin</artifactId>
770 <verbose>${verbose}</verbose>
771 <apiVersion>${docker.api.version}</apiVersion>
772 <registry>nexus3.onap.org:10001</registry>
775 <username>docker</username>
776 <password>docker</password>
780 <!-- Build cassandra-init image -->
782 <name>onap/sdc-cassandra-init</name>
783 <alias>sdc-cassandra-init</alias>
785 <cleanup>try</cleanup>
786 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
790 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
793 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
802 <id>clean-images</id>
803 <phase>pre-clean</phase>
808 <removeAll>true</removeAll>
809 <image>onap/sdc-cassandra-init</image>
814 <id>generate-images</id>
815 <phase>install</phase>
823 <phase>deploy</phase>
828 <image>onap/sdc-cassandra-init</image>