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.resources</groupId>
27 <artifactId>aai-resources</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.12.RELEASE</version>
37 <swagger.directory>${basedir}/target/classes/META-INF/resources/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.ResourcesApp</start-class>
47 <aai-schema.version>1.2.2-SNAPSHOT</aai-schema.version>
48 <aai.core.version>1.2.2-SNAPSHOT</aai.core.version>
49 <aai.client.loadbalancer.version>1.2.2-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 <janusgraph.version>0.2.0</janusgraph.version>
84 <gremlin.driver.version>3.2.2</gremlin.driver.version>
85 <gremlin.core.version>3.2.2</gremlin.core.version>
86 <gremlin.version>3.2.2</gremlin.version>
87 <hbase.version>1.0.2</hbase.version>
88 <smack.version>3.0.4</smack.version>
89 <json.simple.version>1.1.1</json.simple.version>
90 <mockito.version>1.10.19</mockito.version>
91 <powermock.version>1.6.2</powermock.version>
92 <jcommander.version>1.48</jcommander.version>
93 <json.version>20090211</json.version>
94 <freemarker.version>2.3.21</freemarker.version>
95 <jaxb.version>2.2.11</jaxb.version>
96 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
97 <json.patch.version>1.9</json.patch.version>
98 <javatuples.version>1.2</javatuples.version>
99 <gson.version>2.7</gson.version>
100 <dmaap.client.version>0.2.12</dmaap.client.version>
101 <httpcore.version>4.4</httpcore.version>
102 <json.path.version>2.2.0</json.path.version>
103 <activemq.version>5.15.3</activemq.version>
104 <httpclient.version>4.5.3</httpclient.version>
105 <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
106 <spotify.docker.version>0.4.11</spotify.docker.version>
107 <spring.security.version>1.0.3.RELEASE</spring.security.version>
109 <dme2.version>2.8.5</dme2.version>
110 <async.retry.version>0.0.7</async.retry.version>
111 <jsonassert.version>1.4.0</jsonassert.version>
113 <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
115 <docker.fabric.version>0.23.0</docker.fabric.version>
116 <!-- Default docker registry that maven fabric plugin will try to pull from -->
117 <docker.registry>docker.io</docker.registry>
118 <!-- Specifying the docker push registry where the image should be pushed -->
119 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
120 <docker.push.registry>localhost:5000</docker.push.registry>
123 Location where assembly of our scripts, resources and main jar will be held
124 Check the aai-resources/src/main/assembly/descriptor.xml for more info
126 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
127 </aai.build.directory>
128 <aai.docker.namespace>onap</aai.docker.namespace>
129 <maven.skip.tests>true</maven.skip.tests>
131 <spring.web.version>4.3.6.RELEASE</spring.web.version>
132 <aai.project.version>1.2.0</aai.project.version>
133 <aai.docker.version>1.2</aai.docker.version>
136 Nexus Proxy Properties and Snapshot Locations
137 Ideally this can be overwritten at runtime per internal environment specific values at runtime
139 <nexusproxy>https://nexus.onap.org</nexusproxy>
140 <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path>
141 <release.path>/content/repositories/releases/</release.path>
142 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
144 <netty.handler.version>4.1.9.Final</netty.handler.version>
145 <netty.version>4.0.37.Final</netty.version>
146 <jackson.core.version>2.8.11.1</jackson.core.version>
147 <groovy.version>2.4.4</groovy.version>
149 <spring.test.version>4.3.6.RELEASE</spring.test.version>
151 <!-- This will be used for the docker images as the default format of maven build has issues -->
152 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
154 <license.goal.type>check</license.goal.type>
155 <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit>
158 <!-- Docker profile to be used for building docker image and pushing to nexus -->
164 <groupId>io.fabric8</groupId>
165 <artifactId>docker-maven-plugin</artifactId>
166 <version>${docker.fabric.version}</version>
168 <verbose>true</verbose>
169 <apiVersion>1.23</apiVersion>
172 <name>${docker.push.registry}/${aai.docker.namespace}/aai-resources:%l</name>
177 <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
178 <tag>${aai.docker.version}-STAGING-latest</tag>
180 <cleanup>try</cleanup>
181 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
186 <directory>${aai.build.directory}</directory>
187 <outputDirectory>/${project.artifactId}</outputDirectory>
198 <id>clean-images</id>
199 <phase>pre-clean</phase>
204 <removeAll>true</removeAll>
208 <id>generate-images</id>
209 <phase>package</phase>
216 <phase>deploy</phase>
227 Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
228 and also because spring-boot:run doesn't work with large classpaths in windows
229 so this accommodates the behavior of running the application from maven
234 <skipTests>${maven.skip.tests}</skipTests>
237 <defaultGoal>pre-integration-test</defaultGoal>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>exec-maven-plugin</artifactId>
242 <version>1.6.0</version>
245 <id>run-spring-boot</id>
246 <phase>package</phase>
253 <mainClass>${start-class}</mainClass>
256 <key>snapshot.location</key>
257 <value>${snapshot.file}</value>
260 <executable>java</executable>
269 <groupId>org.springframework.boot</groupId>
270 <artifactId>spring-boot-starter-jersey</artifactId>
273 <groupId>com.sun.jersey</groupId>
274 <artifactId>jersey-servlet</artifactId>
277 <groupId>org.springframework.boot</groupId>
278 <artifactId>spring-boot-starter-tomcat</artifactId>
283 <groupId>net.sf.jopt-simple</groupId>
284 <artifactId>jopt-simple</artifactId>
285 <version>${jopt.simple.version}</version>
288 <groupId>io.swagger</groupId>
289 <artifactId>swagger-core</artifactId>
290 <version>${io.swagger.version}</version>
293 <groupId>javax.ws.rs</groupId>
294 <artifactId>jsr311-api</artifactId>
299 <groupId>io.swagger</groupId>
300 <artifactId>swagger-annotations</artifactId>
301 <version>${io.swagger.version}</version>
304 <groupId>io.swagger</groupId>
305 <artifactId>swagger-jersey-jaxrs</artifactId>
306 <version>${io.swagger.version}</version>
309 <groupId>org.glassfish.jersey.media</groupId>
310 <artifactId>jersey-media-multipart</artifactId>
313 <artifactId>jersey-core</artifactId>
314 <groupId>com.sun.jersey</groupId>
317 <artifactId>jersey-json</artifactId>
318 <groupId>com.sun.jersey</groupId>
321 <artifactId>jersey-server</artifactId>
322 <groupId>com.sun.jersey</groupId>
325 <artifactId>jersey-client</artifactId>
326 <groupId>com.sun.jersey</groupId>
329 <artifactId>jsr311-api</artifactId>
330 <groupId>javax.ws.rs</groupId>
333 <artifactId>jersey-multipart</artifactId>
334 <groupId>com.sun.jersey.contribs</groupId>
339 <groupId>commons-configuration</groupId>
340 <artifactId>commons-configuration</artifactId>
341 <version>${commons.configuration.version}</version>
344 <artifactId>commons-lang</artifactId>
345 <groupId>commons-lang</groupId>
350 <groupId>commons-lang</groupId>
351 <artifactId>commons-lang</artifactId>
352 <version>${commons.lang.version}</version>
354 <!-- eelf dependency -->
356 <groupId>com.att.eelf</groupId>
357 <artifactId>eelf-core</artifactId>
358 <version>${eelf.core.version}</version>
361 <groupId>ch.qos.logback</groupId>
362 <artifactId>logback-core</artifactId>
363 <version>${logback.version}</version>
366 <groupId>ch.qos.logback</groupId>
367 <artifactId>logback-classic</artifactId>
368 <version>${logback.version}</version>
371 <groupId>ch.qos.logback</groupId>
372 <artifactId>logback-access</artifactId>
373 <version>${logback.version}</version>
376 <groupId>org.hamcrest</groupId>
377 <artifactId>hamcrest-junit</artifactId>
378 <version>${hamcrest.junit.version}</version>
381 <groupId>junit</groupId>
382 <artifactId>junit</artifactId>
386 <groupId>com.google.guava</groupId>
387 <artifactId>guava</artifactId>
388 <version>${google.guava.version}</version>
391 <groupId>org.janusgraph</groupId>
392 <artifactId>janusgraph-core</artifactId>
393 <version>${janusgraph.version}</version>
396 <groupId>org.slf4j</groupId>
397 <artifactId>slf4j-log4j12</artifactId>
402 <groupId>org.janusgraph</groupId>
403 <artifactId>janusgraph-cassandra</artifactId>
404 <version>${janusgraph.version}</version>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-log4j12</artifactId>
413 <groupId>org.apache.tinkerpop</groupId>
414 <artifactId>tinkergraph-gremlin</artifactId>
415 <version>${gremlin.version}</version>
418 <groupId>org.apache.tinkerpop</groupId>
419 <artifactId>gremlin-core</artifactId>
420 <version>${gremlin.version}</version>
423 <groupId>org.apache.tinkerpop</groupId>
424 <artifactId>gremlin-driver</artifactId>
425 <version>${gremlin.version}</version>
428 <groupId>com.fasterxml.jackson.jaxrs</groupId>
429 <artifactId>jackson-jaxrs-json-provider</artifactId>
432 <groupId>org.mockito</groupId>
433 <artifactId>mockito-all</artifactId>
434 <version>${mockito.version}</version>
438 <groupId>org.powermock</groupId>
439 <artifactId>powermock-module-junit4</artifactId>
440 <version>${powermock.version}</version>
444 <groupId>org.powermock</groupId>
445 <artifactId>powermock-api-mockito</artifactId>
446 <version>${powermock.version}</version>
450 <groupId>com.beust</groupId>
451 <artifactId>jcommander</artifactId>
452 <version>${jcommander.version}</version>
455 <groupId>org.json</groupId>
456 <artifactId>json</artifactId>
457 <version>${json.version}</version>
460 <groupId>org.freemarker</groupId>
461 <artifactId>freemarker</artifactId>
462 <version>${freemarker.version}</version>
465 <groupId>javax.xml.bind</groupId>
466 <artifactId>jaxb-api</artifactId>
467 <version>${jaxb.version}</version>
470 <groupId>com.sun.xml.bind</groupId>
471 <artifactId>jaxb-impl</artifactId>
472 <version>${jaxb.version}</version>
475 <groupId>com.sun.xml.bind</groupId>
476 <artifactId>jaxb-core</artifactId>
477 <version>${jaxb.version}</version>
480 <groupId>com.sun.xml.bind</groupId>
481 <artifactId>jaxb-xjc</artifactId>
482 <version>${jaxb.version}</version>
485 <groupId>org.eclipse.persistence</groupId>
486 <artifactId>eclipselink</artifactId>
487 <version>${eclipse.persistence.version}</version>
490 <groupId>org.eclipse.persistence</groupId>
491 <artifactId>org.eclipse.persistence.moxy</artifactId>
492 <version>${eclipse.persistence.version}</version>
493 <scope>compile</scope>
496 <groupId>org.powermock</groupId>
497 <artifactId>powermock-module-javaagent</artifactId>
498 <version>${powermock.version}</version>
502 <groupId>org.powermock</groupId>
503 <artifactId>powermock-module-junit4-rule-agent</artifactId>
504 <version>${powermock.version}</version>
508 <groupId>com.github.fge</groupId>
509 <artifactId>json-patch</artifactId>
510 <version>${json.patch.version}</version>
513 <groupId>org.javatuples</groupId>
514 <artifactId>javatuples</artifactId>
515 <version>${javatuples.version}</version>
516 <scope>compile</scope>
519 <groupId>com.google.code.gson</groupId>
520 <artifactId>gson</artifactId>
521 <version>${gson.version}</version>
524 <groupId>com.att.nsa</groupId>
525 <artifactId>dmaapClient</artifactId>
526 <version>${dmaap.client.version}</version>
529 <groupId>org.slf4j</groupId>
530 <artifactId>slf4j-log4j12</artifactId>
533 <groupId>com.att.aft</groupId>
534 <artifactId>dme2</artifactId>
539 <groupId>com.bazaarvoice.jolt</groupId>
540 <artifactId>jolt-complete</artifactId>
541 <version>${jolt.version}</version>
544 <groupId>com.jayway.jsonpath</groupId>
545 <artifactId>json-path</artifactId>
546 <version>${json.path.version}</version>
548 <!-- Do not use activemq-all because they force you to use a specific logging
549 and they shade it so you can't simply exclude it and when you deploy the
550 jar, you will notice failure -->
552 <groupId>org.apache.activemq</groupId>
553 <artifactId>activemq-broker</artifactId>
554 <version>${activemq.version}</version>
557 <groupId>org.apache.activemq</groupId>
558 <artifactId>activemq-client</artifactId>
559 <version>${activemq.version}</version>
562 <groupId>org.onap.aai.aai-common</groupId>
563 <artifactId>aai-core</artifactId>
564 <version>${aai.core.version}</version>
567 <groupId>com.sun.jersey</groupId>
568 <artifactId>jersey-core</artifactId>
571 <groupId>org.codehaus.jackson</groupId>
572 <artifactId>jackson-mapper-asl</artifactId>
577 <groupId>org.onap.aai.aai-common</groupId>
578 <artifactId>aai-schema</artifactId>
579 <version>${aai-schema.version}</version>
582 <groupId>org.springframework</groupId>
583 <artifactId>spring-jms</artifactId>
584 <version>${spring.jms.version}</version>
587 <groupId>com.sun.jersey</groupId>
588 <artifactId>jersey-core</artifactId>
592 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
593 with jersey 2 which we are using -->
594 <!-- Use this to make http requests instead of jersey 1.0 client -->
596 <groupId>org.apache.httpcomponents</groupId>
597 <artifactId>httpclient</artifactId>
598 <version>${httpclient.version}</version>
601 <groupId>org.springframework.boot</groupId>
602 <artifactId>spring-boot-devtools</artifactId>
605 <groupId>org.skyscreamer</groupId>
606 <artifactId>jsonassert</artifactId>
607 <version>${jsonassert.version}</version>
611 Explicitly stating the security spring framework and
612 exclude the bouncy castle since that is somehow overwriting
613 our p12 file decryption that's built into java security
614 This will cause the password is incorrect
615 This needs to be added back if org.bouncy castle dependency
616 sneaks backs in and causing issues with the two way ssl
619 <groupId>org.springframework.security</groupId>
620 <artifactId>spring-security-rsa</artifactId>
621 <version>${spring.security.version}</version>
624 <groupId>org.bouncycastle</groupId>
625 <artifactId>bcpkix-jdk15on</artifactId>
630 <groupId>org.onap.aai.aai-common</groupId>
631 <artifactId>aai-client-loadbalancer</artifactId>
632 <version>${aai.client.loadbalancer.version}</version>
635 <groupId>io.netty</groupId>
636 <artifactId>netty-handler</artifactId>
639 <groupId>com.sun.jersey.contribs</groupId>
640 <artifactId>jersey-apache-client4</artifactId>
645 <groupId>io.netty</groupId>
646 <artifactId>netty-handler</artifactId>
647 <version>${netty.handler.version}</version>
650 <groupId>org.springframework.boot</groupId>
651 <artifactId>spring-boot-starter-web</artifactId>
654 <groupId>org.springframework.boot</groupId>
655 <artifactId>spring-boot-starter-tomcat</artifactId>
660 <groupId>org.springframework.boot</groupId>
661 <artifactId>spring-boot-starter-jetty</artifactId>
664 <groupId>org.springframework</groupId>
665 <artifactId>spring-web</artifactId>
666 <version>${spring.web.version}</version>
669 <groupId>io.netty</groupId>
670 <artifactId>netty-all</artifactId>
671 <version>${netty.version}</version>
674 <groupId>org.codehaus.groovy</groupId>
675 <artifactId>groovy</artifactId>
676 <version>${groovy.version}</version>
677 <classifier>indy</classifier>
680 <groupId>org.springframework</groupId>
681 <artifactId>spring-test</artifactId>
682 <version>${spring.test.version}</version>
686 <groupId>org.springframework.boot</groupId>
687 <artifactId>spring-boot-test</artifactId>
691 <groupId>org.apache.tinkerpop</groupId>
692 <artifactId>gremlin-groovy</artifactId>
693 <version>${gremlin.version}</version>
699 <directory>${project.basedir}/src/main/swm</directory>
700 <targetPath>${project.build.directory}/swm</targetPath>
701 <filtering>false</filtering>
704 <directory>${project.basedir}/src/main/resources</directory>
706 <include>application.properties</include>
707 <include>dme2.properties</include>
708 <include>logback.xml</include>
709 <include>localhost-access-logback.xml</include>
711 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-resources/appconfig
713 <filtering>false</filtering>
716 <directory>${project.basedir}/src/main/resources</directory>
718 <include>**/*</include>
720 <filtering>true</filtering>
723 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
725 <include>janusgraph-realtime.properties</include>
726 <include>janusgraph-cached.properties</include>
727 <include>aaiconfig.properties</include>
729 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-resources/appconfig
731 <filtering>false</filtering>
734 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
736 <include>aai-client-cert.p12</include>
737 <include>tomcat_keystore</include>
738 <include>aai_policy.json</include>
740 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-resources/appconfig
742 <filtering>true</filtering>
745 <directory>${project.basedir}/src/main/resources/</directory>
747 <include>logback.xml</include>
748 <include>localhost-access-logback.xml</include>
750 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-resources/appconfig
752 <filtering>true</filtering>
755 <directory>${project.basedir}/src/main/docker</directory>
757 <include>**/*</include>
759 <targetPath>${aai.build.directory}</targetPath>
760 <filtering>true</filtering>
766 <groupId>org.apache.maven.plugins</groupId>
767 <artifactId>maven-dependency-plugin</artifactId>
768 <version>2.8</version>
771 <id>unpack-schema-dependency</id>
772 <phase>initialize</phase>
779 <groupId>org.onap.aai.aai-common</groupId>
780 <artifactId>aai-schema</artifactId>
781 <version>${aai.core.version}</version>
782 <outputDirectory>${project.basedir}/src/main/resources/etc/</outputDirectory>
783 <includes>oxm/*.xml</includes>
786 <!-- other configurations here -->
792 <groupId>org.codehaus.groovy.maven</groupId>
793 <artifactId>gmaven-plugin</artifactId>
794 <version>1.0</version>
797 <phase>validate</phase>
803 println project.properties['aai.project.version'];
805 if (project.properties['aai.project.version'] != null) {
806 versionArray = project.properties['aai.project.version'].split('\\.');
809 if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
810 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
812 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
815 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
825 <groupId>org.springframework.boot</groupId>
826 <artifactId>spring-boot-maven-plugin</artifactId>
829 <groupId>org.apache.maven.plugins</groupId>
830 <artifactId>maven-gpg-plugin</artifactId>
836 <groupId>org.codehaus.groovy.maven</groupId>
837 <artifactId>gmaven-plugin</artifactId>
840 <artifactId>exec-maven-plugin</artifactId>
841 <groupId>org.codehaus.mojo</groupId>
844 <groupId>org.apache.maven.plugins</groupId>
845 <artifactId>maven-javadoc-plugin</artifactId>
847 <additionalparam>-Xdoclint:none</additionalparam>
851 <artifactId>maven-assembly-plugin</artifactId>
854 <descriptor>src/main/assembly/descriptor.xml</descriptor>
859 <id>make-assembly</id> <!-- this is used for inheritance merges -->
860 <phase>package</phase> <!-- bind to the packaging phase -->
868 <groupId>org.apache.maven.plugins</groupId>
869 <artifactId>maven-surefire-plugin</artifactId>
870 <version>2.12.4</version>
872 <argLine>-noverify ${argLine}</argLine>
873 <runOrder>alphabetical</runOrder>
877 <groupId>org.codehaus.mojo</groupId>
878 <artifactId>sonar-maven-plugin</artifactId>
879 <version>3.3</version>
882 <groupId>org.jacoco</groupId>
883 <artifactId>jacoco-maven-plugin</artifactId>
884 <version>0.7.9</version>
886 <dumpOnExit>true</dumpOnExit>
888 <exclude>**/**/models/**/*.class</exclude>
893 <id>jacoco-initialize-unit-tests</id>
895 <goal>prepare-agent</goal>
898 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
899 <!-- <append>true</append> -->
903 <id>post-unit-test</id>
909 <!-- Sets the path to the file which contains the execution data. -->
910 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
911 <!-- Sets the output directory for the code coverage report. -->
912 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
916 <id>default-check</id>
921 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
923 <rule implementation="org.jacoco.maven.RuleConfiguration">
924 <element>BUNDLE</element>
926 <limit implementation="org.jacoco.report.check.Limit">
927 <counter>LINE</counter>
928 <value>COVEREDRATIO</value>
929 <minimum>${jacoco.line.coverage.limit}</minimum>
939 <groupId>org.apache.maven.plugins</groupId>
940 <artifactId>maven-deploy-plugin</artifactId>
943 <id>default-deploy</id>
949 <groupId>org.sonatype.plugins</groupId>
950 <artifactId>nexus-staging-maven-plugin</artifactId>
951 <version>1.6.7</version>
952 <extensions>true</extensions>
954 <nexusUrl>${nexusproxy}</nexusUrl>
955 <stagingProfileId>176c31dfe190a</stagingProfileId>
956 <serverId>ecomp-staging</serverId>
960 <groupId>org.springframework.boot</groupId>
961 <artifactId>spring-boot-maven-plugin</artifactId>
963 <mainClass>${start-class}</mainClass>
969 <goal>repackage</goal>
975 <groupId>com.mycila</groupId>
976 <artifactId>license-maven-plugin</artifactId>
977 <version>3.0</version>
979 <header>LICENSE.TXT</header>
981 <include>src/main/java/**</include>
982 <include>src/test/java/**</include>
983 <include>pom.xml</include>
985 <skipExistingHeaders>true</skipExistingHeaders>
991 <!-- Set goal to "format" to auto update license headers -->
992 <goal>${license.goal.type}</goal>
994 <phase>initialize</phase>
1003 <groupId>org.apache.maven.plugins</groupId>
1004 <artifactId>maven-javadoc-plugin</artifactId>
1005 <version>2.10.4</version>
1007 <failOnError>false</failOnError>
1008 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1010 <groupId>org.umlgraph</groupId>
1011 <artifactId>umlgraph</artifactId>
1012 <version>5.6</version>
1014 <additionalparam>-views</additionalparam>
1015 <useStandardDocletOptions>true</useStandardDocletOptions>
1020 <distributionManagement>
1022 <id>ecomp-releases</id>
1023 <name>ECOMP Release Repository</name>
1024 <url>${nexusproxy}${release.path}</url>
1026 <snapshotRepository>
1027 <id>ecomp-snapshots</id>
1028 <name>ECOMP Snapshot Repository</name>
1029 <url>${nexusproxy}${snapshot.path}</url>
1030 </snapshotRepository>
1033 <url>dav:${nexusproxy}${site.path}</url>
1035 </distributionManagement>