1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>catalog-be</artifactId>
6 <packaging>war</packaging>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
11 <version>1.4.0-SNAPSHOT</version>
18 <!--JSON and YAML Parsing-->
20 <groupId>com.fasterxml.jackson.dataformat</groupId>
21 <artifactId>jackson-dataformat-yaml</artifactId>
22 <version>${jackson.version}</version>
23 <scope>compile</scope>
27 <groupId>com.fasterxml.jackson.core</groupId>
28 <artifactId>jackson-databind</artifactId>
29 <version>${jackson.version}</version>
30 <scope>compile</scope>
34 <groupId>org.openecomp.sdc</groupId>
35 <artifactId>security-utils</artifactId>
36 <version>${project.version}</version>
37 <scope>compile</scope>
40 <groupId>org.onap.sdc.common</groupId>
41 <artifactId>onap-tosca-datatype</artifactId>
42 <version>${project.version}</version>
43 <scope>compile</scope>
46 <!-- Swagger Dependencies Start -->
48 <groupId>io.swagger</groupId>
49 <artifactId>swagger-jersey2-jaxrs</artifactId>
50 <scope>compile</scope>
51 <version>1.5.15</version>
53 <!-- Swagger Dependencies End -->
56 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>common-app-api</artifactId>
58 <version>${project.version}</version>
59 <scope>compile</scope>
63 <groupId>org.openecomp.sdc.be</groupId>
64 <artifactId>common-be</artifactId>
65 <version>${project.version}</version>
66 <scope>compile</scope>
69 <groupId>org.openecomp.sdc.be</groupId>
70 <artifactId>catalog-dao</artifactId>
71 <version>${project.version}</version>
72 <scope>compile</scope>
76 <groupId>org.openecomp.sdc.be</groupId>
77 <artifactId>catalog-model</artifactId>
78 <version>${project.version}</version>
79 <scope>compile</scope>
83 <groupId>ch.qos.logback</groupId>
84 <artifactId>logback-classic</artifactId>
85 <version>${logback.version}</version>
86 <scope>compile</scope>
91 <groupId>org.yaml</groupId>
92 <artifactId>snakeyaml</artifactId>
93 <version>${snakeyaml.version}</version>
94 <scope>compile</scope>
97 <!-- File changes listener -->
99 <groupId>org.apache.commons</groupId>
100 <artifactId>commons-jci-core</artifactId>
101 <version>${commons-jci-core.version}</version>
102 <scope>compile</scope>
107 <groupId>com.google.code.gson</groupId>
108 <artifactId>gson</artifactId>
109 <version>${gson.version}</version>
110 <scope>compile</scope>
115 <groupId>org.glassfish.jersey.media</groupId>
116 <artifactId>jersey-media-json-jackson</artifactId>
117 <version>${jersey-bom.version}</version>
118 <scope>compile</scope>
122 <groupId>org.glassfish.jersey.containers</groupId>
123 <artifactId>jersey-container-servlet-core</artifactId>
124 <version>${jersey-bom.version}</version>
125 <scope>compile</scope>
129 <groupId>org.glassfish.jersey.media</groupId>
130 <artifactId>jersey-media-multipart</artifactId>
131 <version>${jersey-bom.version}</version>
132 <scope>compile</scope>
135 <groupId>org.glassfish.jersey.ext</groupId>
136 <artifactId>jersey-spring4</artifactId>
137 <version>${jersey-bom.version}</version>
140 <groupId>org.springframework</groupId>
141 <artifactId>spring-web</artifactId>
144 <groupId>org.springframework</groupId>
145 <artifactId>spring-beans</artifactId>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-core</artifactId>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-aop</artifactId>
155 <!-- Transitive dependency of spring-bridge -->
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-context</artifactId>
164 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
165 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
167 <groupId>org.glassfish.hk2.external</groupId>
168 <artifactId>asm-all-repackaged</artifactId>
172 <groupId>org.glassfish.jersey.ext</groupId>
173 <artifactId>jersey-bean-validation</artifactId>
178 <groupId>org.apache.httpcomponents</groupId>
179 <artifactId>httpclient</artifactId>
180 <version>${httpclient.version}</version>
181 <scope>compile</scope>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpcore</artifactId>
187 <version>${httpcore.version}</version>
188 <scope>compile</scope>
192 <groupId>commons-logging</groupId>
193 <artifactId>commons-logging</artifactId>
194 <version>${commons-logging}</version>
195 <scope>compile</scope>
199 <groupId>commons-codec</groupId>
200 <artifactId>commons-codec</artifactId>
201 <version>${commons-codec}</version>
202 <scope>compile</scope>
204 <!-- http client END -->
207 <groupId>javax.servlet</groupId>
208 <artifactId>javax.servlet-api</artifactId>
209 <version>${servlet-api.version}</version>
210 <scope>provided</scope>
214 <groupId>org.eclipse.jgit</groupId>
215 <artifactId>org.eclipse.jgit</artifactId>
216 <version>3.4.1.201406201815-r</version>
219 <!-- spring - used by A4C -->
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-core</artifactId>
223 <version>${spring.version}</version>
224 <scope>compile</scope>
228 <groupId>org.springframework</groupId>
229 <artifactId>spring-context</artifactId>
230 <version>${spring.version}</version>
231 <scope>compile</scope>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-web</artifactId>
237 <version>${spring.version}</version>
238 <scope>compile</scope>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-webmvc</artifactId>
244 <version>${spring.version}</version>
245 <scope>compile</scope>
249 <groupId>org.springframework</groupId>
250 <artifactId>spring-aop</artifactId>
251 <version>${spring.version}</version>
252 <scope>compile</scope>
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-beans</artifactId>
258 <version>${spring.version}</version>
259 <scope>compile</scope>
263 <groupId>org.springframework</groupId>
264 <artifactId>spring-expression</artifactId>
265 <version>${spring.version}</version>
266 <scope>compile</scope>
270 <groupId>org.codehaus.groovy</groupId>
271 <artifactId>groovy</artifactId>
272 <scope>compile</scope>
276 <groupId>org.codehaus.janino</groupId>
277 <artifactId>janino</artifactId>
278 <version>${janino.version}</version>
279 <scope>compile</scope>
283 <groupId>org.codehaus.janino</groupId>
284 <artifactId>commons-compiler</artifactId>
285 <version>${janino.version}</version>
286 <scope>compile</scope>
290 <groupId>com.google.guava</groupId>
291 <artifactId>guava</artifactId>
292 <version>${guava.version}</version>
293 <scope>compile</scope>
298 <groupId>com.thinkaurelius.titan</groupId>
299 <artifactId>titan-core</artifactId>
300 <version>${titan.version}</version>
301 <scope>compile</scope>
304 <groupId>org.json</groupId>
305 <artifactId>json</artifactId>
308 <artifactId>slf4j-log4j12</artifactId>
309 <groupId>org.slf4j</groupId>
312 <artifactId>commons-collections</artifactId>
313 <groupId>commons-collections</groupId>
319 <groupId>org.onap.sdc.sdc-titan-cassandra</groupId>
320 <artifactId>sdc-titan-cassandra</artifactId>
321 <version>${sdc.titan.version}</version>
322 <scope>compile</scope>
325 <groupId>org.slf4j</groupId>
326 <artifactId>slf4j-log4j12</artifactId>
329 <groupId>io.netty</groupId>
330 <artifactId>netty-all</artifactId>
336 <groupId>org.apache.commons</groupId>
337 <artifactId>commons-lang3</artifactId>
338 <version>${lang3.version}</version>
339 <scope>compile</scope>
344 <groupId>com.googlecode.json-simple</groupId>
345 <artifactId>json-simple</artifactId>
346 <version>${json-simple.version}</version>
347 <scope>compile</scope>
352 <groupId>org.elasticsearch</groupId>
353 <artifactId>elasticsearch</artifactId>
354 <version>${elastic-search.version}</version>
355 <scope>compile</scope>
358 <!-- functional java -->
360 <groupId>org.functionaljava</groupId>
361 <artifactId>functionaljava</artifactId>
362 <version>${functionaljava.version}</version>
363 <scope>compile</scope>
368 <groupId>com.jcabi</groupId>
369 <artifactId>jcabi-aspects</artifactId>
370 <version>${jcabi.version}</version>
371 <scope>compile</scope>
375 <groupId>org.aspectj</groupId>
376 <artifactId>aspectjrt</artifactId>
377 <version>${aspectjrt.version}</version>
378 <scope>compile</scope>
382 <!-- CAMBRIA CLIENT for U-EB -->
384 <groupId>com.att.nsa</groupId>
385 <artifactId>cambriaClient</artifactId>
386 <version>1.2.1-oss</version>
387 <scope>compile</scope>
390 <groupId>com.att.nsa</groupId>
391 <artifactId>saClientLibrary</artifactId>
397 <groupId>org.json</groupId>
398 <artifactId>json</artifactId>
399 <version>20131018</version>
400 <scope>compile</scope>
403 <groupId>org.apache.tinkerpop</groupId>
404 <artifactId>tinkergraph-gremlin</artifactId>
405 <version>3.0.1-incubating</version>
406 <scope>compile</scope>
410 <groupId>org.apache.tinkerpop</groupId>
411 <artifactId>gremlin-groovy</artifactId>
412 <version>3.0.1-incubating</version>
413 <scope>compile</scope>
416 <artifactId>groovy</artifactId>
417 <groupId>org.codehaus.groovy</groupId>
424 <groupId>com.datastax.cassandra</groupId>
425 <artifactId>cassandra-driver-core</artifactId>
426 <version>${cassandra.driver.version}</version>
427 <scope>compile</scope>
430 <groupId>com.datastax.cassandra</groupId>
431 <artifactId>cassandra-driver-mapping</artifactId>
432 <version>${cassandra.driver.version}</version>
433 <scope>compile</scope>
435 <!-- CASSANDRA END -->
437 <!-- Inserted for ECOMP Portal Integration -->
439 <groupId>org.onap.portal.sdk</groupId>
440 <artifactId>epsdk-fw</artifactId>
441 <version>${ecomp.version}</version>
442 <scope>compile</scope>
445 <groupId>com.att.nsa</groupId>
446 <artifactId>cambriaClient</artifactId>
449 <artifactId>slf4j-log4j12</artifactId>
450 <groupId>org.slf4j</groupId>
457 <groupId>org.eclipse.jetty</groupId>
458 <artifactId>jetty-proxy</artifactId>
459 <version>${jetty.version}</version>
460 <scope>compile</scope>
464 <groupId>org.eclipse.jetty</groupId>
465 <artifactId>jetty-servlets</artifactId>
466 <version>${jetty.version}</version>
467 <scope>compile</scope>
469 <!-- System metrics -->
471 <groupId>org.fusesource</groupId>
472 <artifactId>sigar</artifactId>
473 <version>${sigar.version}</version>
474 <scope>compile</scope>
477 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
478 <artifactId>dmaapClient</artifactId>
479 <version>1.1.3</version>
480 <scope>compile</scope>
483 <groupId>com.att.aft</groupId>
484 <artifactId>dme2</artifactId>
489 <groupId>com.att.aft</groupId>
490 <artifactId>dme2</artifactId>
491 <version>3.1.200-oss</version>
495 <groupId>javax.jms</groupId>
496 <artifactId>jms</artifactId>
497 <version>1.1</version>
498 <scope>provided</scope>
503 <groupId>org.assertj</groupId>
504 <artifactId>assertj-core</artifactId>
509 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
510 <artifactId>jersey-test-framework-provider-bundle</artifactId>
511 <version>${jersey-bom.version}</version>
517 <groupId>org.glassfish.jersey.core</groupId>
518 <artifactId>jersey-client</artifactId>
519 <version>${jersey-bom.version}</version>
523 <groupId>com.github.tomakehurst</groupId>
524 <artifactId>wiremock-standalone</artifactId>
529 <groupId>org.eclipse.jetty</groupId>
530 <artifactId>jetty-webapp</artifactId>
531 <version>${jetty.version}</version>
536 <groupId>junit</groupId>
537 <artifactId>junit</artifactId>
538 <version>${junit.version}</version>
543 <groupId>org.mockito</groupId>
544 <artifactId>mockito-core</artifactId>
549 <groupId>org.springframework</groupId>
550 <artifactId>spring-test</artifactId>
551 <version>${spring.version}</version>
556 <groupId>org.springframework</groupId>
557 <artifactId>spring-tx</artifactId>
558 <version>${spring.version}</version>
562 <groupId>io.cucumber</groupId>
563 <artifactId>cucumber-java</artifactId>
568 <groupId>io.cucumber</groupId>
569 <artifactId>cucumber-junit</artifactId>
574 <groupId>org.jmockit</groupId>
575 <artifactId>jmockit</artifactId>
576 <version>${jmockit.version}</version>
581 <groupId>com.google.code.bean-matchers</groupId>
582 <artifactId>bean-matchers</artifactId>
583 <version>0.11</version>
588 <groupId>org.codehaus.groovy</groupId>
589 <artifactId>groovy</artifactId>
590 <version>2.4.8</version>
594 <groupId>io.netty</groupId>
595 <artifactId>netty-handler</artifactId>
598 <groupId>org.onap.sdc.common</groupId>
599 <artifactId>onap-tosca-datatype</artifactId>
600 <version>${project.version}</version>
603 <groupId>org.apache.commons</groupId>
604 <artifactId>commons-collections4</artifactId>
605 <version>${commons.collections.version}</version>
611 <finalName>${project.artifactId}-${project.version}</finalName>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-war-plugin</artifactId>
618 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
619 WEB-INF/classes/elasticsearch.yml,
620 WEB-INF/classes/portal.properties
624 <SDC-Version>${project.version}</SDC-Version>
627 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
628 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
634 <directory>src/main/resources</directory>
635 <directory>src/main/resources/swagger</directory>
638 <attachClasses>true</attachClasses>
642 <groupId>com.github.sylvainlaurent.maven</groupId>
643 <artifactId>yaml-json-validator-maven-plugin</artifactId>
647 <phase>validate</phase>
649 <goal>validate</goal>
655 <include>src/main/resources/**/*.y*ml</include>
656 <include>src/test/resources/**/*.y*ml</include>
661 <include>src/main/resources/**/*.json</include>
662 <include>src/test/resources/**/*.json</include>
671 <groupId>com.jcabi</groupId>
672 <artifactId>jcabi-maven-plugin</artifactId>
673 <version>${jcabi.maven.plugin.version}</version>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-assembly-plugin</artifactId>
688 <phase>package</phase>
693 <finalName>normatives</finalName>
694 <appendAssemblyId>false</appendAssemblyId>
696 <descriptor>${project.basedir}/normatives.xml</descriptor>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-clean-plugin</artifactId>
707 <id>clean.sdc.backend.folder</id>
714 <!-- static configuration files -->
717 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
719 <followSymlinks>false</followSymlinks>
721 <include>error-configuration.yaml</include>
722 <include>ecomp-error-configuration.yaml</include>
723 <include>logback.xml</include>
728 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
729 <followSymlinks>false</followSymlinks>
731 <include>*.war</include>
736 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
738 <followSymlinks>false</followSymlinks>
740 <include>normatives.tar.gz</include>
750 <id>clean-static-files</id>
759 <directory>${project.parent.basedir}/asdctool/tosca</directory>
760 <followSymlinks>false</followSymlinks>
768 <groupId>org.apache.maven.plugins</groupId>
769 <artifactId>maven-resources-plugin</artifactId>
772 <id>copy-static-configuration-files</id>
773 <phase>verify</phase>
775 <goal>copy-resources</goal>
779 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
783 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
786 <include>error-configuration.yaml</include>
787 <include>ecomp-error-configuration.yaml</include>
788 <include>logback.xml</include>
795 <id>copy-tosca-folder</id>
796 <!-- here the phase you need -->
797 <phase>install</phase>
799 <goal>copy-resources</goal>
802 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
805 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
807 <filtering>true</filtering>
818 <!--This plugin's configuration is used to store Eclipse m2e settings
819 only. It has no influence on the Maven build itself. -->
821 <groupId>org.eclipse.m2e</groupId>
822 <artifactId>lifecycle-mapping</artifactId>
823 <version>1.0.0</version>
825 <lifecycleMappingMetadata>
828 <pluginExecutionFilter>
829 <groupId>com.googlecode.maven-download-plugin</groupId>
830 <artifactId>download-maven-plugin</artifactId>
831 <versionRange>[1.2.1,)</versionRange>
835 </pluginExecutionFilter>
842 <pluginExecutionFilter>
843 <groupId>com.jcabi</groupId>
844 <artifactId>jcabi-maven-plugin</artifactId>
845 <versionRange>[0.0,)</versionRange>
849 </pluginExecutionFilter>
856 </lifecycleMappingMetadata>
861 <!-- Swagger Plugins End -->
866 <id>docker-staging</id>
868 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
869 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
876 <activeByDefault>false</activeByDefault>
881 <groupId>org.apache.maven.plugins</groupId>
882 <artifactId>maven-resources-plugin</artifactId>
885 <id>copy-resources-apidocs</id>
886 <phase>verify</phase>
888 <goal>copy-resources</goal>
891 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
895 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
898 <include>api-docs.war</include>
906 <id>copy-resources-be</id>
907 <phase>verify</phase>
909 <goal>copy-resources</goal>
912 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
915 <directory>${project.parent.basedir}/catalog-be/target</directory>
917 <include>catalog-be-${project.version}.war</include>
922 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
925 <include>onboarding-be-${project.version}.war</include>
932 <id>copy-normatives</id>
933 <phase>verify</phase>
935 <goal>copy-resources</goal>
939 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
943 <directory>${project.parent.basedir}/catalog-be/target</directory>
945 <include>normatives.tar.gz</include>
954 <groupId>io.fabric8</groupId>
955 <artifactId>docker-maven-plugin</artifactId>
957 <apiVersion>1.23</apiVersion>
958 <registry>nexus3.onap.org:10001</registry>
961 <username>docker</username>
962 <password>docker</password>
967 <!-- Build backend image -->
969 <name>onap/sdc-backend</name>
970 <alias>sdc-backend</alias>
972 <cleanup>try</cleanup>
973 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
975 <tag>${docker.tag}</tag>
977 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
982 <!-- Build backend-init image -->
984 <name>onap/sdc-backend-init</name>
985 <alias>sdc-backend-init</alias>
987 <cleanup>try</cleanup>
988 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
990 <tag>${docker.tag}</tag>
992 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1001 <id>clean-images</id>
1002 <phase>pre-clean</phase>
1007 <removeAll>true</removeAll>
1008 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1013 <id>generate-images</id>
1014 <phase>install</phase>
1021 <id>push-images</id>
1022 <phase>deploy</phase>
1027 <image>onap/sdc-backend,onap/sdc-backend-init</image>