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.10.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>
391 <groupId>com.thinkaurelius.titan</groupId>
392 <artifactId>titan-hbase</artifactId>
393 <version>${titan.version}</version>
396 <groupId>org.slf4j</groupId>
397 <artifactId>slf4j-log4j12</artifactId>
403 <groupId>org.apache.tinkerpop</groupId>
404 <artifactId>gremlin-driver</artifactId>
405 <version>${gremlin.driver.version}</version>
408 <groupId>org.apache.hbase</groupId>
409 <artifactId>hbase-client</artifactId>
410 <version>${hbase.version}</version>
413 <groupId>org.slf4j</groupId>
414 <artifactId>slf4j-log4j12</artifactId>
417 <artifactId>log4j</artifactId>
418 <groupId>log4j</groupId>
421 <groupId>com.sun.jersey</groupId>
422 <artifactId>jersey-core</artifactId>
425 <groupId>com.sun.jersey</groupId>
426 <artifactId>jersey-json</artifactId>
429 <groupId>com.sun.jersey</groupId>
430 <artifactId>jersey-server</artifactId>
433 <groupId>com.sun.jersey.contribs</groupId>
434 <artifactId>jersey-guice</artifactId>
437 <groupId>commons-httpclient</groupId>
438 <artifactId>commons-httpclient</artifactId>
441 <groupId>org.codehaus.jackson</groupId>
442 <artifactId>jackson-mapper-asl</artifactId>
447 <groupId>org.apache.hbase</groupId>
448 <artifactId>hbase-protocol</artifactId>
449 <version>${hbase.version}</version>
452 <artifactId>log4j</artifactId>
453 <groupId>log4j</groupId>
458 <groupId>org.apache.hbase</groupId>
459 <artifactId>hbase-common</artifactId>
460 <version>${hbase.version}</version>
463 <artifactId>log4j</artifactId>
464 <groupId>log4j</groupId>
469 <groupId>com.fasterxml.jackson.jaxrs</groupId>
470 <artifactId>jackson-jaxrs-json-provider</artifactId>
473 <groupId>com.fasterxml.jackson.core</groupId>
474 <artifactId>jackson-databind</artifactId>
475 <version>${jackson.core.version}</version>
478 <groupId>org.mockito</groupId>
479 <artifactId>mockito-all</artifactId>
480 <version>${mockito.version}</version>
484 <groupId>org.powermock</groupId>
485 <artifactId>powermock-module-junit4</artifactId>
486 <version>${powermock.version}</version>
490 <groupId>org.powermock</groupId>
491 <artifactId>powermock-api-mockito</artifactId>
492 <version>${powermock.version}</version>
496 <groupId>com.beust</groupId>
497 <artifactId>jcommander</artifactId>
498 <version>${jcommander.version}</version>
501 <groupId>org.json</groupId>
502 <artifactId>json</artifactId>
503 <version>${json.version}</version>
506 <groupId>org.freemarker</groupId>
507 <artifactId>freemarker</artifactId>
508 <version>${freemarker.version}</version>
511 <groupId>javax.xml.bind</groupId>
512 <artifactId>jaxb-api</artifactId>
513 <version>${jaxb.version}</version>
516 <groupId>com.sun.xml.bind</groupId>
517 <artifactId>jaxb-impl</artifactId>
518 <version>${jaxb.version}</version>
521 <groupId>com.sun.xml.bind</groupId>
522 <artifactId>jaxb-core</artifactId>
523 <version>${jaxb.version}</version>
526 <groupId>com.sun.xml.bind</groupId>
527 <artifactId>jaxb-xjc</artifactId>
528 <version>${jaxb.version}</version>
531 <groupId>org.eclipse.persistence</groupId>
532 <artifactId>eclipselink</artifactId>
533 <version>${eclipse.persistence.version}</version>
536 <groupId>org.eclipse.persistence</groupId>
537 <artifactId>org.eclipse.persistence.moxy</artifactId>
538 <version>${eclipse.persistence.version}</version>
539 <scope>compile</scope>
542 <groupId>org.powermock</groupId>
543 <artifactId>powermock-module-javaagent</artifactId>
544 <version>${powermock.version}</version>
548 <groupId>org.powermock</groupId>
549 <artifactId>powermock-module-junit4-rule-agent</artifactId>
550 <version>${powermock.version}</version>
554 <groupId>com.github.fge</groupId>
555 <artifactId>json-patch</artifactId>
556 <version>${json.patch.version}</version>
559 <groupId>org.javatuples</groupId>
560 <artifactId>javatuples</artifactId>
561 <version>${javatuples.version}</version>
562 <scope>compile</scope>
565 <groupId>com.google.code.gson</groupId>
566 <artifactId>gson</artifactId>
567 <version>${gson.version}</version>
570 <groupId>com.att.nsa</groupId>
571 <artifactId>dmaapClient</artifactId>
572 <version>${dmaap.client.version}</version>
575 <groupId>org.slf4j</groupId>
576 <artifactId>slf4j-log4j12</artifactId>
579 <groupId>com.att.aft</groupId>
580 <artifactId>dme2</artifactId>
585 <groupId>com.bazaarvoice.jolt</groupId>
586 <artifactId>jolt-complete</artifactId>
587 <version>${jolt.version}</version>
590 <groupId>com.jayway.jsonpath</groupId>
591 <artifactId>json-path</artifactId>
592 <version>${json.path.version}</version>
594 <!-- Do not use activemq-all because they force you to use a specific logging
595 and they shade it so you can't simply exclude it and when you deploy the
596 jar, you will notice failure -->
598 <groupId>org.apache.activemq</groupId>
599 <artifactId>activemq-broker</artifactId>
600 <version>${activemq.version}</version>
603 <groupId>org.apache.activemq</groupId>
604 <artifactId>activemq-client</artifactId>
605 <version>${activemq.version}</version>
608 <groupId>org.onap.aai.aai-common</groupId>
609 <artifactId>aai-core</artifactId>
610 <version>${aai.core.version}</version>
613 <groupId>com.sun.jersey</groupId>
614 <artifactId>jersey-core</artifactId>
617 <groupId>org.codehaus.jackson</groupId>
618 <artifactId>jackson-mapper-asl</artifactId>
623 <groupId>org.onap.aai.aai-common</groupId>
624 <artifactId>aai-schema</artifactId>
625 <version>${aai-schema.version}</version>
628 <groupId>org.springframework</groupId>
629 <artifactId>spring-jms</artifactId>
630 <version>${spring.jms.version}</version>
633 <groupId>com.sun.jersey</groupId>
634 <artifactId>jersey-core</artifactId>
638 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
639 with jersey 2 which we are using -->
640 <!-- Use this to make http requests instead of jersey 1.0 client -->
642 <groupId>org.apache.httpcomponents</groupId>
643 <artifactId>httpclient</artifactId>
644 <version>${httpclient.version}</version>
647 <groupId>org.springframework.boot</groupId>
648 <artifactId>spring-boot-devtools</artifactId>
651 <groupId>org.skyscreamer</groupId>
652 <artifactId>jsonassert</artifactId>
653 <version>${jsonassert.version}</version>
657 Explicitly stating the security spring framework and
658 exclude the bouncy castle since that is somehow overwriting
659 our p12 file decryption that's built into java security
660 This will cause the password is incorrect
661 This needs to be added back if org.bouncy castle dependency
662 sneaks backs in and causing issues with the two way ssl
665 <groupId>org.springframework.security</groupId>
666 <artifactId>spring-security-rsa</artifactId>
667 <version>${spring.security.version}</version>
670 <groupId>org.bouncycastle</groupId>
671 <artifactId>bcpkix-jdk15on</artifactId>
676 <groupId>org.onap.aai.aai-common</groupId>
677 <artifactId>aai-client-loadbalancer</artifactId>
678 <version>${aai.client.loadbalancer.version}</version>
681 <groupId>io.netty</groupId>
682 <artifactId>netty-handler</artifactId>
685 <groupId>com.sun.jersey.contribs</groupId>
686 <artifactId>jersey-apache-client4</artifactId>
691 <groupId>io.netty</groupId>
692 <artifactId>netty-handler</artifactId>
693 <version>${netty.handler.version}</version>
696 <groupId>org.springframework.boot</groupId>
697 <artifactId>spring-boot-starter-web</artifactId>
700 <groupId>org.springframework.boot</groupId>
701 <artifactId>spring-boot-starter-tomcat</artifactId>
706 <groupId>org.springframework.boot</groupId>
707 <artifactId>spring-boot-starter-jetty</artifactId>
710 <groupId>org.springframework</groupId>
711 <artifactId>spring-web</artifactId>
712 <version>${spring.web.version}</version>
715 <groupId>io.netty</groupId>
716 <artifactId>netty-all</artifactId>
717 <version>${netty.version}</version>
720 <groupId>org.codehaus.groovy</groupId>
721 <artifactId>groovy</artifactId>
722 <version>${groovy.version}</version>
723 <classifier>indy</classifier>
726 <groupId>org.springframework</groupId>
727 <artifactId>spring-test</artifactId>
728 <version>${spring.test.version}</version>
732 <groupId>org.springframework.boot</groupId>
733 <artifactId>spring-boot-test</artifactId>
737 <groupId>org.antlr</groupId>
738 <artifactId>antlr4-runtime</artifactId>
739 <version>${antlr.version}</version>
742 <groupId>org.antlr</groupId>
743 <artifactId>antlr4-maven-plugin</artifactId>
744 <version>${antlr.version}</version>
747 <groupId>org.sonatype.sisu</groupId>
748 <artifactId>sisu-guava</artifactId>
757 <directory>${project.basedir}/src/main/swm</directory>
758 <targetPath>${project.build.directory}/swm</targetPath>
759 <filtering>false</filtering>
762 <directory>${project.basedir}/src/main/resources</directory>
764 <include>application.properties</include>
765 <include>dme2.properties</include>
766 <include>logback.xml</include>
767 <include>localhost-access-logback.xml</include>
769 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
771 <filtering>false</filtering>
774 <directory>${project.basedir}/src/main/resources</directory>
776 <include>**/*</include>
778 <filtering>true</filtering>
781 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
783 <include>titan-realtime.properties</include>
784 <include>titan-cached.properties</include>
785 <include>aaiconfig.properties</include>
787 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
789 <filtering>false</filtering>
792 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
794 <include>aai-client-cert.p12</include>
795 <include>tomcat_keystore</include>
797 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
799 <filtering>true</filtering>
802 <directory>${project.basedir}/src/main/resources/</directory>
804 <include>logback.xml</include>
805 <include>localhost-access-logback.xml</include>
807 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
809 <filtering>true</filtering>
812 <directory>${project.basedir}/src/main/docker</directory>
814 <include>**/*</include>
816 <targetPath>${aai.build.directory}</targetPath>
817 <filtering>true</filtering>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-dependency-plugin</artifactId>
825 <version>2.8</version>
829 <phase>process-test-classes</phase>
835 <id>unpack-schema-dependency</id>
836 <phase>initialize</phase>
845 <groupId>org.onap.aai.aai-common</groupId>
846 <artifactId>aai-schema</artifactId>
847 <version>${aai.core.version}</version>
848 <outputDirectory>${project.basedir}/src/main/resources/etc</outputDirectory>
849 <includes>oxm/*.xml</includes>
852 <!-- other configurations here -->
856 <groupId>org.codehaus.groovy.maven</groupId>
857 <artifactId>gmaven-plugin</artifactId>
858 <version>1.0</version>
861 <phase>validate</phase>
867 println project.properties['aai.project.version'];
869 if (project.properties['aai.project.version'] != null) {
870 versionArray = project.properties['aai.project.version'].split('\\.');
873 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
874 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
876 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
879 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
889 <groupId>org.springframework.boot</groupId>
890 <artifactId>spring-boot-maven-plugin</artifactId>
893 <groupId>org.apache.maven.plugins</groupId>
894 <artifactId>maven-gpg-plugin</artifactId>
900 <groupId>org.codehaus.groovy.maven</groupId>
901 <artifactId>gmaven-plugin</artifactId>
904 <artifactId>exec-maven-plugin</artifactId>
905 <groupId>org.codehaus.mojo</groupId>
908 <groupId>org.apache.maven.plugins</groupId>
909 <artifactId>maven-javadoc-plugin</artifactId>
911 <additionalparam>-Xdoclint:none</additionalparam>
915 <artifactId>maven-assembly-plugin</artifactId>
918 <descriptor>src/main/assembly/descriptor.xml</descriptor>
923 <id>make-assembly</id> <!-- this is used for inheritance merges -->
924 <phase>package</phase> <!-- bind to the packaging phase -->
932 <groupId>org.apache.maven.plugins</groupId>
933 <artifactId>maven-surefire-plugin</artifactId>
934 <version>2.12.4</version>
936 <argLine>-noverify ${argLine}</argLine>
937 <runOrder>alphabetical</runOrder>
941 <groupId>org.codehaus.mojo</groupId>
942 <artifactId>sonar-maven-plugin</artifactId>
943 <version>3.3</version>
946 <groupId>org.jacoco</groupId>
947 <artifactId>jacoco-maven-plugin</artifactId>
948 <version>0.7.9</version>
950 <dumpOnExit>true</dumpOnExit>
952 <exclude>**/**/models/**/*.class</exclude>
957 <id>jacoco-initialize-unit-tests</id>
959 <goal>prepare-agent</goal>
962 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
963 <!-- <append>true</append> -->
967 <id>post-unit-test</id>
973 <!-- Sets the path to the file which contains the execution data. -->
974 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
975 <!-- Sets the output directory for the code coverage report. -->
976 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
982 <groupId>org.apache.maven.plugins</groupId>
983 <artifactId>maven-deploy-plugin</artifactId>
986 <id>default-deploy</id>
992 <groupId>org.sonatype.plugins</groupId>
993 <artifactId>nexus-staging-maven-plugin</artifactId>
994 <version>1.6.7</version>
995 <extensions>true</extensions>
997 <nexusUrl>${nexusproxy}</nexusUrl>
998 <stagingProfileId>176c31dfe190a</stagingProfileId>
999 <serverId>ecomp-staging</serverId>
1003 <groupId>org.springframework.boot</groupId>
1004 <artifactId>spring-boot-maven-plugin</artifactId>
1006 <mainClass>${start-class}</mainClass>
1007 <layout>ZIP</layout>
1012 <goal>repackage</goal>
1018 <groupId>org.antlr</groupId>
1019 <artifactId>antlr4-maven-plugin</artifactId>
1020 <version>4.7</version>
1027 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1028 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1034 <groupId>org.apache.maven.plugins</groupId>
1035 <artifactId>maven-dependency-plugin</artifactId>
1036 <version>2.8</version>
1039 <id>unpack-schema-dependency</id>
1040 <phase>initialize</phase>
1049 <groupId>org.onap.aai.aai-common</groupId>
1050 <artifactId>aai-schema</artifactId>
1051 <version>${aai-schema.version}</version>
1052 <outputDirectory>src/main/resources/etc</outputDirectory>
1053 <includes>oxm/*.xml</includes>
1056 <!-- other configurations here -->
1065 <groupId>org.apache.maven.plugins</groupId>
1066 <artifactId>maven-javadoc-plugin</artifactId>
1067 <version>2.10.4</version>
1069 <failOnError>false</failOnError>
1070 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1072 <groupId>org.umlgraph</groupId>
1073 <artifactId>umlgraph</artifactId>
1074 <version>5.6</version>
1076 <additionalparam>-views</additionalparam>
1077 <useStandardDocletOptions>true</useStandardDocletOptions>
1082 <distributionManagement>
1084 <id>ecomp-releases</id>
1085 <name>ECOMP Release Repository</name>
1086 <url>${nexusproxy}${release.path}</url>
1088 <snapshotRepository>
1089 <id>ecomp-snapshots</id>
1090 <name>ECOMP Snapshot Repository</name>
1091 <url>${nexusproxy}${snapshot.path}</url>
1092 </snapshotRepository>
1095 <url>dav:${nexusproxy}${site.path}</url>
1097 </distributionManagement>