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">
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.1.0-SNAPSHOT</version>
16 <swagger-ui-version>2.1.0-M2</swagger-ui-version>
23 <!--JSON and YAML Parsing-->
25 <groupId>com.fasterxml.jackson.dataformat</groupId>
26 <artifactId>jackson-dataformat-yaml</artifactId>
27 <version>${jackson.yaml.version}</version>
28 <scope>compile</scope>
32 <groupId>com.fasterxml.jackson.core</groupId>
33 <artifactId>jackson-databind</artifactId>
34 <version>${jackson.version}</version>
35 <scope>compile</scope>
39 <groupId>com.fasterxml.jackson.core</groupId>
40 <artifactId>jackson-core</artifactId>
41 <version>${jackson.version}</version>
42 <scope>compile</scope>
46 <groupId>com.fasterxml.jackson.core</groupId>
47 <artifactId>jackson-annotations</artifactId>
48 <version>${jackson.annotations.version}</version>
49 <scope>compile</scope>
53 <groupId>org.glassfish.jersey.media</groupId>
54 <artifactId>jersey-media-multipart</artifactId>
55 <version>${jersey-bom.version}</version>
56 <scope>compile</scope>
60 <groupId>org.openecomp.sdc</groupId>
61 <artifactId>security-utils</artifactId>
62 <version>${project.version}</version>
63 <scope>compile</scope>
67 <groupId>com.tinkerpop.blueprints</groupId>
68 <artifactId>blueprints-sail-graph</artifactId>
69 <version>2.5.0</version>
70 <optional>true</optional>
73 <groupId>org.slf4j</groupId>
74 <artifactId>slf4j-log4j12</artifactId>
80 <groupId>com.tinkerpop.blueprints</groupId>
81 <artifactId>blueprints-graph-sail</artifactId>
82 <version>2.5.0</version>
83 <optional>true</optional>
86 <!-- Swagger Dependencies Start -->
88 <groupId>io.swagger</groupId>
89 <artifactId>swagger-jersey2-jaxrs</artifactId>
90 <scope>compile</scope>
91 <version>1.5.15</version>
93 <!-- Swagger Dependencies End -->
96 <groupId>org.openecomp.sdc</groupId>
97 <artifactId>common-app-api</artifactId>
98 <version>${project.version}</version>
99 <scope>compile</scope>
103 <groupId>org.openecomp.sdc.be</groupId>
104 <artifactId>common-be</artifactId>
105 <version>${project.version}</version>
106 <scope>compile</scope>
109 <groupId>org.openecomp.sdc.be</groupId>
110 <artifactId>catalog-dao</artifactId>
111 <version>${project.version}</version>
112 <scope>compile</scope>
116 <groupId>org.openecomp.sdc.be</groupId>
117 <artifactId>catalog-model</artifactId>
118 <version>${project.version}</version>
119 <scope>compile</scope>
122 <!-- slf4j + logback -->
124 <groupId>org.slf4j</groupId>
125 <artifactId>slf4j-api</artifactId>
126 <version>${slf4j-api.version}</version>
127 <scope>compile</scope>
131 <groupId>ch.qos.logback</groupId>
132 <artifactId>logback-classic</artifactId>
133 <version>${logback.version}</version>
134 <scope>compile</scope>
138 <groupId>ch.qos.logback</groupId>
139 <artifactId>logback-core</artifactId>
140 <version>${logback.version}</version>
141 <scope>compile</scope>
146 <groupId>org.yaml</groupId>
147 <artifactId>snakeyaml</artifactId>
148 <version>${snakeyaml.version}</version>
149 <scope>compile</scope>
152 <!-- File changes listener -->
154 <groupId>org.apache.commons</groupId>
155 <artifactId>commons-jci-core</artifactId>
156 <version>${commons-jci-core.version}</version>
157 <scope>compile</scope>
162 <groupId>com.google.code.gson</groupId>
163 <artifactId>gson</artifactId>
164 <version>${gson.version}</version>
165 <scope>compile</scope>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-json-jackson</artifactId>
172 <version>${jersey-bom.version}</version>
173 <scope>compile</scope>
177 <groupId>org.glassfish.jersey.containers</groupId>
178 <artifactId>jersey-container-servlet-core</artifactId>
179 <version>${jersey-bom.version}</version>
180 <scope>compile</scope>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpclient</artifactId>
187 <version>${httpclient.version}</version>
188 <scope>compile</scope>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpcore</artifactId>
194 <version>${httpcore.version}</version>
195 <scope>compile</scope>
199 <groupId>commons-logging</groupId>
200 <artifactId>commons-logging</artifactId>
201 <version>${commons-logging}</version>
202 <scope>compile</scope>
206 <groupId>commons-codec</groupId>
207 <artifactId>commons-codec</artifactId>
208 <version>${commons-codec}</version>
209 <scope>compile</scope>
211 <!-- http client END -->
214 <groupId>javax.servlet</groupId>
215 <artifactId>servlet-api</artifactId>
216 <version>${servlet-api.version}</version>
217 <scope>provided</scope>
221 <groupId>org.eclipse.jgit</groupId>
222 <artifactId>org.eclipse.jgit</artifactId>
223 <version>3.4.1.201406201815-r</version>
226 <!-- spring - used by A4C -->
228 <groupId>org.springframework</groupId>
229 <artifactId>spring-core</artifactId>
230 <version>${spring.version}</version>
231 <scope>compile</scope>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-context</artifactId>
237 <version>${spring.version}</version>
238 <scope>compile</scope>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-web</artifactId>
244 <version>${spring.version}</version>
245 <scope>compile</scope>
249 <groupId>org.springframework</groupId>
250 <artifactId>spring-webmvc</artifactId>
251 <version>${spring.version}</version>
252 <scope>compile</scope>
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-aop</artifactId>
258 <version>${spring.version}</version>
259 <scope>compile</scope>
263 <groupId>org.springframework</groupId>
264 <artifactId>spring-beans</artifactId>
265 <version>${spring.version}</version>
266 <scope>compile</scope>
270 <groupId>org.springframework</groupId>
271 <artifactId>spring-expression</artifactId>
272 <version>${spring.version}</version>
273 <scope>compile</scope>
277 <groupId>org.codehaus.groovy</groupId>
278 <artifactId>groovy-all</artifactId>
279 <version>${groovy.version}</version>
280 <scope>compile</scope>
284 <groupId>org.codehaus.janino</groupId>
285 <artifactId>janino</artifactId>
286 <version>${janino.version}</version>
287 <scope>compile</scope>
291 <groupId>org.codehaus.janino</groupId>
292 <artifactId>commons-compiler</artifactId>
293 <version>${janino.version}</version>
294 <scope>compile</scope>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava</artifactId>
300 <version>${guava.version}</version>
301 <scope>compile</scope>
306 <groupId>com.thinkaurelius.titan</groupId>
307 <artifactId>titan-core</artifactId>
308 <version>${titan.version}</version>
309 <scope>compile</scope>
312 <groupId>org.json</groupId>
313 <artifactId>json</artifactId>
316 <artifactId>slf4j-log4j12</artifactId>
317 <groupId>org.slf4j</groupId>
323 <groupId>com.thinkaurelius.titan</groupId>
324 <artifactId>titan-cassandra</artifactId>
325 <!--<artifactId>asdc-titan-cassandra</artifactId>-->
326 <version>${titan.version}</version>
327 <scope>compile</scope>
330 <groupId>org.slf4j</groupId>
331 <artifactId>slf4j-log4j12</artifactId>
334 <groupId>io.netty</groupId>
335 <artifactId>netty-all</artifactId>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-lang3</artifactId>
343 <version>${lang3.version}</version>
344 <scope>compile</scope>
349 <groupId>com.googlecode.json-simple</groupId>
350 <artifactId>json-simple</artifactId>
351 <version>${json-simple.version}</version>
352 <scope>compile</scope>
357 <groupId>org.elasticsearch</groupId>
358 <artifactId>elasticsearch</artifactId>
359 <version>${elastic-search.version}</version>
360 <scope>compile</scope>
364 <groupId>org.elasticsearch.plugin</groupId>
365 <artifactId>shield</artifactId>
366 <version>${elastic-search.version}</version>
367 <scope>compile</scope>
369 <!-- functional java -->
371 <groupId>org.functionaljava</groupId>
372 <artifactId>functionaljava</artifactId>
373 <version>${functionaljava.version}</version>
374 <scope>compile</scope>
379 <groupId>com.jcabi</groupId>
380 <artifactId>jcabi-aspects</artifactId>
381 <version>${jcabi.version}</version>
382 <scope>compile</scope>
386 <groupId>org.aspectj</groupId>
387 <artifactId>aspectjrt</artifactId>
388 <version>${aspectjrt.version}</version>
389 <scope>compile</scope>
392 <!-- CAMBRIA CLIENT for U-EB -->
394 <groupId>com.att.nsa</groupId>
395 <artifactId>cambriaClient</artifactId>
396 <version>0.0.1</version>
397 <scope>compile</scope>
401 <groupId>com.att.nsa</groupId>
402 <artifactId>saClientLibrary</artifactId>
403 <version>0.0.1</version>
404 <scope>compile</scope>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-log4j12</artifactId>
414 <groupId>org.json</groupId>
415 <artifactId>json</artifactId>
416 <version>20131018</version>
417 <scope>compile</scope>
420 <groupId>org.apache.tinkerpop</groupId>
421 <artifactId>tinkergraph-gremlin</artifactId>
422 <version>3.0.1-incubating</version>
423 <scope>compile</scope>
427 <groupId>org.apache.tinkerpop</groupId>
428 <artifactId>gremlin-groovy</artifactId>
429 <version>3.0.1-incubating</version>
430 <scope>compile</scope>
435 <groupId>com.datastax.cassandra</groupId>
436 <artifactId>cassandra-driver-core</artifactId>
437 <version>${cassandra.driver.version}</version>
438 <scope>compile</scope>
441 <groupId>com.datastax.cassandra</groupId>
442 <artifactId>cassandra-driver-mapping</artifactId>
443 <version>${cassandra.driver.version}</version>
444 <scope>compile</scope>
446 <!-- CASSANDRA END -->
448 <!-- Inserted for ECOMP Portal Integration -->
450 <groupId>org.openecomp.ecompsdkos</groupId>
451 <artifactId>epsdk-fw</artifactId>
452 <version>${ecomp.version}</version>
453 <scope>compile</scope>
456 <groupId>com.att.nsa</groupId>
457 <artifactId>cambriaClient</artifactId>
460 <artifactId>slf4j-log4j12</artifactId>
461 <groupId>org.slf4j</groupId>
466 <!--Artifact Generator-->
468 <groupId>org.openecomp.sdc.common</groupId>
469 <artifactId>openecomp-sdc-artifact-generator-api</artifactId>
470 <version>${artifact-generator-api.version}</version>
471 <scope>compile</scope>
474 <groupId>junit</groupId>
475 <artifactId>junit</artifactId>
481 <groupId>org.openecomp.sdc.common</groupId>
482 <artifactId>openecomp-sdc-artifact-generator-core</artifactId>
483 <version>${artifact-generator-core.version}</version>
484 <scope>compile</scope>
487 <groupId>junit</groupId>
488 <artifactId>junit</artifactId>
494 <groupId>org.openecomp.sdc.common</groupId>
495 <artifactId>openecomp-common-lib</artifactId>
496 <version>${dox-common-lib.version}</version>
500 <groupId>junit</groupId>
501 <artifactId>junit</artifactId>
508 <groupId>org.eclipse.jetty</groupId>
509 <artifactId>jetty-proxy</artifactId>
510 <version>${jetty.version}</version>
511 <scope>compile</scope>
515 <groupId>org.eclipse.jetty</groupId>
516 <artifactId>jetty-servlets</artifactId>
517 <version>${jetty.version}</version>
518 <scope>compile</scope>
520 <!-- System metrics -->
522 <groupId>org.fusesource</groupId>
523 <artifactId>sigar</artifactId>
524 <version>${sigar.version}</version>
525 <scope>compile</scope>
530 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
531 <artifactId>jersey-test-framework-provider-bundle</artifactId>
532 <version>${jersey-bom.version}</version>
538 <groupId>org.eclipse.jetty</groupId>
539 <artifactId>jetty-servlet</artifactId>
540 <version>${jetty.version}</version>
545 <groupId>org.eclipse.jetty</groupId>
546 <artifactId>jetty-webapp</artifactId>
547 <version>${jetty.version}</version>
552 <groupId>junit</groupId>
553 <artifactId>junit</artifactId>
554 <version>${junit.version}</version>
559 <groupId>org.mockito</groupId>
560 <artifactId>mockito-all</artifactId>
561 <version>${mockito.version}</version>
562 <!--<version>1.10.19</version>-->
567 <groupId>org.springframework</groupId>
568 <artifactId>spring-test</artifactId>
569 <version>${spring.version}</version>
574 <groupId>org.springframework</groupId>
575 <artifactId>spring-tx</artifactId>
576 <version>${spring.version}</version>
583 <finalName>${project.artifactId}-${project.version}</finalName>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-war-plugin</artifactId>
589 <version>2.6</version>
591 <packagingExcludes>WEB-INF\lib\slf4j-log4j*.jar,
592 WEB-INF/classes/elasticsearch.yml,
593 WEB-INF/classes/portal.properties</packagingExcludes>
596 <SDC-Version>${project.version}</SDC-Version>
599 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
600 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
606 <directory>src/main/resources</directory>
607 <directory>src/main/resources/swagger</directory>
610 <attachClasses>true</attachClasses>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-dependency-plugin</artifactId>
619 <id>copy-dependencies</id>
620 <phase>package</phase>
622 <goal>copy-dependencies</goal>
625 <includeScope>compile</includeScope>
629 <id>copy-installed</id>
630 <phase>install</phase>
637 <groupId>${project.groupId}</groupId>
638 <artifactId>${project.artifactId}</artifactId>
639 <version>${project.version}</version>
640 <type>${project.packaging}</type>
643 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/</outputDirectory>
650 <groupId>com.jcabi</groupId>
651 <artifactId>jcabi-maven-plugin</artifactId>
652 <version>${jcabi.plugin.version}</version>
663 <artifactId>maven-resources-plugin</artifactId>
664 <version>2.6</version>
667 <id>copy-normatives</id>
668 <phase>install</phase>
670 <goal>copy-resources</goal>
673 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default</outputDirectory>
676 <directory>./target</directory>
678 <include>normatives.tar.gz</include>
686 <id>copy-static-configuration-files</id>
687 <phase>install</phase>
689 <goal>copy-resources</goal>
692 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
695 <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
697 <include>Artifact-Generator.properties</include>
698 <include>error-configuration.yaml</include>
699 <include>ecomp-error-configuration.yaml</include>
700 <include>logback.xml</include>
708 <id>copy-tosca-folder</id>
709 <!-- here the phase you need -->
710 <phase>install</phase>
712 <goal>copy-resources</goal>
715 <outputDirectory>${project.parent.basedir}/asdctool/tosca</outputDirectory>
718 <directory>${project.parent.basedir}/catalog-be/src/main/resources/import/tosca</directory>
719 <filtering>true</filtering>
728 <artifactId>maven-clean-plugin</artifactId>
729 <version>3.0.0</version>
732 <id>clean-static-files</id>
741 <directory>${project.parent.basedir}/asdctool/tosca</directory>
742 <followSymlinks>false</followSymlinks>
744 <!-- static configuration files -->
746 <directory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</directory>
748 <include>Artifact-Generator.properties</include>
749 <include>error-configuration.yaml</include>
750 <include>ecomp-error-configuration.yaml</include>
751 <include>logback.xml</include>
761 <groupId>org.apache.maven.plugins</groupId>
762 <artifactId>maven-assembly-plugin</artifactId>
763 <version>2.6</version>
767 <phase>package</phase>
772 <finalName>normatives</finalName>
773 <appendAssemblyId>false</appendAssemblyId>
774 <descriptor>${project.basedir}/normatives.xml</descriptor>
784 <!--This plugin's configuration is used to store Eclipse m2e settings
785 only. It has no influence on the Maven build itself. -->
787 <groupId>org.eclipse.m2e</groupId>
788 <artifactId>lifecycle-mapping</artifactId>
789 <version>1.0.0</version>
791 <lifecycleMappingMetadata>
794 <pluginExecutionFilter>
795 <groupId>com.googlecode.maven-download-plugin</groupId>
796 <artifactId>download-maven-plugin</artifactId>
797 <versionRange>[1.2.1,)</versionRange>
801 </pluginExecutionFilter>
808 <pluginExecutionFilter>
809 <groupId>com.jcabi</groupId>
810 <artifactId>jcabi-maven-plugin</artifactId>
811 <versionRange>[0.0,)</versionRange>
815 </pluginExecutionFilter>
822 </lifecycleMappingMetadata>
826 <groupId>org.apache.maven.plugins</groupId>
827 <artifactId>maven-deploy-plugin</artifactId>
828 <version>2.7</version>
835 <!-- Swagger Plugins End -->
842 <activeByDefault>false</activeByDefault>
846 <finalName>${project.artifactId}-${project.version}</finalName>