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>
314 <groupId>com.googlecode.json-simple</groupId>
315 <artifactId>json-simple</artifactId>
316 <version>${json-simple.version}</version>
317 <scope>compile</scope>
321 <groupId>org.janusgraph</groupId>
322 <artifactId>janusgraph-cassandra</artifactId>
323 <version>${janusgraph.version}</version>
324 <scope>compile</scope>
327 <groupId>org.slf4j</groupId>
328 <artifactId>slf4j-log4j12</artifactId>
331 <groupId>org.apache.thrift</groupId>
332 <artifactId>libthrift</artifactId>
335 <groupId>org.codehaus.jackson</groupId>
336 <artifactId>jackson-mapper-asl</artifactId>
342 <groupId>commons-logging</groupId>
343 <artifactId>commons-logging</artifactId>
344 <version>${commons-logging}</version>
345 <scope>compile</scope>
349 <groupId>commons-codec</groupId>
350 <artifactId>commons-codec</artifactId>
351 <version>${commons-codec}</version>
352 <scope>compile</scope>
356 <groupId>com.fasterxml.jackson.core</groupId>
357 <artifactId>jackson-databind</artifactId>
358 <version>${jackson.version}</version>
361 <groupId>com.fasterxml.jackson.core</groupId>
362 <artifactId>jackson-core</artifactId>
367 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
369 <groupId>com.fasterxml.jackson.core</groupId>
370 <artifactId>jackson-annotations</artifactId>
371 <version>${jackson-annotations.version}</version>
375 <groupId>com.google.code.gson</groupId>
376 <artifactId>gson</artifactId>
377 <version>${gson.version}</version>
378 <scope>compile</scope>
382 <groupId>org.apache.httpcomponents</groupId>
383 <artifactId>httpclient</artifactId>
384 <version>${httpclient.version}</version>
385 <scope>compile</scope>
389 <groupId>org.apache.httpcomponents</groupId>
390 <artifactId>httpcore</artifactId>
391 <version>${httpcore.version}</version>
392 <scope>compile</scope>
395 <!-- Spring 4 dependencies -->
397 <groupId>org.springframework</groupId>
398 <artifactId>spring-core</artifactId>
399 <version>${spring.version}</version>
400 <scope>compile</scope>
404 <groupId>org.springframework</groupId>
405 <artifactId>spring-context</artifactId>
406 <version>${spring.version}</version>
407 <scope>compile</scope>
411 <groupId>org.springframework</groupId>
412 <artifactId>spring-expression</artifactId>
413 <version>${spring.version}</version>
414 <scope>compile</scope>
418 <groupId>org.springframework</groupId>
419 <artifactId>spring-beans</artifactId>
420 <version>${spring.version}</version>
421 <scope>compile</scope>
425 <groupId>org.springframework</groupId>
426 <artifactId>spring-aop</artifactId>
427 <version>${spring.version}</version>
428 <scope>compile</scope>
431 <!-- Spring 4 dependencies end -->
432 <!-- JavaConfig need this library -->
434 <groupId>cglib</groupId>
435 <artifactId>cglib</artifactId>
436 <version>3.2.4</version>
437 <scope>compile</scope>
441 <groupId>org.yaml</groupId>
442 <artifactId>snakeyaml</artifactId>
443 <version>${snakeyaml.version}</version>
444 <scope>compile</scope>
448 <groupId>org.functionaljava</groupId>
449 <artifactId>functionaljava</artifactId>
450 <version>${functionaljava.version}</version>
451 <scope>compile</scope>
455 <groupId>com.fasterxml.jackson.dataformat</groupId>
456 <artifactId>jackson-dataformat-yaml</artifactId>
457 <version>${jackson.version}</version>
460 <groupId>com.fasterxml.jackson.core</groupId>
461 <artifactId>jackson-core</artifactId>
468 <groupId>com.datastax.cassandra</groupId>
469 <artifactId>cassandra-driver-core</artifactId>
470 <version>${cassandra.driver.version}</version>
471 <scope>compile</scope>
475 <groupId>com.datastax.cassandra</groupId>
476 <artifactId>cassandra-driver-mapping</artifactId>
477 <version>${cassandra.driver.version}</version>
478 <scope>compile</scope>
481 <!-- CASSANDRA END -->
485 <groupId>com.opencsv</groupId>
486 <artifactId>opencsv</artifactId>
487 <version>4.0</version>
488 <scope>compile</scope>
492 <groupId>org.apache.poi</groupId>
493 <artifactId>poi</artifactId>
494 <version>${apache-poi.version}</version>
498 <groupId>org.jdom</groupId>
499 <artifactId>jdom</artifactId>
500 <version>2.0.2</version>
501 <scope>compile</scope>
504 <!-- Temporary, till building the populate task which adding all components
505 to cache. We will use Serialization Utils. -->
507 <groupId>de.ruedigermoeller</groupId>
508 <artifactId>fst</artifactId>
509 <version>2.47</version>
512 <groupId>com.fasterxml.jackson.core</groupId>
513 <artifactId>jackson-core</artifactId>
520 <groupId>org.hamcrest</groupId>
521 <artifactId>hamcrest-all</artifactId>
522 <version>${hamcrest-all.version}</version>
527 <groupId>org.junit.jupiter</groupId>
528 <artifactId>junit-jupiter</artifactId>
529 <version>${junitJupiter.version}</version>
534 <groupId>org.mockito</groupId>
535 <artifactId>mockito-junit-jupiter</artifactId>
536 <version>${mockitoJupiter.version}</version>
541 <groupId>org.assertj</groupId>
542 <artifactId>assertj-core</artifactId>
547 <groupId>com.google.code.bean-matchers</groupId>
548 <artifactId>bean-matchers</artifactId>
549 <version>${bean-matchers.version}</version>
555 <groupId>io.netty</groupId>
556 <artifactId>netty-all</artifactId>
560 <groupId>io.netty</groupId>
561 <artifactId>netty-handler</artifactId>
566 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-deploy-plugin</artifactId>
577 <groupId>org.apache.maven.plugins</groupId>
578 <artifactId>maven-assembly-plugin</artifactId>
582 <finalName>sdctool</finalName>
583 <appendAssemblyId>false</appendAssemblyId>
585 <descriptor>${project.basedir}/tarball.xml</descriptor>
588 <id>assemble-file</id>
589 <phase>verify</phase>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-shade-plugin</artifactId>
601 <phase>package</phase>
608 <artifact>org.openecomp.sdc:*</artifact>
610 <exclude>**/elasticsearch.yml</exclude>
614 <artifact>*:*</artifact>
616 <exclude>META-INF/*.SF</exclude>
617 <exclude>META-INF/*.DSA</exclude>
618 <exclude>META-INF/*.RSA</exclude>
624 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
631 <groupId>ru.yaal.maven</groupId>
632 <artifactId>write-text-files-maven-plugin</artifactId>
634 <charset>UTF-8</charset>
638 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
642 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
650 <id>write-text-files</id>
651 <phase>prepare-package</phase>
653 <goal>write-text-files</goal>
659 <groupId>org.apache.maven.plugins</groupId>
660 <artifactId>maven-resources-plugin</artifactId>
663 <id>copy-tosca-folder</id>
664 <!-- here the phase you need -->
665 <phase>compile</phase>
667 <goal>copy-resources</goal>
670 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
673 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
675 <filtering>true</filtering>
683 <groupId>com.github.sylvainlaurent.maven</groupId>
684 <artifactId>yaml-json-validator-maven-plugin</artifactId>
688 <phase>validate</phase>
690 <goal>validate</goal>
696 <include>src/main/resources/**/*.y*ml</include>
697 <include>src/test/resources/**/*.y*ml</include>
702 <include>src/main/resources/**/*.json</include>
703 <include>src/test/resources/**/*.json</include>
706 <exclude>src/test/resources/graphError.json</exclude>
710 <skip>${skipYamlJsonValidator}</skip>
721 <activeByDefault>false</activeByDefault>
726 <groupId>org.apache.maven.plugins</groupId>
727 <artifactId>maven-resources-plugin</artifactId>
730 <id>copy-sdctool</id>
731 <phase>verify</phase>
733 <goal>copy-resources</goal>
737 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
741 <directory>${project.parent.basedir}/asdctool/target</directory>
743 <include>sdctool.tar</include>
752 <groupId>io.fabric8</groupId>
753 <artifactId>docker-maven-plugin</artifactId>
755 <verbose>${verbose}</verbose>
756 <apiVersion>${docker.api.version}</apiVersion>
757 <registry>nexus3.onap.org:10001</registry>
760 <username>docker</username>
761 <password>docker</password>
765 <!-- Build cassandra-init image -->
767 <name>onap/sdc-cassandra-init</name>
768 <alias>sdc-cassandra-init</alias>
770 <cleanup>try</cleanup>
771 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
775 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
777 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
785 <id>clean-images</id>
786 <phase>pre-clean</phase>
791 <removeAll>true</removeAll>
792 <image>onap/sdc-cassandra-init</image>
797 <id>generate-images</id>
798 <phase>install</phase>
806 <phase>deploy</phase>
811 <image>onap/sdc-cassandra-init</image>