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.openecomp.ecompsdkos</groupId>
86 <artifactId>epsdk-fw</artifactId>
90 <groupId>org.onap.sdc.common</groupId>
91 <artifactId>onap-common-lib</artifactId>
95 <groupId>com.att.nsa</groupId>
96 <artifactId>cambriaClient</artifactId>
99 <groupId>com.att.nsa</groupId>
100 <artifactId>dmaapClient</artifactId>
103 <artifactId>slf4j-log4j12</artifactId>
104 <groupId>org.slf4j</groupId>
109 <scope>compile</scope>
113 <groupId>org.onap.portal.sdk</groupId>
114 <artifactId>epsdk-fw</artifactId>
115 <version>${ecomp.version}</version>
116 <scope>compile</scope>
119 <groupId>com.att.nsa</groupId>
120 <artifactId>cambriaClient</artifactId>
123 <groupId>com.att.nsa</groupId>
124 <artifactId>dmaapClient</artifactId>
127 <artifactId>slf4j-log4j12</artifactId>
128 <groupId>org.slf4j</groupId>
131 <artifactId>log4j</artifactId>
132 <groupId>log4j</groupId>
138 <!-- ASDC dependencies end -->
140 <groupId>org.eclipse.jetty</groupId>
141 <artifactId>jetty-server</artifactId>
142 <version>${jetty.version}</version>
143 <scope>compile</scope>
146 <groupId>org.eclipse.jetty</groupId>
147 <artifactId>jetty-http</artifactId>
153 <groupId>org.eclipse.jetty</groupId>
154 <artifactId>jetty-util</artifactId>
155 <version>${jetty.version}</version>
156 <scope>compile</scope>
159 <!-- listen to file changes -->
161 <groupId>org.apache.commons</groupId>
162 <artifactId>commons-jci-core</artifactId>
163 <version>${commons-jci-core.version}</version>
164 <scope>compile</scope>
167 <groupId>commons-io</groupId>
168 <artifactId>commons-io</artifactId>
174 <groupId>commons-cli</groupId>
175 <artifactId>commons-cli</artifactId>
176 <version>1.4</version>
180 <groupId>org.eclipse.jetty</groupId>
181 <artifactId>jetty-servlet</artifactId>
182 <version>${jetty.version}</version>
183 <scope>compile</scope>
186 <groupId>org.eclipse.jetty</groupId>
187 <artifactId>jetty-server</artifactId>
193 <groupId>org.glassfish.jersey.core</groupId>
194 <artifactId>jersey-server</artifactId>
195 <version>${jersey-bom.version}</version>
196 <scope>compile</scope>
200 <groupId>org.glassfish.jersey.containers</groupId>
201 <artifactId>jersey-container-servlet-core</artifactId>
202 <version>${jersey-bom.version}</version>
203 <scope>compile</scope>
207 <groupId>org.glassfish.jersey.containers</groupId>
208 <artifactId>jersey-container-jetty-http</artifactId>
209 <version>${jersey-bom.version}</version>
210 <scope>compile</scope>
213 <groupId>org.eclipse.jetty</groupId>
214 <artifactId>jetty-continuation</artifactId>
220 <groupId>org.glassfish.jersey.media</groupId>
221 <artifactId>jersey-media-moxy</artifactId>
222 <version>${jersey-bom.version}</version>
223 <scope>compile</scope>
227 <groupId>org.glassfish.jersey.media</groupId>
228 <artifactId>jersey-media-multipart</artifactId>
229 <version>${jersey-bom.version}</version>
230 <scope>compile</scope>
233 <!-- slf4j + logback -->
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-api</artifactId>
237 <version>${slf4j-api.version}</version>
238 <scope>compile</scope>
242 <groupId>ch.qos.logback</groupId>
243 <artifactId>logback-classic</artifactId>
244 <version>${logback.version}</version>
245 <scope>compile</scope>
249 <groupId>ch.qos.logback</groupId>
250 <artifactId>logback-core</artifactId>
251 <version>${logback.version}</version>
252 <scope>compile</scope>
257 <groupId>org.codehaus.groovy</groupId>
258 <artifactId>groovy</artifactId>
259 <scope>compile</scope>
263 <groupId>org.apache.commons</groupId>
264 <artifactId>commons-configuration2</artifactId>
265 <version>${commons-configuration}</version>
269 <groupId>org.janusgraph</groupId>
270 <artifactId>janusgraph-core</artifactId>
271 <version>${janusgraph.version}</version>
272 <scope>compile</scope>
275 <artifactId>gremlin-groovy</artifactId>
276 <groupId>org.apache.tinkerpop</groupId>
279 <groupId>org.json</groupId>
280 <artifactId>json</artifactId>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-log4j12</artifactId>
287 <artifactId>commons-collections</artifactId>
288 <groupId>commons-collections</groupId>
291 <artifactId>groovy</artifactId>
292 <groupId>org.codehaus.groovy</groupId>
295 <groupId>org.apache.thrift</groupId>
296 <artifactId>libthrift</artifactId>
299 <groupId>commons-io</groupId>
300 <artifactId>commons-io</artifactId>
306 <groupId>com.googlecode.json-simple</groupId>
307 <artifactId>json-simple</artifactId>
308 <version>${json-simple.version}</version>
309 <scope>compile</scope>
313 <groupId>org.janusgraph</groupId>
314 <artifactId>janusgraph-cassandra</artifactId>
315 <version>${janusgraph.version}</version>
316 <scope>compile</scope>
319 <groupId>org.slf4j</groupId>
320 <artifactId>slf4j-log4j12</artifactId>
326 <groupId>commons-logging</groupId>
327 <artifactId>commons-logging</artifactId>
328 <version>${commons-logging}</version>
329 <scope>compile</scope>
333 <groupId>commons-codec</groupId>
334 <artifactId>commons-codec</artifactId>
335 <version>${commons-codec}</version>
336 <scope>compile</scope>
340 <groupId>com.fasterxml.jackson.core</groupId>
341 <artifactId>jackson-databind</artifactId>
342 <version>${jackson.version}</version>
345 <groupId>com.fasterxml.jackson.core</groupId>
346 <artifactId>jackson-core</artifactId>
351 <!-- Explicitly specified in order to override older version included by epsdk-fw -->
353 <groupId>com.fasterxml.jackson.core</groupId>
354 <artifactId>jackson-annotations</artifactId>
355 <version>${jackson-annotations.version}</version>
359 <groupId>com.google.code.gson</groupId>
360 <artifactId>gson</artifactId>
361 <version>${gson.version}</version>
362 <scope>compile</scope>
366 <groupId>org.apache.httpcomponents</groupId>
367 <artifactId>httpclient</artifactId>
368 <version>${httpclient.version}</version>
369 <scope>compile</scope>
373 <groupId>org.apache.httpcomponents</groupId>
374 <artifactId>httpcore</artifactId>
375 <version>${httpcore.version}</version>
376 <scope>compile</scope>
379 <!-- Spring 4 dependencies -->
381 <groupId>org.springframework</groupId>
382 <artifactId>spring-core</artifactId>
383 <version>${spring.version}</version>
384 <scope>compile</scope>
388 <groupId>org.springframework</groupId>
389 <artifactId>spring-context</artifactId>
390 <version>${spring.version}</version>
391 <scope>compile</scope>
395 <groupId>org.springframework</groupId>
396 <artifactId>spring-expression</artifactId>
397 <version>${spring.version}</version>
398 <scope>compile</scope>
402 <groupId>org.springframework</groupId>
403 <artifactId>spring-beans</artifactId>
404 <version>${spring.version}</version>
405 <scope>compile</scope>
409 <groupId>org.springframework</groupId>
410 <artifactId>spring-aop</artifactId>
411 <version>${spring.version}</version>
412 <scope>compile</scope>
415 <!-- Spring 4 dependencies end -->
416 <!-- JavaConfig need this library -->
418 <groupId>cglib</groupId>
419 <artifactId>cglib</artifactId>
420 <version>3.2.4</version>
421 <scope>compile</scope>
425 <groupId>org.yaml</groupId>
426 <artifactId>snakeyaml</artifactId>
427 <version>${snakeyaml.version}</version>
428 <scope>compile</scope>
432 <groupId>org.functionaljava</groupId>
433 <artifactId>functionaljava</artifactId>
434 <version>${functionaljava.version}</version>
435 <scope>compile</scope>
439 <groupId>com.fasterxml.jackson.dataformat</groupId>
440 <artifactId>jackson-dataformat-yaml</artifactId>
441 <version>${jackson.version}</version>
444 <groupId>com.fasterxml.jackson.core</groupId>
445 <artifactId>jackson-core</artifactId>
452 <groupId>com.datastax.cassandra</groupId>
453 <artifactId>cassandra-driver-core</artifactId>
454 <version>${cassandra.driver.version}</version>
455 <scope>compile</scope>
459 <groupId>com.datastax.cassandra</groupId>
460 <artifactId>cassandra-driver-mapping</artifactId>
461 <version>${cassandra.driver.version}</version>
462 <scope>compile</scope>
465 <!-- CASSANDRA END -->
469 <groupId>com.opencsv</groupId>
470 <artifactId>opencsv</artifactId>
471 <version>4.0</version>
472 <scope>compile</scope>
476 <groupId>org.apache.poi</groupId>
477 <artifactId>poi</artifactId>
478 <version>${apache-poi.version}</version>
482 <groupId>org.jdom</groupId>
483 <artifactId>jdom</artifactId>
484 <version>2.0.2</version>
485 <scope>compile</scope>
488 <!-- Temporary, till building the populate task which adding all components
489 to cache. We will use Serialization Utils. -->
491 <groupId>de.ruedigermoeller</groupId>
492 <artifactId>fst</artifactId>
493 <version>2.47</version>
496 <groupId>com.fasterxml.jackson.core</groupId>
497 <artifactId>jackson-core</artifactId>
504 <groupId>org.hamcrest</groupId>
505 <artifactId>hamcrest-all</artifactId>
506 <version>${hamcrest-all.version}</version>
511 <groupId>org.junit.jupiter</groupId>
512 <artifactId>junit-jupiter</artifactId>
513 <version>${junitJupiter.version}</version>
518 <groupId>org.mockito</groupId>
519 <artifactId>mockito-junit-jupiter</artifactId>
520 <version>${mockitoJupiter.version}</version>
525 <groupId>org.assertj</groupId>
526 <artifactId>assertj-core</artifactId>
531 <groupId>com.google.code.bean-matchers</groupId>
532 <artifactId>bean-matchers</artifactId>
533 <version>${bean-matchers.version}</version>
539 <groupId>io.netty</groupId>
540 <artifactId>netty-all</artifactId>
544 <groupId>io.netty</groupId>
545 <artifactId>netty-handler</artifactId>
550 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-deploy-plugin</artifactId>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-assembly-plugin</artifactId>
566 <finalName>sdctool</finalName>
567 <appendAssemblyId>false</appendAssemblyId>
569 <descriptor>${project.basedir}/tarball.xml</descriptor>
572 <id>assemble-file</id>
573 <phase>verify</phase>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-shade-plugin</artifactId>
585 <phase>package</phase>
592 <artifact>org.openecomp.sdc:*</artifact>
594 <exclude>**/elasticsearch.yml</exclude>
598 <artifact>*:*</artifact>
600 <exclude>META-INF/*.SF</exclude>
601 <exclude>META-INF/*.DSA</exclude>
602 <exclude>META-INF/*.RSA</exclude>
608 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
615 <groupId>ru.yaal.maven</groupId>
616 <artifactId>write-text-files-maven-plugin</artifactId>
618 <charset>UTF-8</charset>
622 ${project.basedir}\sdc-cassandra-init\chef-repo\cookbooks\cassandra-actions\attributes\version.rb
626 normal['version']="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
634 <id>write-text-files</id>
635 <phase>prepare-package</phase>
637 <goal>write-text-files</goal>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-resources-plugin</artifactId>
647 <id>copy-tosca-folder</id>
648 <!-- here the phase you need -->
649 <phase>compile</phase>
651 <goal>copy-resources</goal>
654 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
657 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
659 <filtering>true</filtering>
667 <groupId>com.github.sylvainlaurent.maven</groupId>
668 <artifactId>yaml-json-validator-maven-plugin</artifactId>
672 <phase>validate</phase>
674 <goal>validate</goal>
680 <include>src/main/resources/**/*.y*ml</include>
681 <include>src/test/resources/**/*.y*ml</include>
686 <include>src/main/resources/**/*.json</include>
687 <include>src/test/resources/**/*.json</include>
690 <exclude>src/test/resources/graphError.json</exclude>
694 <skip>${skipYamlJsonValidator}</skip>
705 <activeByDefault>false</activeByDefault>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-resources-plugin</artifactId>
714 <id>copy-sdctool</id>
715 <phase>verify</phase>
717 <goal>copy-resources</goal>
721 ${basedir}/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/files/default
725 <directory>${project.parent.basedir}/asdctool/target</directory>
727 <include>sdctool.tar</include>
736 <groupId>io.fabric8</groupId>
737 <artifactId>docker-maven-plugin</artifactId>
739 <verbose>${verbose}</verbose>
740 <apiVersion>${docker.api.version}</apiVersion>
741 <registry>nexus3.onap.org:10001</registry>
744 <username>docker</username>
745 <password>docker</password>
749 <!-- Build cassandra-init image -->
751 <name>onap/sdc-cassandra-init</name>
752 <alias>sdc-cassandra-init</alias>
754 <cleanup>try</cleanup>
755 <dockerFileDir>${project.basedir}/sdc-cassandra-init</dockerFileDir>
759 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
761 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
769 <id>clean-images</id>
770 <phase>pre-clean</phase>
775 <removeAll>true</removeAll>
776 <image>onap/sdc-cassandra-init</image>
781 <id>generate-images</id>
782 <phase>install</phase>
790 <phase>deploy</phase>
795 <image>onap/sdc-cassandra-init</image>