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>catalog-be</artifactId>
7 <packaging>war</packaging>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.6.0-SNAPSHOT</version>
16 <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
17 <swagger.version>2.0.8</swagger.version>
18 <swagger.jaxrs.version>1.5.22</swagger.jaxrs.version>
22 <!--JSON and YAML Parsing-->
24 <groupId>com.fasterxml.jackson.dataformat</groupId>
25 <artifactId>jackson-dataformat-yaml</artifactId>
26 <version>${jackson.version}</version>
27 <scope>compile</scope>
31 <groupId>com.fasterxml.jackson.core</groupId>
32 <artifactId>jackson-databind</artifactId>
33 <version>${jackson.version}</version>
34 <scope>compile</scope>
38 <groupId>org.onap.sdc.common</groupId>
39 <artifactId>onap-generic-artifact-browser-service</artifactId>
40 <version>${project.version}</version>
41 <scope>compile</scope>
44 <!-- Swagger Dependencies Start -->
46 <groupId>io.swagger.core.v3</groupId>
47 <artifactId>swagger-annotations</artifactId>
48 <version>${swagger.version}</version>
51 <groupId>io.swagger</groupId>
52 <artifactId>swagger-jersey2-jaxrs</artifactId>
53 <version>${swagger.jaxrs.version}</version>
55 <!-- Swagger Dependencies End -->
58 <groupId>org.openecomp.sdc</groupId>
59 <artifactId>common-app-api</artifactId>
60 <version>${project.version}</version>
61 <scope>compile</scope>
65 <groupId>org.openecomp.sdc.be</groupId>
66 <artifactId>common-be</artifactId>
67 <version>${project.version}</version>
68 <scope>compile</scope>
71 <groupId>org.openecomp.sdc.be</groupId>
72 <artifactId>common-be</artifactId>
73 <version>${project.version}</version>
78 <groupId>org.openecomp.sdc.be</groupId>
79 <artifactId>catalog-dao</artifactId>
80 <version>${project.version}</version>
81 <scope>compile</scope>
85 <groupId>org.openecomp.sdc.be</groupId>
86 <artifactId>catalog-model</artifactId>
87 <version>${project.version}</version>
88 <scope>compile</scope>
92 <groupId>ch.qos.logback</groupId>
93 <artifactId>logback-classic</artifactId>
94 <version>${logback.version}</version>
95 <scope>compile</scope>
100 <groupId>org.yaml</groupId>
101 <artifactId>snakeyaml</artifactId>
102 <version>${snakeyaml.version}</version>
103 <scope>compile</scope>
106 <!-- File changes listener -->
108 <groupId>org.apache.commons</groupId>
109 <artifactId>commons-jci-core</artifactId>
110 <version>${commons-jci-core.version}</version>
111 <scope>compile</scope>
116 <groupId>com.google.code.gson</groupId>
117 <artifactId>gson</artifactId>
118 <version>${gson.version}</version>
119 <scope>compile</scope>
124 <groupId>org.glassfish.jersey.media</groupId>
125 <artifactId>jersey-media-json-jackson</artifactId>
126 <version>${jersey-bom.version}</version>
127 <scope>compile</scope>
131 <groupId>org.glassfish.jersey.containers</groupId>
132 <artifactId>jersey-container-servlet-core</artifactId>
133 <version>${jersey-bom.version}</version>
134 <scope>compile</scope>
138 <groupId>org.glassfish.jersey.media</groupId>
139 <artifactId>jersey-media-multipart</artifactId>
140 <version>${jersey-bom.version}</version>
141 <scope>compile</scope>
144 <groupId>org.glassfish.jersey.ext</groupId>
145 <artifactId>jersey-spring4</artifactId>
146 <version>${jersey-bom.version}</version>
149 <groupId>org.springframework</groupId>
150 <artifactId>spring-web</artifactId>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring-beans</artifactId>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-core</artifactId>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-aop</artifactId>
164 <!-- Transitive dependency of spring-bridge -->
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-context</artifactId>
173 <!--asm-all-repackaged is a jersey dependency. in current version jersey depends on a version that was compiled using java 9 compiler
174 currently our jetty (v9.3.6) does not support java 9. as soon as jetty gets upgraded we will remove this dependency-->
176 <groupId>org.glassfish.hk2.external</groupId>
177 <artifactId>asm-all-repackaged</artifactId>
181 <groupId>org.glassfish.jersey.ext</groupId>
182 <artifactId>jersey-bean-validation</artifactId>
187 <groupId>org.apache.httpcomponents</groupId>
188 <artifactId>httpclient</artifactId>
189 <version>${httpclient.version}</version>
190 <scope>compile</scope>
194 <groupId>org.apache.httpcomponents</groupId>
195 <artifactId>httpcore</artifactId>
196 <version>${httpcore.version}</version>
197 <scope>compile</scope>
201 <groupId>commons-logging</groupId>
202 <artifactId>commons-logging</artifactId>
203 <version>${commons-logging}</version>
204 <scope>compile</scope>
208 <groupId>commons-codec</groupId>
209 <artifactId>commons-codec</artifactId>
210 <version>${commons-codec}</version>
211 <scope>compile</scope>
213 <!-- http client END -->
216 <groupId>javax.servlet</groupId>
217 <artifactId>javax.servlet-api</artifactId>
218 <version>${servlet-api.version}</version>
219 <scope>provided</scope>
223 <groupId>org.eclipse.jgit</groupId>
224 <artifactId>org.eclipse.jgit</artifactId>
225 <version>3.4.1.201406201815-r</version>
228 <!-- spring - used by A4C -->
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-core</artifactId>
232 <version>${spring.version}</version>
233 <scope>compile</scope>
237 <groupId>org.springframework</groupId>
238 <artifactId>spring-context</artifactId>
239 <version>${spring.version}</version>
240 <scope>compile</scope>
244 <groupId>org.springframework</groupId>
245 <artifactId>spring-web</artifactId>
246 <version>${spring.version}</version>
247 <scope>compile</scope>
251 <groupId>org.springframework</groupId>
252 <artifactId>spring-webmvc</artifactId>
253 <version>${spring.version}</version>
254 <scope>compile</scope>
258 <groupId>org.springframework</groupId>
259 <artifactId>spring-aop</artifactId>
260 <version>${spring.version}</version>
261 <scope>compile</scope>
265 <groupId>org.springframework</groupId>
266 <artifactId>spring-beans</artifactId>
267 <version>${spring.version}</version>
268 <scope>compile</scope>
272 <groupId>org.springframework</groupId>
273 <artifactId>spring-expression</artifactId>
274 <version>${spring.version}</version>
275 <scope>compile</scope>
278 <!-- Spring integration (optional) -->
280 <groupId>org.togglz</groupId>
281 <artifactId>togglz-spring-web</artifactId>
282 <version>${togglz.version}</version>
286 <groupId>org.codehaus.janino</groupId>
287 <artifactId>janino</artifactId>
288 <version>${janino.version}</version>
289 <scope>compile</scope>
293 <groupId>org.codehaus.janino</groupId>
294 <artifactId>commons-compiler</artifactId>
295 <version>${janino.version}</version>
296 <scope>compile</scope>
300 <groupId>com.google.guava</groupId>
301 <artifactId>guava</artifactId>
302 <version>${guava.version}</version>
303 <scope>compile</scope>
307 <groupId>org.janusgraph</groupId>
308 <artifactId>janusgraph-core</artifactId>
309 <version>${janusgraph.version}</version>
310 <scope>compile</scope>
313 <groupId>org.json</groupId>
314 <artifactId>json</artifactId>
317 <artifactId>slf4j-log4j12</artifactId>
318 <groupId>org.slf4j</groupId>
321 <artifactId>commons-collections</artifactId>
322 <groupId>commons-collections</groupId>
325 <groupId>org.apache.thrift</groupId>
326 <artifactId>libthrift</artifactId>
332 <groupId>org.janusgraph</groupId>
333 <artifactId>janusgraph-cassandra</artifactId>
334 <version>${janusgraph.version}</version>
335 <scope>compile</scope>
338 <groupId>org.slf4j</groupId>
339 <artifactId>slf4j-log4j12</artifactId>
342 <groupId>io.netty</groupId>
343 <artifactId>netty-all</artifactId>
349 <groupId>org.apache.commons</groupId>
350 <artifactId>commons-lang3</artifactId>
351 <version>${lang3.version}</version>
352 <scope>compile</scope>
356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 <version>${json-simple.version}</version>
359 <scope>compile</scope>
364 <groupId>org.elasticsearch</groupId>
365 <artifactId>elasticsearch</artifactId>
366 <version>${elastic-search.version}</version>
367 <scope>compile</scope>
370 <!-- functional java -->
372 <groupId>org.functionaljava</groupId>
373 <artifactId>functionaljava</artifactId>
374 <version>${functionaljava.version}</version>
375 <scope>compile</scope>
380 <groupId>com.jcabi</groupId>
381 <artifactId>jcabi-aspects</artifactId>
382 <version>${jcabi.version}</version>
383 <scope>compile</scope>
387 <groupId>org.aspectj</groupId>
388 <artifactId>aspectjrt</artifactId>
389 <version>${aspectjrt.version}</version>
390 <scope>compile</scope>
394 <!-- CAMBRIA CLIENT for U-EB -->
396 <groupId>com.att.nsa</groupId>
397 <artifactId>cambriaClient</artifactId>
398 <version>1.2.1-oss</version>
399 <scope>compile</scope>
402 <groupId>com.att.nsa</groupId>
403 <artifactId>saClientLibrary</artifactId>
409 <groupId>org.json</groupId>
410 <artifactId>json</artifactId>
411 <version>20131018</version>
412 <scope>compile</scope>
417 <groupId>com.datastax.cassandra</groupId>
418 <artifactId>cassandra-driver-core</artifactId>
419 <version>${cassandra.driver.version}</version>
420 <scope>compile</scope>
423 <groupId>com.datastax.cassandra</groupId>
424 <artifactId>cassandra-driver-mapping</artifactId>
425 <version>${cassandra.driver.version}</version>
426 <scope>compile</scope>
429 <groupId>org.apache.thrift</groupId>
430 <artifactId>libthrift</artifactId>
431 <version>${libthrift.version}</version>
433 <!-- CASSANDRA END -->
435 <!-- Inserted for ECOMP Portal Integration -->
437 <groupId>org.onap.portal.sdk</groupId>
438 <artifactId>epsdk-fw</artifactId>
439 <version>${ecomp.version}</version>
440 <scope>compile</scope>
443 <groupId>com.att.nsa</groupId>
444 <artifactId>cambriaClient</artifactId>
447 <artifactId>slf4j-log4j12</artifactId>
448 <groupId>org.slf4j</groupId>
451 <artifactId>powermock-api-mockito</artifactId>
452 <groupId>org.powermock</groupId>
455 <groupId> org.onap.aaf.authz</groupId>
456 <artifactId> aaf-cadi-aaf</artifactId>
459 <artifactId>aaf-cadi-core</artifactId>
460 <groupId>org.onap.aaf.authz</groupId>
463 <artifactId>commons-codec</artifactId>
464 <groupId>commons-codec</groupId>
471 <groupId>org.eclipse.jetty</groupId>
472 <artifactId>jetty-proxy</artifactId>
473 <version>${jetty.version}</version>
474 <scope>compile</scope>
478 <groupId>org.eclipse.jetty</groupId>
479 <artifactId>jetty-servlets</artifactId>
480 <version>${jetty.version}</version>
481 <scope>compile</scope>
483 <!-- System metrics -->
485 <groupId>org.fusesource</groupId>
486 <artifactId>sigar</artifactId>
487 <version>${sigar.version}</version>
488 <scope>compile</scope>
491 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
492 <artifactId>dmaapClient</artifactId>
493 <version>1.1.3</version>
494 <scope>compile</scope>
497 <groupId>com.att.aft</groupId>
498 <artifactId>dme2</artifactId>
503 <groupId>com.att.aft</groupId>
504 <artifactId>dme2</artifactId>
505 <version>3.1.200-oss</version>
509 <groupId>javax.jms</groupId>
510 <artifactId>jms</artifactId>
511 <version>1.1</version>
512 <scope>provided</scope>
517 <groupId>org.onap.aaf.authz</groupId>
518 <artifactId>aaf-cadi-aaf</artifactId>
519 <version>${cadi.version}</version>
522 <groupId>com.datastax.cassandra</groupId>
523 <artifactId>cassandra-driver-core</artifactId>
526 <groupId>org.slf4j</groupId>
527 <artifactId>slf4j-log4j12</artifactId>
534 <groupId>org.assertj</groupId>
535 <artifactId>assertj-core</artifactId>
540 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
541 <artifactId>jersey-test-framework-provider-bundle</artifactId>
542 <version>${jersey-bom.version}</version>
548 <groupId>org.glassfish.jersey.core</groupId>
549 <artifactId>jersey-client</artifactId>
550 <version>${jersey-bom.version}</version>
554 <groupId>com.github.tomakehurst</groupId>
555 <artifactId>wiremock-standalone</artifactId>
560 <groupId>org.eclipse.jetty</groupId>
561 <artifactId>jetty-webapp</artifactId>
562 <version>${jetty.version}</version>
567 <groupId>junit</groupId>
568 <artifactId>junit</artifactId>
569 <version>${junit.version}</version>
574 <groupId>org.mockito</groupId>
575 <artifactId>mockito-core</artifactId>
580 <groupId>org.springframework</groupId>
581 <artifactId>spring-test</artifactId>
582 <version>${spring.version}</version>
587 <groupId>org.springframework</groupId>
588 <artifactId>spring-tx</artifactId>
589 <version>${spring.version}</version>
593 <groupId>io.cucumber</groupId>
594 <artifactId>cucumber-java</artifactId>
599 <groupId>io.cucumber</groupId>
600 <artifactId>cucumber-junit</artifactId>
605 <groupId>org.jmockit</groupId>
606 <artifactId>jmockit</artifactId>
607 <version>${jmockit.version}</version>
612 <groupId>com.google.code.bean-matchers</groupId>
613 <artifactId>bean-matchers</artifactId>
614 <version>0.11</version>
619 <groupId>org.hamcrest</groupId>
620 <artifactId>java-hamcrest</artifactId>
621 <version>${java-hamcrest.version}</version>
626 <groupId>org.codehaus.groovy</groupId>
627 <artifactId>groovy</artifactId>
628 <version>2.4.8</version>
632 <groupId>io.netty</groupId>
633 <artifactId>netty-handler</artifactId>
636 <groupId>org.onap.sdc.common</groupId>
637 <artifactId>onap-tosca-datatype</artifactId>
638 <version>${project.version}</version>
641 <groupId>org.apache.commons</groupId>
642 <artifactId>commons-collections4</artifactId>
643 <version>${commons.collections.version}</version>
646 <groupId>org.codehaus.jackson</groupId>
647 <artifactId>jackson-mapper-asl</artifactId>
648 <version>${jackson.mapper.version}</version>
651 <groupId>org.onap.sdc.sdc-be-common</groupId>
652 <artifactId>security-util-lib</artifactId>
653 <version>${security.util.lib.version}</version>
659 <finalName>${project.artifactId}-${project.version}</finalName>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-war-plugin</artifactId>
666 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
667 WEB-INF/classes/elasticsearch.yml,
668 WEB-INF/classes/portal.properties
672 <SDC-Version>${project.version}</SDC-Version>
675 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
676 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
682 <directory>src/main/resources</directory>
683 <directory>src/main/resources/swagger</directory>
686 <attachClasses>true</attachClasses>
690 <groupId>com.github.sylvainlaurent.maven</groupId>
691 <artifactId>yaml-json-validator-maven-plugin</artifactId>
695 <phase>validate</phase>
697 <goal>validate</goal>
703 <include>src/main/resources/**/*.y*ml</include>
704 <include>src/test/resources/**/*.y*ml</include>
707 <exclude>src/test/resources/artifacts/pnfSoftwareInformation/**</exclude>
712 <include>src/main/resources/**/*.json</include>
713 <include>src/test/resources/**/*.json</include>
722 <groupId>com.jcabi</groupId>
723 <artifactId>jcabi-maven-plugin</artifactId>
724 <version>${jcabi.maven.plugin.version}</version>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-assembly-plugin</artifactId>
739 <phase>package</phase>
744 <finalName>normatives</finalName>
745 <appendAssemblyId>false</appendAssemblyId>
747 <descriptor>${project.basedir}/normatives.xml</descriptor>
754 <groupId>org.apache.maven.plugins</groupId>
755 <artifactId>maven-clean-plugin</artifactId>
758 <id>clean.sdc.backend.folder</id>
765 <!-- static configuration files -->
768 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
770 <followSymlinks>false</followSymlinks>
772 <include>Artifact-Generator.properties</include>
773 <include>error-configuration.yaml</include>
774 <include>ecomp-error-configuration.yaml</include>
775 <include>logback.xml</include>
780 <directory>${project.parent.basedir}/catalog-be/sdc-backend</directory>
781 <followSymlinks>false</followSymlinks>
783 <include>*.war</include>
788 ${project.basedir}/sdc-backend-init/chef-repo/cookbooks/sdc-normatives/files/default
790 <followSymlinks>false</followSymlinks>
792 <include>normatives.tar.gz</include>
802 <id>clean-static-files</id>
811 <directory>${project.parent.basedir}/asdctool/tosca</directory>
812 <followSymlinks>false</followSymlinks>
820 <groupId>org.apache.maven.plugins</groupId>
821 <artifactId>maven-resources-plugin</artifactId>
824 <id>copy-static-configuration-files</id>
825 <phase>verify</phase>
827 <goal>copy-resources</goal>
831 ${project.parent.basedir}/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default
835 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config
838 <include>Artifact-Generator.properties</include>
839 <include>error-configuration.yaml</include>
840 <include>ecomp-error-configuration.yaml</include>
841 <include>logback.xml</include>
848 <id>copy-tosca-folder</id>
849 <!-- here the phase you need -->
850 <phase>install</phase>
852 <goal>copy-resources</goal>
855 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
858 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca
860 <filtering>true</filtering>
868 <groupId>com.github.kongchen</groupId>
869 <artifactId>swagger-maven-plugin</artifactId>
870 <version>3.1.0</version>
874 <springmvc>false</springmvc>
875 <schemes>http</schemes>
876 <basePath>/sdc</basePath>
878 io.swagger.jaxrs.json;org.openecomp.sdc.be.externalapi.servlet;org.openecomp.sdc.be.distribution.servlet;org.openecomp.normative.api
881 <title>External Rest API</title>
882 <version>v1.0</version>
883 <description>External Rest API Documentation</description>
885 http://www.github.com/kongchen/swagger-maven-plugin
888 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
889 <outputPath>${basedir}/target/generated/swagger-ui/api.html</outputPath>
890 <swaggerDirectory>${basedir}/target/generated/swagger-ui
892 <swaggerApiReader>io.swagger.jaxrs.config.DefaultJaxrsConfig</swaggerApiReader>
898 <phase>compile</phase>
900 <goal>generate</goal>
909 <!--This plugin's configuration is used to store Eclipse m2e settings
910 only. It has no influence on the Maven build itself. -->
912 <groupId>org.eclipse.m2e</groupId>
913 <artifactId>lifecycle-mapping</artifactId>
914 <version>1.0.0</version>
916 <lifecycleMappingMetadata>
919 <pluginExecutionFilter>
920 <groupId>com.googlecode.maven-download-plugin</groupId>
921 <artifactId>download-maven-plugin</artifactId>
922 <versionRange>[1.2.1,)</versionRange>
926 </pluginExecutionFilter>
933 <pluginExecutionFilter>
934 <groupId>com.jcabi</groupId>
935 <artifactId>jcabi-maven-plugin</artifactId>
936 <versionRange>[0.0,)</versionRange>
940 </pluginExecutionFilter>
947 </lifecycleMappingMetadata>
952 <!-- Swagger Plugins End -->
957 <id>docker-staging</id>
959 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
960 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
967 <activeByDefault>false</activeByDefault>
972 <groupId>org.apache.maven.plugins</groupId>
973 <artifactId>maven-resources-plugin</artifactId>
976 <id>copy-resources-apidocs</id>
977 <phase>verify</phase>
979 <goal>copy-resources</goal>
982 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
986 ${project.parent.basedir}/openecomp-be/tools/swagger-ui/target/api-docs
989 <include>api-docs.war</include>
997 <id>copy-resources-be</id>
998 <phase>verify</phase>
1000 <goal>copy-resources</goal>
1003 <outputDirectory>${basedir}/sdc-backend</outputDirectory>
1006 <directory>${project.parent.basedir}/catalog-be/target</directory>
1008 <include>catalog-be-${project.version}.war</include>
1013 ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target
1016 <include>onboarding-be-${project.version}.war</include>
1023 <id>copy-normatives</id>
1024 <phase>verify</phase>
1026 <goal>copy-resources</goal>
1030 sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/files/default
1034 <directory>${project.parent.basedir}/catalog-be/target</directory>
1036 <include>normatives.tar.gz</include>
1045 <groupId>io.fabric8</groupId>
1046 <artifactId>docker-maven-plugin</artifactId>
1048 <apiVersion>1.23</apiVersion>
1049 <registry>nexus3.onap.org:10001</registry>
1052 <username>docker</username>
1053 <password>docker</password>
1058 <!-- Build backend image -->
1060 <name>onap/sdc-backend</name>
1061 <alias>sdc-backend</alias>
1063 <cleanup>try</cleanup>
1064 <dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
1066 <tag>${docker.tag}</tag>
1068 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1073 <!-- Build backend-init image -->
1075 <name>onap/sdc-backend-init</name>
1076 <alias>sdc-backend-init</alias>
1078 <cleanup>try</cleanup>
1079 <dockerFileDir>${project.basedir}/sdc-backend-init</dockerFileDir>
1081 <tag>${docker.tag}</tag>
1083 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1092 <id>clean-images</id>
1093 <phase>pre-clean</phase>
1098 <removeAll>true</removeAll>
1099 <image>onap/sdc-backend,onap/sdc-backend-init</image>
1104 <id>generate-images</id>
1105 <phase>install</phase>
1112 <id>push-images</id>
1113 <phase>deploy</phase>
1118 <image>onap/sdc-backend,onap/sdc-backend-init</image>