1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START=======================================================
6 ================================================================================
7 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.aai.traversal</groupId>
27 <artifactId>aai-traversal</artifactId>
28 <version>1.2.0-SNAPSHOT</version>
31 <groupId>org.springframework.boot</groupId>
32 <artifactId>spring-boot-starter-parent</artifactId>
33 <version>1.5.10.RELEASE</version>
37 <swagger.directory>${basedir}/target/classes/META-INF/traversal/swagger</swagger.directory>
38 <icd.file>service.json</icd.file>
39 <icd.package>com.att.ajsc.ajsc6configdemo.service.rs</icd.package>
40 <java.version>1.8</java.version>
41 <build.number>local</build.number>
42 <kube.namespace>org-onap-aai</kube.namespace>
43 <service.account>ajsc-svc-account</service.account>
44 <namespace>com.att.ajsc</namespace>
45 <start-class>org.onap.aai.TraversalApp</start-class>
47 <aai-schema.version>1.2.1-SNAPSHOT</aai-schema.version>
48 <aai.core.version>1.2.1-SNAPSHOT</aai.core.version>
49 <aai.client.loadbalancer.version>1.2.1-SNAPSHOT</aai.client.loadbalancer.version>
51 <hbase.version>1.0.2</hbase.version>
53 <!-- Start of the jacoco plugin properties -->
54 <sonar.language>java</sonar.language>
55 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
56 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
57 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
58 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
59 <sonar.projectVersion>${project.version}</sonar.projectVersion>
60 <!-- End of the jacoco plugin properties -->
62 <jolt.version>0.0.24</jolt.version>
63 <jopt.simple.version>4.9</jopt.simple.version>
65 <io.swagger.version>1.5.8</io.swagger.version>
66 <apache.log4j.version>1.2.17</apache.log4j.version>
68 <commons.beanutils.version>1.9.2</commons.beanutils.version>
69 <commons.compress.version>1.10</commons.compress.version>
70 <commons.configuration.version>1.9</commons.configuration.version>
72 <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
73 <scamper.encryption.version>1.8.20</scamper.encryption.version>
74 <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
75 <scamper.version>1.8.36</scamper.version>
76 <dom4j.version>1.6.1</dom4j.version>
77 <commons.lang.version>2.6</commons.lang.version>
78 <eelf.core.version>1.0.0</eelf.core.version>
79 <logback.version>1.2.3</logback.version>
80 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
81 <janino.version>2.7.8</janino.version>
82 <google.guava.version>16.0</google.guava.version>
83 <titan.version>1.0.0</titan.version>
84 <gremlin.driver.version>3.0.1-incubating</gremlin.driver.version>
85 <hbase.version>1.0.2</hbase.version>
86 <smack.version>3.0.4</smack.version>
87 <json.simple.version>1.1.1</json.simple.version>
88 <mockito.version>1.10.19</mockito.version>
89 <powermock.version>1.6.2</powermock.version>
90 <jcommander.version>1.48</jcommander.version>
91 <json.version>20090211</json.version>
92 <freemarker.version>2.3.21</freemarker.version>
93 <jaxb.version>2.2.11</jaxb.version>
94 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
95 <json.patch.version>1.9</json.patch.version>
96 <javatuples.version>1.2</javatuples.version>
97 <gson.version>2.7</gson.version>
98 <dmaap.client.version>0.2.12</dmaap.client.version>
99 <httpcore.version>4.4</httpcore.version>
100 <json.path.version>2.2.0</json.path.version>
101 <activemq.version>5.15.3</activemq.version>
102 <httpclient.version>4.5.3</httpclient.version>
103 <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
104 <spotify.docker.version>0.4.11</spotify.docker.version>
105 <spring.security.version>1.0.3.RELEASE</spring.security.version>
107 <dme2.version>2.8.5</dme2.version>
108 <async.retry.version>0.0.7</async.retry.version>
109 <jsonassert.version>1.4.0</jsonassert.version>
111 <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
113 <docker.fabric.version>0.23.0</docker.fabric.version>
114 <!-- Default docker registry that maven fabric plugin will try to pull from -->
115 <docker.registry>docker.io</docker.registry>
116 <!-- Specifying the docker push registry where the image should be pushed -->
117 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
118 <docker.push.registry>localhost:5000</docker.push.registry>
121 Location where assembly of our scripts, resources and main jar will be held
122 Check the aai-traversal/src/main/assembly/descriptor.xml for more info
124 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
125 </aai.build.directory>
126 <aai.docker.namespace>onap</aai.docker.namespace>
127 <maven.skip.tests>true</maven.skip.tests>
129 <spring.web.version>4.3.6.RELEASE</spring.web.version>
130 <aai.project.version>1.2.0</aai.project.version>
131 <aai.docker.version>1.2</aai.docker.version>
134 Nexus Proxy Properties and Snapshot Locations
135 Ideally this can be overwritten at runtime per internal environment specific values at runtime
137 <nexusproxy>https://nexus.onap.org</nexusproxy>
138 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
139 <release.path>/content/repositories/releases/</release.path>
140 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
142 <netty.handler.version>4.1.9.Final</netty.handler.version>
143 <netty.version>4.0.37.Final</netty.version>
144 <jackson.core.version>2.8.11.1</jackson.core.version>
145 <groovy.version>2.4.4</groovy.version>
147 <spring.test.version>4.3.6.RELEASE</spring.test.version>
149 <!-- This will be used for the docker images as the default format of maven build has issues -->
150 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
152 <antlr4.visitor>true</antlr4.visitor>
153 <antlr4.listener>true</antlr4.listener>
154 <antlr.version>4.7</antlr.version>
157 <!-- Docker profile to be used for building docker image and pushing to nexus -->
163 <groupId>io.fabric8</groupId>
164 <artifactId>docker-maven-plugin</artifactId>
165 <version>${docker.fabric.version}</version>
167 <verbose>true</verbose>
168 <apiVersion>1.23</apiVersion>
171 <name>${docker.push.registry}/${aai.docker.namespace}/aai-traversal:%l</name>
176 <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
177 <tag>${aai.docker.version}-STAGING-latest</tag>
179 <cleanup>try</cleanup>
180 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
185 <directory>${aai.build.directory}</directory>
186 <outputDirectory>/${project.artifactId}</outputDirectory>
197 <id>clean-images</id>
198 <phase>pre-clean</phase>
203 <removeAll>true</removeAll>
207 <id>generate-images</id>
208 <phase>package</phase>
215 <phase>deploy</phase>
226 Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
227 and also because spring-boot:run doesn't work with large classpaths in windows
228 so this accommodates the behavior of running the application from maven
233 <skipTests>${maven.skip.tests}</skipTests>
236 <defaultGoal>pre-integration-test</defaultGoal>
239 <groupId>org.codehaus.mojo</groupId>
240 <artifactId>exec-maven-plugin</artifactId>
241 <version>1.6.0</version>
244 <id>run-spring-boot</id>
245 <phase>package</phase>
252 <mainClass>${start-class}</mainClass>
255 <key>snapshot.location</key>
256 <value>${snapshot.file}</value>
259 <executable>java</executable>
268 <groupId>org.springframework.boot</groupId>
269 <artifactId>spring-boot-starter-jersey</artifactId>
272 <groupId>com.sun.jersey</groupId>
273 <artifactId>jersey-servlet</artifactId>
276 <groupId>org.springframework.boot</groupId>
277 <artifactId>spring-boot-starter-tomcat</artifactId>
282 <groupId>net.sf.jopt-simple</groupId>
283 <artifactId>jopt-simple</artifactId>
284 <version>${jopt.simple.version}</version>
287 <groupId>io.swagger</groupId>
288 <artifactId>swagger-core</artifactId>
289 <version>${io.swagger.version}</version>
292 <groupId>javax.ws.rs</groupId>
293 <artifactId>jsr311-api</artifactId>
298 <groupId>io.swagger</groupId>
299 <artifactId>swagger-annotations</artifactId>
300 <version>${io.swagger.version}</version>
303 <groupId>io.swagger</groupId>
304 <artifactId>swagger-jersey-jaxrs</artifactId>
305 <version>${io.swagger.version}</version>
308 <groupId>org.glassfish.jersey.media</groupId>
309 <artifactId>jersey-media-multipart</artifactId>
312 <artifactId>jersey-core</artifactId>
313 <groupId>com.sun.jersey</groupId>
316 <artifactId>jersey-json</artifactId>
317 <groupId>com.sun.jersey</groupId>
320 <artifactId>jersey-server</artifactId>
321 <groupId>com.sun.jersey</groupId>
324 <artifactId>jersey-client</artifactId>
325 <groupId>com.sun.jersey</groupId>
328 <artifactId>jsr311-api</artifactId>
329 <groupId>javax.ws.rs</groupId>
332 <artifactId>jersey-multipart</artifactId>
333 <groupId>com.sun.jersey.contribs</groupId>
338 <groupId>commons-configuration</groupId>
339 <artifactId>commons-configuration</artifactId>
340 <version>${commons.configuration.version}</version>
343 <artifactId>commons-lang</artifactId>
344 <groupId>commons-lang</groupId>
349 <groupId>commons-lang</groupId>
350 <artifactId>commons-lang</artifactId>
351 <version>${commons.lang.version}</version>
353 <!-- eelf dependency -->
355 <groupId>com.att.eelf</groupId>
356 <artifactId>eelf-core</artifactId>
357 <version>${eelf.core.version}</version>
360 <groupId>ch.qos.logback</groupId>
361 <artifactId>logback-core</artifactId>
362 <version>${logback.version}</version>
365 <groupId>ch.qos.logback</groupId>
366 <artifactId>logback-classic</artifactId>
367 <version>${logback.version}</version>
370 <groupId>ch.qos.logback</groupId>
371 <artifactId>logback-access</artifactId>
372 <version>${logback.version}</version>
375 <groupId>org.hamcrest</groupId>
376 <artifactId>hamcrest-junit</artifactId>
377 <version>${hamcrest.junit.version}</version>
380 <groupId>junit</groupId>
381 <artifactId>junit</artifactId>
385 <groupId>com.google.guava</groupId>
386 <artifactId>guava</artifactId>
387 <version>${google.guava.version}</version>
390 <groupId>com.thinkaurelius.titan</groupId>
391 <artifactId>titan-core</artifactId>
392 <version>${titan.version}</version>
395 <groupId>org.slf4j</groupId>
396 <artifactId>slf4j-log4j12</artifactId>
401 <groupId>com.thinkaurelius.titan</groupId>
402 <artifactId>titan-cassandra</artifactId>
403 <version>${titan.version}</version>
406 <groupId>org.slf4j</groupId>
407 <artifactId>slf4j-log4j12</artifactId>
412 <groupId>com.thinkaurelius.titan</groupId>
413 <artifactId>titan-hbase</artifactId>
414 <version>${titan.version}</version>
417 <groupId>org.slf4j</groupId>
418 <artifactId>slf4j-log4j12</artifactId>
424 <groupId>org.apache.tinkerpop</groupId>
425 <artifactId>gremlin-driver</artifactId>
426 <version>${gremlin.driver.version}</version>
429 <groupId>org.apache.hbase</groupId>
430 <artifactId>hbase-client</artifactId>
431 <version>${hbase.version}</version>
434 <groupId>org.slf4j</groupId>
435 <artifactId>slf4j-log4j12</artifactId>
438 <artifactId>log4j</artifactId>
439 <groupId>log4j</groupId>
442 <groupId>com.sun.jersey</groupId>
443 <artifactId>jersey-core</artifactId>
446 <groupId>com.sun.jersey</groupId>
447 <artifactId>jersey-json</artifactId>
450 <groupId>com.sun.jersey</groupId>
451 <artifactId>jersey-server</artifactId>
454 <groupId>com.sun.jersey.contribs</groupId>
455 <artifactId>jersey-guice</artifactId>
458 <groupId>commons-httpclient</groupId>
459 <artifactId>commons-httpclient</artifactId>
462 <groupId>org.codehaus.jackson</groupId>
463 <artifactId>jackson-mapper-asl</artifactId>
468 <groupId>org.apache.hbase</groupId>
469 <artifactId>hbase-protocol</artifactId>
470 <version>${hbase.version}</version>
473 <artifactId>log4j</artifactId>
474 <groupId>log4j</groupId>
479 <groupId>org.apache.hbase</groupId>
480 <artifactId>hbase-common</artifactId>
481 <version>${hbase.version}</version>
484 <artifactId>log4j</artifactId>
485 <groupId>log4j</groupId>
490 <groupId>com.fasterxml.jackson.jaxrs</groupId>
491 <artifactId>jackson-jaxrs-json-provider</artifactId>
494 <groupId>org.mockito</groupId>
495 <artifactId>mockito-all</artifactId>
496 <version>${mockito.version}</version>
500 <groupId>org.powermock</groupId>
501 <artifactId>powermock-module-junit4</artifactId>
502 <version>${powermock.version}</version>
506 <groupId>org.powermock</groupId>
507 <artifactId>powermock-api-mockito</artifactId>
508 <version>${powermock.version}</version>
512 <groupId>com.beust</groupId>
513 <artifactId>jcommander</artifactId>
514 <version>${jcommander.version}</version>
517 <groupId>org.json</groupId>
518 <artifactId>json</artifactId>
519 <version>${json.version}</version>
522 <groupId>org.freemarker</groupId>
523 <artifactId>freemarker</artifactId>
524 <version>${freemarker.version}</version>
527 <groupId>javax.xml.bind</groupId>
528 <artifactId>jaxb-api</artifactId>
529 <version>${jaxb.version}</version>
532 <groupId>com.sun.xml.bind</groupId>
533 <artifactId>jaxb-impl</artifactId>
534 <version>${jaxb.version}</version>
537 <groupId>com.sun.xml.bind</groupId>
538 <artifactId>jaxb-core</artifactId>
539 <version>${jaxb.version}</version>
542 <groupId>com.sun.xml.bind</groupId>
543 <artifactId>jaxb-xjc</artifactId>
544 <version>${jaxb.version}</version>
547 <groupId>org.eclipse.persistence</groupId>
548 <artifactId>eclipselink</artifactId>
549 <version>${eclipse.persistence.version}</version>
552 <groupId>org.eclipse.persistence</groupId>
553 <artifactId>org.eclipse.persistence.moxy</artifactId>
554 <version>${eclipse.persistence.version}</version>
555 <scope>compile</scope>
558 <groupId>org.powermock</groupId>
559 <artifactId>powermock-module-javaagent</artifactId>
560 <version>${powermock.version}</version>
564 <groupId>org.powermock</groupId>
565 <artifactId>powermock-module-junit4-rule-agent</artifactId>
566 <version>${powermock.version}</version>
570 <groupId>com.github.fge</groupId>
571 <artifactId>json-patch</artifactId>
572 <version>${json.patch.version}</version>
575 <groupId>org.javatuples</groupId>
576 <artifactId>javatuples</artifactId>
577 <version>${javatuples.version}</version>
578 <scope>compile</scope>
581 <groupId>com.google.code.gson</groupId>
582 <artifactId>gson</artifactId>
583 <version>${gson.version}</version>
586 <groupId>com.att.nsa</groupId>
587 <artifactId>dmaapClient</artifactId>
588 <version>${dmaap.client.version}</version>
591 <groupId>org.slf4j</groupId>
592 <artifactId>slf4j-log4j12</artifactId>
595 <groupId>com.att.aft</groupId>
596 <artifactId>dme2</artifactId>
601 <groupId>com.bazaarvoice.jolt</groupId>
602 <artifactId>jolt-complete</artifactId>
603 <version>${jolt.version}</version>
606 <groupId>com.jayway.jsonpath</groupId>
607 <artifactId>json-path</artifactId>
608 <version>${json.path.version}</version>
610 <!-- Do not use activemq-all because they force you to use a specific logging
611 and they shade it so you can't simply exclude it and when you deploy the
612 jar, you will notice failure -->
614 <groupId>org.apache.activemq</groupId>
615 <artifactId>activemq-broker</artifactId>
616 <version>${activemq.version}</version>
619 <groupId>org.apache.activemq</groupId>
620 <artifactId>activemq-client</artifactId>
621 <version>${activemq.version}</version>
624 <groupId>org.onap.aai.aai-common</groupId>
625 <artifactId>aai-core</artifactId>
626 <version>${aai.core.version}</version>
629 <groupId>com.sun.jersey</groupId>
630 <artifactId>jersey-core</artifactId>
633 <groupId>org.codehaus.jackson</groupId>
634 <artifactId>jackson-mapper-asl</artifactId>
639 <groupId>org.onap.aai.aai-common</groupId>
640 <artifactId>aai-schema</artifactId>
641 <version>${aai-schema.version}</version>
644 <groupId>org.springframework</groupId>
645 <artifactId>spring-jms</artifactId>
646 <version>${spring.jms.version}</version>
649 <groupId>com.sun.jersey</groupId>
650 <artifactId>jersey-core</artifactId>
654 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
655 with jersey 2 which we are using -->
656 <!-- Use this to make http requests instead of jersey 1.0 client -->
658 <groupId>org.apache.httpcomponents</groupId>
659 <artifactId>httpclient</artifactId>
660 <version>${httpclient.version}</version>
663 <groupId>org.springframework.boot</groupId>
664 <artifactId>spring-boot-devtools</artifactId>
667 <groupId>org.skyscreamer</groupId>
668 <artifactId>jsonassert</artifactId>
669 <version>${jsonassert.version}</version>
673 Explicitly stating the security spring framework and
674 exclude the bouncy castle since that is somehow overwriting
675 our p12 file decryption that's built into java security
676 This will cause the password is incorrect
677 This needs to be added back if org.bouncy castle dependency
678 sneaks backs in and causing issues with the two way ssl
681 <groupId>org.springframework.security</groupId>
682 <artifactId>spring-security-rsa</artifactId>
683 <version>${spring.security.version}</version>
686 <groupId>org.bouncycastle</groupId>
687 <artifactId>bcpkix-jdk15on</artifactId>
692 <groupId>org.onap.aai.aai-common</groupId>
693 <artifactId>aai-client-loadbalancer</artifactId>
694 <version>${aai.client.loadbalancer.version}</version>
697 <groupId>io.netty</groupId>
698 <artifactId>netty-handler</artifactId>
701 <groupId>com.sun.jersey.contribs</groupId>
702 <artifactId>jersey-apache-client4</artifactId>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-handler</artifactId>
709 <version>${netty.handler.version}</version>
712 <groupId>org.springframework.boot</groupId>
713 <artifactId>spring-boot-starter-web</artifactId>
716 <groupId>org.springframework.boot</groupId>
717 <artifactId>spring-boot-starter-tomcat</artifactId>
722 <groupId>org.springframework.boot</groupId>
723 <artifactId>spring-boot-starter-jetty</artifactId>
726 <groupId>org.springframework</groupId>
727 <artifactId>spring-web</artifactId>
728 <version>${spring.web.version}</version>
731 <groupId>io.netty</groupId>
732 <artifactId>netty-all</artifactId>
733 <version>${netty.version}</version>
736 <groupId>org.codehaus.groovy</groupId>
737 <artifactId>groovy</artifactId>
738 <version>${groovy.version}</version>
739 <classifier>indy</classifier>
742 <groupId>org.springframework</groupId>
743 <artifactId>spring-test</artifactId>
744 <version>${spring.test.version}</version>
748 <groupId>org.springframework.boot</groupId>
749 <artifactId>spring-boot-test</artifactId>
753 <groupId>org.antlr</groupId>
754 <artifactId>antlr4-runtime</artifactId>
755 <version>${antlr.version}</version>
758 <groupId>org.antlr</groupId>
759 <artifactId>antlr4-maven-plugin</artifactId>
760 <version>${antlr.version}</version>
763 <groupId>org.sonatype.sisu</groupId>
764 <artifactId>sisu-guava</artifactId>
773 <directory>${project.basedir}/src/main/swm</directory>
774 <targetPath>${project.build.directory}/swm</targetPath>
775 <filtering>false</filtering>
778 <directory>${project.basedir}/src/main/resources</directory>
780 <include>application.properties</include>
781 <include>dme2.properties</include>
782 <include>logback.xml</include>
783 <include>localhost-access-logback.xml</include>
785 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
787 <filtering>false</filtering>
790 <directory>${project.basedir}/src/main/resources</directory>
792 <include>**/*</include>
794 <filtering>true</filtering>
797 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
799 <include>titan-realtime.properties</include>
800 <include>titan-cached.properties</include>
801 <include>aaiconfig.properties</include>
803 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
805 <filtering>false</filtering>
808 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
810 <include>aai-client-cert.p12</include>
811 <include>tomcat_keystore</include>
813 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
815 <filtering>true</filtering>
818 <directory>${project.basedir}/src/main/resources/</directory>
820 <include>logback.xml</include>
821 <include>localhost-access-logback.xml</include>
823 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
825 <filtering>true</filtering>
828 <directory>${project.basedir}/src/main/docker</directory>
830 <include>**/*</include>
832 <targetPath>${aai.build.directory}</targetPath>
833 <filtering>true</filtering>
839 <groupId>org.apache.maven.plugins</groupId>
840 <artifactId>maven-dependency-plugin</artifactId>
841 <version>2.8</version>
845 <phase>process-test-classes</phase>
851 <id>unpack-schema-dependency</id>
852 <phase>initialize</phase>
861 <groupId>org.onap.aai.aai-common</groupId>
862 <artifactId>aai-schema</artifactId>
863 <version>${aai.core.version}</version>
864 <outputDirectory>${project.basedir}/src/main/resources/etc</outputDirectory>
865 <includes>oxm/*.xml</includes>
868 <!-- other configurations here -->
872 <groupId>org.codehaus.groovy.maven</groupId>
873 <artifactId>gmaven-plugin</artifactId>
874 <version>1.0</version>
877 <phase>validate</phase>
883 println project.properties['aai.project.version'];
885 if (project.properties['aai.project.version'] != null) {
886 versionArray = project.properties['aai.project.version'].split('\\.');
889 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
890 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
892 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
895 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
905 <groupId>org.springframework.boot</groupId>
906 <artifactId>spring-boot-maven-plugin</artifactId>
909 <groupId>org.apache.maven.plugins</groupId>
910 <artifactId>maven-gpg-plugin</artifactId>
916 <groupId>org.codehaus.groovy.maven</groupId>
917 <artifactId>gmaven-plugin</artifactId>
920 <artifactId>exec-maven-plugin</artifactId>
921 <groupId>org.codehaus.mojo</groupId>
924 <groupId>org.apache.maven.plugins</groupId>
925 <artifactId>maven-javadoc-plugin</artifactId>
927 <additionalparam>-Xdoclint:none</additionalparam>
931 <artifactId>maven-assembly-plugin</artifactId>
934 <descriptor>src/main/assembly/descriptor.xml</descriptor>
939 <id>make-assembly</id> <!-- this is used for inheritance merges -->
940 <phase>package</phase> <!-- bind to the packaging phase -->
948 <groupId>org.apache.maven.plugins</groupId>
949 <artifactId>maven-surefire-plugin</artifactId>
950 <version>2.12.4</version>
952 <argLine>-noverify ${argLine}</argLine>
953 <runOrder>alphabetical</runOrder>
957 <groupId>org.codehaus.mojo</groupId>
958 <artifactId>sonar-maven-plugin</artifactId>
959 <version>3.3</version>
962 <groupId>org.jacoco</groupId>
963 <artifactId>jacoco-maven-plugin</artifactId>
964 <version>0.7.9</version>
966 <dumpOnExit>true</dumpOnExit>
968 <exclude>**/**/models/**/*.class</exclude>
973 <id>jacoco-initialize-unit-tests</id>
975 <goal>prepare-agent</goal>
978 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
979 <!-- <append>true</append> -->
983 <id>post-unit-test</id>
989 <!-- Sets the path to the file which contains the execution data. -->
990 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
991 <!-- Sets the output directory for the code coverage report. -->
992 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
998 <groupId>org.apache.maven.plugins</groupId>
999 <artifactId>maven-deploy-plugin</artifactId>
1002 <id>default-deploy</id>
1008 <groupId>org.sonatype.plugins</groupId>
1009 <artifactId>nexus-staging-maven-plugin</artifactId>
1010 <version>1.6.7</version>
1011 <extensions>true</extensions>
1013 <nexusUrl>${nexusproxy}</nexusUrl>
1014 <stagingProfileId>176c31dfe190a</stagingProfileId>
1015 <serverId>ecomp-staging</serverId>
1019 <groupId>org.springframework.boot</groupId>
1020 <artifactId>spring-boot-maven-plugin</artifactId>
1022 <mainClass>${start-class}</mainClass>
1023 <layout>ZIP</layout>
1028 <goal>repackage</goal>
1034 <groupId>org.antlr</groupId>
1035 <artifactId>antlr4-maven-plugin</artifactId>
1036 <version>4.7</version>
1043 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1044 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1050 <groupId>org.apache.maven.plugins</groupId>
1051 <artifactId>maven-dependency-plugin</artifactId>
1052 <version>2.8</version>
1055 <id>unpack-schema-dependency</id>
1056 <phase>initialize</phase>
1065 <groupId>org.onap.aai.aai-common</groupId>
1066 <artifactId>aai-schema</artifactId>
1067 <version>${aai-schema.version}</version>
1068 <outputDirectory>src/main/resources/etc</outputDirectory>
1069 <includes>oxm/*.xml</includes>
1072 <!-- other configurations here -->
1076 <groupId>com.mycila</groupId>
1077 <artifactId>license-maven-plugin</artifactId>
1078 <version>3.0</version>
1080 <header>LICENSE.TXT</header>
1082 <include>src/main/java/**</include>
1083 <include>src/test/java/**</include>
1084 <include>pom.xml</include>
1086 <skipExistingHeaders>true</skipExistingHeaders>
1092 <!-- Set goal to "format" to auto update license headers -->
1095 <phase>process-sources</phase>
1104 <groupId>org.apache.maven.plugins</groupId>
1105 <artifactId>maven-javadoc-plugin</artifactId>
1106 <version>2.10.4</version>
1108 <failOnError>false</failOnError>
1109 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1111 <groupId>org.umlgraph</groupId>
1112 <artifactId>umlgraph</artifactId>
1113 <version>5.6</version>
1115 <additionalparam>-views</additionalparam>
1116 <useStandardDocletOptions>true</useStandardDocletOptions>
1121 <distributionManagement>
1123 <id>ecomp-releases</id>
1124 <name>ECOMP Release Repository</name>
1125 <url>${nexusproxy}${release.path}</url>
1127 <snapshotRepository>
1128 <id>ecomp-snapshots</id>
1129 <name>ECOMP Snapshot Repository</name>
1130 <url>${nexusproxy}${snapshot.path}</url>
1131 </snapshotRepository>
1134 <url>dav:${nexusproxy}${site.path}</url>
1136 </distributionManagement>