1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" 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>
5 <groupId>org.onap.aai.traversal</groupId>
6 <artifactId>aai-traversal</artifactId>
7 <version>1.2.0-SNAPSHOT</version>
10 <groupId>org.springframework.boot</groupId>
11 <artifactId>spring-boot-starter-parent</artifactId>
12 <version>1.5.1.RELEASE</version>
16 <swagger.directory>${basedir}/target/classes/META-INF/traversal/swagger</swagger.directory>
17 <icd.file>service.json</icd.file>
18 <icd.package>com.att.ajsc.ajsc6configdemo.service.rs</icd.package>
19 <java.version>1.8</java.version>
20 <build.number>local</build.number>
21 <kube.namespace>org-onap-aai</kube.namespace>
22 <service.account>ajsc-svc-account</service.account>
23 <namespace>com.att.ajsc</namespace>
24 <start-class>org.onap.aai.TraversalApp</start-class>
26 <aai-schema.version>1.2.1-SNAPSHOT</aai-schema.version>
27 <aai.core.version>1.2.1-SNAPSHOT</aai.core.version>
28 <aai.client.loadbalancer.version>1.2.1-SNAPSHOT</aai.client.loadbalancer.version>
30 <hbase.version>1.0.2</hbase.version>
32 <!-- Start of the jacoco plugin properties -->
33 <sonar.language>java</sonar.language>
34 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
35 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
36 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
37 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
38 <sonar.projectVersion>${project.version}</sonar.projectVersion>
39 <!-- End of the jacoco plugin properties -->
41 <jolt.version>0.0.24</jolt.version>
42 <jopt.simple.version>4.9</jopt.simple.version>
44 <io.swagger.version>1.5.8</io.swagger.version>
45 <apache.log4j.version>1.2.17</apache.log4j.version>
47 <commons.beanutils.version>1.9.2</commons.beanutils.version>
48 <commons.compress.version>1.10</commons.compress.version>
49 <commons.configuration.version>1.9</commons.configuration.version>
51 <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
52 <scamper.encryption.version>1.8.20</scamper.encryption.version>
53 <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
54 <scamper.version>1.8.36</scamper.version>
55 <dom4j.version>1.6.1</dom4j.version>
56 <commons.lang.version>2.6</commons.lang.version>
57 <eelf.core.version>1.0.0</eelf.core.version>
58 <logback.version>1.2.3</logback.version>
59 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
60 <janino.version>2.7.8</janino.version>
61 <google.guava.version>16.0</google.guava.version>
62 <titan.version>1.0.0</titan.version>
63 <gremlin.driver.version>3.0.1-incubating</gremlin.driver.version>
64 <hbase.version>1.0.2</hbase.version>
65 <smack.version>3.0.4</smack.version>
66 <json.simple.version>1.1.1</json.simple.version>
67 <mockito.version>1.10.19</mockito.version>
68 <powermock.version>1.6.2</powermock.version>
69 <jcommander.version>1.48</jcommander.version>
70 <json.version>20090211</json.version>
71 <freemarker.version>2.3.21</freemarker.version>
72 <jaxb.version>2.2.11</jaxb.version>
73 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
74 <json.patch.version>1.9</json.patch.version>
75 <javatuples.version>1.2</javatuples.version>
76 <gson.version>2.7</gson.version>
77 <dmaap.client.version>0.2.12</dmaap.client.version>
78 <httpcore.version>4.4</httpcore.version>
79 <json.path.version>2.2.0</json.path.version>
80 <activemq.version>5.15.3</activemq.version>
81 <httpclient.version>4.5.3</httpclient.version>
82 <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
83 <spotify.docker.version>0.4.11</spotify.docker.version>
84 <spring.security.version>1.0.3.RELEASE</spring.security.version>
86 <dme2.version>2.8.5</dme2.version>
87 <async.retry.version>0.0.7</async.retry.version>
88 <jsonassert.version>1.4.0</jsonassert.version>
90 <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
92 <docker.fabric.version>0.23.0</docker.fabric.version>
93 <!-- Default docker registry that maven fabric plugin will try to pull from -->
94 <docker.registry>docker.io</docker.registry>
95 <!-- Specifying the docker push registry where the image should be pushed -->
96 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
97 <docker.push.registry>localhost:5000</docker.push.registry>
100 Location where assembly of our scripts, resources and main jar will be held
101 Check the aai-traversal/src/main/assembly/descriptor.xml for more info
103 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
104 </aai.build.directory>
105 <aai.docker.namespace>onap</aai.docker.namespace>
106 <maven.skip.tests>true</maven.skip.tests>
108 <spring.web.version>4.3.6.RELEASE</spring.web.version>
109 <aai.project.version>1.2.0</aai.project.version>
110 <aai.docker.version>1.2</aai.docker.version>
113 Nexus Proxy Properties and Snapshot Locations
114 Ideally this can be overwritten at runtime per internal environment specific values at runtime
116 <nexusproxy>https://nexus.onap.org</nexusproxy>
117 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
118 <release.path>/content/repositories/releases/</release.path>
119 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
121 <netty.handler.version>4.1.9.Final</netty.handler.version>
122 <netty.version>4.0.37.Final</netty.version>
123 <jackson.core.version>2.8.11.1</jackson.core.version>
124 <groovy.version>2.4.4</groovy.version>
126 <spring.test.version>4.3.6.RELEASE</spring.test.version>
128 <!-- This will be used for the docker images as the default format of maven build has issues -->
129 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
131 <antlr4.visitor>true</antlr4.visitor>
132 <antlr4.listener>true</antlr4.listener>
133 <antlr.version>4.7</antlr.version>
136 <!-- Docker profile to be used for building docker image and pushing to nexus -->
142 <groupId>io.fabric8</groupId>
143 <artifactId>docker-maven-plugin</artifactId>
144 <version>${docker.fabric.version}</version>
146 <verbose>true</verbose>
147 <apiVersion>1.23</apiVersion>
150 <name>${docker.push.registry}/${aai.docker.namespace}/aai-traversal:%l</name>
155 <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
156 <tag>${aai.docker.version}-STAGING-latest</tag>
158 <cleanup>try</cleanup>
159 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
164 <directory>${aai.build.directory}</directory>
165 <outputDirectory>/${project.artifactId}</outputDirectory>
176 <id>clean-images</id>
177 <phase>pre-clean</phase>
182 <removeAll>true</removeAll>
186 <id>generate-images</id>
187 <phase>package</phase>
194 <phase>deploy</phase>
205 Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
206 and also because spring-boot:run doesn't work with large classpaths in windows
207 so this accommodates the behavior of running the application from maven
212 <skipTests>${maven.skip.tests}</skipTests>
215 <defaultGoal>pre-integration-test</defaultGoal>
218 <groupId>org.codehaus.mojo</groupId>
219 <artifactId>exec-maven-plugin</artifactId>
220 <version>1.6.0</version>
223 <id>run-spring-boot</id>
224 <phase>package</phase>
231 <mainClass>${start-class}</mainClass>
234 <key>snapshot.location</key>
235 <value>${snapshot.file}</value>
238 <executable>java</executable>
247 <groupId>org.springframework.boot</groupId>
248 <artifactId>spring-boot-starter-jersey</artifactId>
251 <groupId>com.sun.jersey</groupId>
252 <artifactId>jersey-servlet</artifactId>
255 <groupId>org.springframework.boot</groupId>
256 <artifactId>spring-boot-starter-tomcat</artifactId>
261 <groupId>net.sf.jopt-simple</groupId>
262 <artifactId>jopt-simple</artifactId>
263 <version>${jopt.simple.version}</version>
266 <groupId>io.swagger</groupId>
267 <artifactId>swagger-core</artifactId>
268 <version>${io.swagger.version}</version>
271 <groupId>javax.ws.rs</groupId>
272 <artifactId>jsr311-api</artifactId>
277 <groupId>io.swagger</groupId>
278 <artifactId>swagger-annotations</artifactId>
279 <version>${io.swagger.version}</version>
282 <groupId>io.swagger</groupId>
283 <artifactId>swagger-jersey-jaxrs</artifactId>
284 <version>${io.swagger.version}</version>
287 <groupId>org.glassfish.jersey.media</groupId>
288 <artifactId>jersey-media-multipart</artifactId>
291 <artifactId>jersey-core</artifactId>
292 <groupId>com.sun.jersey</groupId>
295 <artifactId>jersey-json</artifactId>
296 <groupId>com.sun.jersey</groupId>
299 <artifactId>jersey-server</artifactId>
300 <groupId>com.sun.jersey</groupId>
303 <artifactId>jersey-client</artifactId>
304 <groupId>com.sun.jersey</groupId>
307 <artifactId>jsr311-api</artifactId>
308 <groupId>javax.ws.rs</groupId>
311 <artifactId>jersey-multipart</artifactId>
312 <groupId>com.sun.jersey.contribs</groupId>
317 <groupId>commons-configuration</groupId>
318 <artifactId>commons-configuration</artifactId>
319 <version>${commons.configuration.version}</version>
322 <artifactId>commons-lang</artifactId>
323 <groupId>commons-lang</groupId>
328 <groupId>commons-lang</groupId>
329 <artifactId>commons-lang</artifactId>
330 <version>${commons.lang.version}</version>
332 <!-- eelf dependency -->
334 <groupId>com.att.eelf</groupId>
335 <artifactId>eelf-core</artifactId>
336 <version>${eelf.core.version}</version>
339 <groupId>ch.qos.logback</groupId>
340 <artifactId>logback-core</artifactId>
341 <version>${logback.version}</version>
344 <groupId>ch.qos.logback</groupId>
345 <artifactId>logback-classic</artifactId>
346 <version>${logback.version}</version>
349 <groupId>ch.qos.logback</groupId>
350 <artifactId>logback-access</artifactId>
351 <version>${logback.version}</version>
354 <groupId>org.hamcrest</groupId>
355 <artifactId>hamcrest-junit</artifactId>
356 <version>${hamcrest.junit.version}</version>
359 <groupId>junit</groupId>
360 <artifactId>junit</artifactId>
364 <groupId>com.google.guava</groupId>
365 <artifactId>guava</artifactId>
366 <version>${google.guava.version}</version>
369 <groupId>com.thinkaurelius.titan</groupId>
370 <artifactId>titan-core</artifactId>
371 <version>${titan.version}</version>
374 <groupId>org.slf4j</groupId>
375 <artifactId>slf4j-log4j12</artifactId>
380 <groupId>com.thinkaurelius.titan</groupId>
381 <artifactId>titan-cassandra</artifactId>
382 <version>${titan.version}</version>
385 <groupId>org.slf4j</groupId>
386 <artifactId>slf4j-log4j12</artifactId>
389 <groupId>org.codehaus.jackson</groupId>
390 <artifactId>jackson-mapper-asl</artifactId>
395 <groupId>com.thinkaurelius.titan</groupId>
396 <artifactId>titan-hbase</artifactId>
397 <version>${titan.version}</version>
400 <groupId>org.slf4j</groupId>
401 <artifactId>slf4j-log4j12</artifactId>
407 <groupId>org.apache.tinkerpop</groupId>
408 <artifactId>gremlin-driver</artifactId>
409 <version>${gremlin.driver.version}</version>
412 <groupId>org.apache.hbase</groupId>
413 <artifactId>hbase-client</artifactId>
414 <version>${hbase.version}</version>
417 <groupId>org.slf4j</groupId>
418 <artifactId>slf4j-log4j12</artifactId>
421 <artifactId>log4j</artifactId>
422 <groupId>log4j</groupId>
425 <groupId>com.sun.jersey</groupId>
426 <artifactId>jersey-core</artifactId>
429 <groupId>com.sun.jersey</groupId>
430 <artifactId>jersey-json</artifactId>
433 <groupId>com.sun.jersey</groupId>
434 <artifactId>jersey-server</artifactId>
437 <groupId>com.sun.jersey.contribs</groupId>
438 <artifactId>jersey-guice</artifactId>
441 <groupId>commons-httpclient</groupId>
442 <artifactId>commons-httpclient</artifactId>
445 <groupId>org.codehaus.jackson</groupId>
446 <artifactId>jackson-mapper-asl</artifactId>
451 <groupId>org.apache.hbase</groupId>
452 <artifactId>hbase-protocol</artifactId>
453 <version>${hbase.version}</version>
456 <artifactId>log4j</artifactId>
457 <groupId>log4j</groupId>
462 <groupId>org.apache.hbase</groupId>
463 <artifactId>hbase-common</artifactId>
464 <version>${hbase.version}</version>
467 <artifactId>log4j</artifactId>
468 <groupId>log4j</groupId>
473 <groupId>com.fasterxml.jackson.jaxrs</groupId>
474 <artifactId>jackson-jaxrs-json-provider</artifactId>
477 <groupId>com.fasterxml.jackson.core</groupId>
478 <artifactId>jackson-databind</artifactId>
479 <version>${jackson.core.version}</version>
482 <groupId>org.mockito</groupId>
483 <artifactId>mockito-all</artifactId>
484 <version>${mockito.version}</version>
488 <groupId>org.powermock</groupId>
489 <artifactId>powermock-module-junit4</artifactId>
490 <version>${powermock.version}</version>
494 <groupId>org.powermock</groupId>
495 <artifactId>powermock-api-mockito</artifactId>
496 <version>${powermock.version}</version>
500 <groupId>com.beust</groupId>
501 <artifactId>jcommander</artifactId>
502 <version>${jcommander.version}</version>
505 <groupId>org.json</groupId>
506 <artifactId>json</artifactId>
507 <version>${json.version}</version>
510 <groupId>org.freemarker</groupId>
511 <artifactId>freemarker</artifactId>
512 <version>${freemarker.version}</version>
515 <groupId>javax.xml.bind</groupId>
516 <artifactId>jaxb-api</artifactId>
517 <version>${jaxb.version}</version>
520 <groupId>com.sun.xml.bind</groupId>
521 <artifactId>jaxb-impl</artifactId>
522 <version>${jaxb.version}</version>
525 <groupId>com.sun.xml.bind</groupId>
526 <artifactId>jaxb-core</artifactId>
527 <version>${jaxb.version}</version>
530 <groupId>com.sun.xml.bind</groupId>
531 <artifactId>jaxb-xjc</artifactId>
532 <version>${jaxb.version}</version>
535 <groupId>org.eclipse.persistence</groupId>
536 <artifactId>eclipselink</artifactId>
537 <version>${eclipse.persistence.version}</version>
540 <groupId>org.eclipse.persistence</groupId>
541 <artifactId>org.eclipse.persistence.moxy</artifactId>
542 <version>${eclipse.persistence.version}</version>
543 <scope>compile</scope>
546 <groupId>org.powermock</groupId>
547 <artifactId>powermock-module-javaagent</artifactId>
548 <version>${powermock.version}</version>
552 <groupId>org.powermock</groupId>
553 <artifactId>powermock-module-junit4-rule-agent</artifactId>
554 <version>${powermock.version}</version>
558 <groupId>com.github.fge</groupId>
559 <artifactId>json-patch</artifactId>
560 <version>${json.patch.version}</version>
563 <groupId>org.javatuples</groupId>
564 <artifactId>javatuples</artifactId>
565 <version>${javatuples.version}</version>
566 <scope>compile</scope>
569 <groupId>com.google.code.gson</groupId>
570 <artifactId>gson</artifactId>
571 <version>${gson.version}</version>
574 <groupId>com.att.nsa</groupId>
575 <artifactId>dmaapClient</artifactId>
576 <version>${dmaap.client.version}</version>
579 <groupId>org.slf4j</groupId>
580 <artifactId>slf4j-log4j12</artifactId>
583 <groupId>com.att.aft</groupId>
584 <artifactId>dme2</artifactId>
589 <groupId>com.bazaarvoice.jolt</groupId>
590 <artifactId>jolt-complete</artifactId>
591 <version>${jolt.version}</version>
594 <groupId>com.jayway.jsonpath</groupId>
595 <artifactId>json-path</artifactId>
596 <version>${json.path.version}</version>
598 <!-- Do not use activemq-all because they force you to use a specific logging
599 and they shade it so you can't simply exclude it and when you deploy the
600 jar, you will notice failure -->
602 <groupId>org.apache.activemq</groupId>
603 <artifactId>activemq-broker</artifactId>
604 <version>${activemq.version}</version>
607 <groupId>org.apache.activemq</groupId>
608 <artifactId>activemq-client</artifactId>
609 <version>${activemq.version}</version>
612 <groupId>org.onap.aai.aai-common</groupId>
613 <artifactId>aai-core</artifactId>
614 <version>${aai.core.version}</version>
617 <groupId>com.sun.jersey</groupId>
618 <artifactId>jersey-core</artifactId>
621 <groupId>org.codehaus.jackson</groupId>
622 <artifactId>jackson-mapper-asl</artifactId>
627 <groupId>org.onap.aai.aai-common</groupId>
628 <artifactId>aai-schema</artifactId>
629 <version>${aai-schema.version}</version>
632 <groupId>org.springframework</groupId>
633 <artifactId>spring-jms</artifactId>
634 <version>${spring.jms.version}</version>
637 <groupId>com.sun.jersey</groupId>
638 <artifactId>jersey-core</artifactId>
642 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
643 with jersey 2 which we are using -->
644 <!-- Use this to make http requests instead of jersey 1.0 client -->
646 <groupId>org.apache.httpcomponents</groupId>
647 <artifactId>httpclient</artifactId>
648 <version>${httpclient.version}</version>
651 <groupId>org.springframework.boot</groupId>
652 <artifactId>spring-boot-devtools</artifactId>
655 <groupId>org.skyscreamer</groupId>
656 <artifactId>jsonassert</artifactId>
657 <version>${jsonassert.version}</version>
661 <groupId>org.eclipse.jetty</groupId>
662 <artifactId>jetty-util</artifactId>
663 <version>${eclipse.jetty.version}</version>
666 Explicitly stating the security spring framework and
667 exclude the bouncy castle since that is somehow overwriting
668 our p12 file decryption that's built into java security
669 This will cause the password is incorrect
670 This needs to be added back if org.bouncy castle dependency
671 sneaks backs in and causing issues with the two way ssl
674 <groupId>org.springframework.security</groupId>
675 <artifactId>spring-security-rsa</artifactId>
676 <version>${spring.security.version}</version>
679 <groupId>org.bouncycastle</groupId>
680 <artifactId>bcpkix-jdk15on</artifactId>
685 <groupId>org.onap.aai.aai-common</groupId>
686 <artifactId>aai-client-loadbalancer</artifactId>
687 <version>${aai.client.loadbalancer.version}</version>
690 <groupId>io.netty</groupId>
691 <artifactId>netty-handler</artifactId>
694 <groupId>com.sun.jersey.contribs</groupId>
695 <artifactId>jersey-apache-client4</artifactId>
700 <groupId>io.netty</groupId>
701 <artifactId>netty-handler</artifactId>
702 <version>${netty.handler.version}</version>
705 <groupId>org.springframework.boot</groupId>
706 <artifactId>spring-boot-starter-web</artifactId>
709 <groupId>org.springframework.boot</groupId>
710 <artifactId>spring-boot-starter-tomcat</artifactId>
715 <groupId>org.springframework.boot</groupId>
716 <artifactId>spring-boot-starter-jetty</artifactId>
719 <groupId>org.springframework</groupId>
720 <artifactId>spring-web</artifactId>
721 <version>${spring.web.version}</version>
724 <groupId>io.netty</groupId>
725 <artifactId>netty-all</artifactId>
726 <version>${netty.version}</version>
729 <groupId>org.codehaus.groovy</groupId>
730 <artifactId>groovy</artifactId>
731 <version>${groovy.version}</version>
732 <classifier>indy</classifier>
735 <groupId>org.springframework</groupId>
736 <artifactId>spring-test</artifactId>
737 <version>${spring.test.version}</version>
741 <groupId>org.springframework.boot</groupId>
742 <artifactId>spring-boot-test</artifactId>
746 <groupId>org.antlr</groupId>
747 <artifactId>antlr4-runtime</artifactId>
748 <version>${antlr.version}</version>
751 <groupId>org.antlr</groupId>
752 <artifactId>antlr4-maven-plugin</artifactId>
753 <version>${antlr.version}</version>
756 <groupId>org.sonatype.sisu</groupId>
757 <artifactId>sisu-guava</artifactId>
766 <directory>${project.basedir}/src/main/swm</directory>
767 <targetPath>${project.build.directory}/swm</targetPath>
768 <filtering>false</filtering>
771 <directory>${project.basedir}/src/main/resources</directory>
773 <include>application.properties</include>
774 <include>dme2.properties</include>
775 <include>logback.xml</include>
776 <include>localhost-access-logback.xml</include>
778 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
780 <filtering>false</filtering>
783 <directory>${project.basedir}/src/main/resources</directory>
785 <include>**/*</include>
787 <filtering>true</filtering>
790 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
792 <include>titan-realtime.properties</include>
793 <include>titan-cached.properties</include>
794 <include>aaiconfig.properties</include>
796 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
798 <filtering>false</filtering>
801 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
803 <include>aai-client-cert.p12</include>
804 <include>tomcat_keystore</include>
806 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
808 <filtering>true</filtering>
811 <directory>${project.basedir}/src/main/resources/</directory>
813 <include>logback.xml</include>
814 <include>localhost-access-logback.xml</include>
816 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
818 <filtering>true</filtering>
821 <directory>${project.basedir}/src/main/docker</directory>
823 <include>**/*</include>
825 <targetPath>${aai.build.directory}</targetPath>
826 <filtering>true</filtering>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-dependency-plugin</artifactId>
834 <version>2.8</version>
838 <phase>process-test-classes</phase>
844 <id>unpack-schema-dependency</id>
845 <phase>initialize</phase>
854 <groupId>org.onap.aai.aai-common</groupId>
855 <artifactId>aai-schema</artifactId>
856 <version>${aai.core.version}</version>
857 <outputDirectory>${project.basedir}/src/main/resources/etc</outputDirectory>
858 <includes>oxm/*.xml</includes>
861 <!-- other configurations here -->
865 <groupId>org.codehaus.groovy.maven</groupId>
866 <artifactId>gmaven-plugin</artifactId>
867 <version>1.0</version>
870 <phase>validate</phase>
876 println project.properties['aai.project.version'];
878 if (project.properties['aai.project.version'] != null) {
879 versionArray = project.properties['aai.project.version'].split('\\.');
882 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
883 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
885 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
888 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
898 <groupId>org.springframework.boot</groupId>
899 <artifactId>spring-boot-maven-plugin</artifactId>
902 <groupId>org.apache.maven.plugins</groupId>
903 <artifactId>maven-gpg-plugin</artifactId>
909 <groupId>org.codehaus.groovy.maven</groupId>
910 <artifactId>gmaven-plugin</artifactId>
913 <artifactId>exec-maven-plugin</artifactId>
914 <groupId>org.codehaus.mojo</groupId>
917 <groupId>org.apache.maven.plugins</groupId>
918 <artifactId>maven-javadoc-plugin</artifactId>
920 <additionalparam>-Xdoclint:none</additionalparam>
924 <artifactId>maven-assembly-plugin</artifactId>
927 <descriptor>src/main/assembly/descriptor.xml</descriptor>
932 <id>make-assembly</id> <!-- this is used for inheritance merges -->
933 <phase>package</phase> <!-- bind to the packaging phase -->
941 <groupId>org.apache.maven.plugins</groupId>
942 <artifactId>maven-surefire-plugin</artifactId>
943 <version>2.12.4</version>
945 <argLine>-noverify ${argLine}</argLine>
946 <runOrder>alphabetical</runOrder>
950 <groupId>org.codehaus.mojo</groupId>
951 <artifactId>sonar-maven-plugin</artifactId>
952 <version>3.3</version>
955 <groupId>org.jacoco</groupId>
956 <artifactId>jacoco-maven-plugin</artifactId>
957 <version>0.7.9</version>
959 <dumpOnExit>true</dumpOnExit>
961 <exclude>**/**/models/**/*.class</exclude>
966 <id>jacoco-initialize-unit-tests</id>
968 <goal>prepare-agent</goal>
971 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
972 <!-- <append>true</append> -->
976 <id>post-unit-test</id>
982 <!-- Sets the path to the file which contains the execution data. -->
983 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
984 <!-- Sets the output directory for the code coverage report. -->
985 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
991 <groupId>org.apache.maven.plugins</groupId>
992 <artifactId>maven-deploy-plugin</artifactId>
995 <id>default-deploy</id>
1001 <groupId>org.sonatype.plugins</groupId>
1002 <artifactId>nexus-staging-maven-plugin</artifactId>
1003 <version>1.6.7</version>
1004 <extensions>true</extensions>
1006 <nexusUrl>${nexusproxy}</nexusUrl>
1007 <stagingProfileId>176c31dfe190a</stagingProfileId>
1008 <serverId>ecomp-staging</serverId>
1012 <groupId>org.springframework.boot</groupId>
1013 <artifactId>spring-boot-maven-plugin</artifactId>
1015 <mainClass>${start-class}</mainClass>
1016 <layout>ZIP</layout>
1021 <goal>repackage</goal>
1027 <groupId>org.antlr</groupId>
1028 <artifactId>antlr4-maven-plugin</artifactId>
1029 <version>4.7</version>
1036 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1037 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1043 <groupId>org.apache.maven.plugins</groupId>
1044 <artifactId>maven-dependency-plugin</artifactId>
1045 <version>2.8</version>
1048 <id>unpack-schema-dependency</id>
1049 <phase>initialize</phase>
1058 <groupId>org.onap.aai.aai-common</groupId>
1059 <artifactId>aai-schema</artifactId>
1060 <version>${aai-schema.version}</version>
1061 <outputDirectory>src/main/resources/etc</outputDirectory>
1062 <includes>oxm/*.xml</includes>
1065 <!-- other configurations here -->
1074 <groupId>org.apache.maven.plugins</groupId>
1075 <artifactId>maven-javadoc-plugin</artifactId>
1076 <version>2.10.4</version>
1078 <failOnError>false</failOnError>
1079 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1081 <groupId>org.umlgraph</groupId>
1082 <artifactId>umlgraph</artifactId>
1083 <version>5.6</version>
1085 <additionalparam>-views</additionalparam>
1086 <useStandardDocletOptions>true</useStandardDocletOptions>
1091 <distributionManagement>
1093 <id>ecomp-releases</id>
1094 <name>ECOMP Release Repository</name>
1095 <url>${nexusproxy}${release.path}</url>
1097 <snapshotRepository>
1098 <id>ecomp-snapshots</id>
1099 <name>ECOMP Snapshot Repository</name>
1100 <url>${nexusproxy}${snapshot.path}</url>
1101 </snapshotRepository>
1104 <url>dav:${nexusproxy}${site.path}</url>
1106 </distributionManagement>