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>
27 <groupId>org.onap.aai.aai-common</groupId>
28 <artifactId>aai-parent</artifactId>
29 <version>1.6.3</version>
31 <groupId>org.onap.aai.graphadmin</groupId>
32 <artifactId>aai-graphadmin</artifactId>
33 <version>1.6.3-SNAPSHOT</version>
37 <!-- Start of Compiler Related Properties -->
38 <java.version>1.8</java.version>
39 <maven.compiler.source>1.8</maven.compiler.source>
40 <maven.compiler.target>1.8</maven.compiler.target>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <!-- End of Compiler Related Properties -->
44 <!-- Start of Test Related Properties -->
45 <skip.unit.tests>false</skip.unit.tests>
46 <skip.integration.tests>true</skip.integration.tests>
47 <!-- End of Test Related Properties -->
49 <!-- Start of Sonar Related Properties -->
50 <sonar.language>java</sonar.language>
51 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
52 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
53 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
54 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
55 <sonar.projectVersion>${project.version}</sonar.projectVersion>
56 <!-- End of Sonar Related Properties -->
58 <!-- Start of Docker Related Properties -->
59 <docker.fabric.version>0.28.0</docker.fabric.version>
60 <!-- Default docker registry that maven fabric plugin will try to pull from -->
61 <docker.registry>docker.io</docker.registry>
62 <!-- Specifying the docker push registry where the image should be pushed -->
63 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
64 <docker.push.registry>localhost:5000</docker.push.registry>
65 <aai.docker.version>1.0.0</aai.docker.version>
66 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
67 </aai.build.directory>
68 <aai.docker.namespace>onap</aai.docker.namespace>
69 <!-- base image for aai-common -->
70 <aai.base.image>alpine</aai.base.image>
71 <!-- aai-common image version -->
72 <aai.base.image.version>1.6.0</aai.base.image.version>
73 <!-- End of Docker Related Properties -->
75 <license.goal.type>check</license.goal.type>
78 Nexus Proxy Properties and Snapshot Locations
79 Ideally this can be overwritten at runtime per internal environment specific values at runtime
81 <nexusproxy>https://nexus.onap.org</nexusproxy>
82 <site.path>/content/sites/site/org/onap/aai/graphadmin/${project.artifactId}/${project.version}</site.path>
83 <release.path>/content/repositories/releases/</release.path>
84 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
85 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
86 <aai.project.version>${project.version}</aai.project.version>
88 <!-- Start of Database Related Properties -->
89 <!-- End of Database Related Properties -->
91 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
92 <start-class>org.onap.aai.GraphAdminApp</start-class>
94 <snapshot.file>${project.basedir}/snapshots/int1-data.graphson</snapshot.file>
95 <jacoco.line.coverage.limit>0.46</jacoco.line.coverage.limit>
97 <!-- Start of Default ONAP Schema Properties -->
98 <schema.source.name>onap</schema.source.name>
99 <schema.configuration.location>N/A</schema.configuration.location>
100 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
101 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
102 <schema.version.depth.start>v10</schema.version.depth.start>
103 <schema.version.related.link.start>v10</schema.version.related.link.start>
104 <schema.version.app.root.start>v11</schema.version.app.root.start>
105 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
106 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
107 <schema.version.api.default>v16</schema.version.api.default>
108 <schema.version.list>v10,v11,v12,v13,v14,v15,v16</schema.version.list>
109 <schema.uri.base.path>/aai</schema.uri.base.path>
110 <!-- End of Default ONAP Schema Properties -->
114 <!-- Used during verify stage in Jenkins -->
118 <build.profile.id>all-tests</build.profile.id>
120 <!-- All tests are run. -->
121 <skip.integration.tests>false</skip.integration.tests>
122 <skip.unit.tests>false</skip.unit.tests>
129 <name>skipTests</name>
133 <!-- All tests are skipped. -->
134 <skip.integration.tests>true</skip.integration.tests>
135 <skip.unit.tests>true</skip.unit.tests>
142 <id>integration-test</id>
144 <!-- Only integration tests are run. -->
145 <build.profile.id>integration-test</build.profile.id>
146 <skip.integration.tests>false</skip.integration.tests>
147 <skip.unit.tests>true</skip.unit.tests>
150 <!-- Start of ONAP Profile -->
154 <schema.source.name>onap</schema.source.name>
155 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
156 <schema.version.list>v10,v11,v12,v13,v14,v15,v16</schema.version.list>
159 <!-- End of ONAP Profile -->
163 <skipTests>${skip.unit.tests}</skipTests>
166 <defaultGoal>pre-integration-test</defaultGoal>
169 <groupId>org.codehaus.mojo</groupId>
170 <artifactId>exec-maven-plugin</artifactId>
171 <version>1.6.0</version>
174 <id>run-spring-boot</id>
175 <phase>package</phase>
182 <mainClass>${start-class}</mainClass>
185 <key>snapshot.location</key>
186 <value>${snapshot.file}</value>
189 <key>schema.source.name</key>
190 <value>${schema.source.name}</value>
193 <key>schema.configuration.location</key>
194 <value>${schema.configuration.location}</value>
197 <key>schema.nodes.location</key>
198 <value>${schema.nodes.location}</value>
201 <key>schema.edges.location</key>
202 <value>${schema.edges.location}</value>
205 <key>schema.version.depth.start</key>
206 <value>${schema.version.depth.start}</value>
209 <key>schema.version.related.link.start</key>
210 <value>${schema.version.related.link.start}</value>
213 <key>schema.version.app.root.start</key>
214 <value>${schema.version.app.root.start}</value>
217 <key>schema.version.namespace.change.start</key>
218 <value>${schema.version.namespace.change.start}</value>
221 <key>schema.version.edge.label.start</key>
222 <value>${schema.version.edge.label.start}</value>
225 <key>schema.version.api.default</key>
226 <value>${schema.version.api.default}</value>
229 <key>schema.version.list</key>
230 <value>${schema.version.list}</value>
233 <key>schema.uri.base.path</key>
234 <value>${schema.uri.base.path}</value>
237 <executable>java</executable>
243 <!-- Docker profile to be used for building docker image and pushing to nexus -->
249 <groupId>org.codehaus.groovy.maven</groupId>
250 <artifactId>gmaven-plugin</artifactId>
251 <version>1.0</version>
254 <phase>pre-clean</phase>
258 <phase>prepare-package</phase>
264 def userAaiBaseImage = session.userProperties['aai.base.image'];
265 def userAaiCommonVersion = session.userProperties['aai.base.image.version'];
266 if (userAaiCommonVersion != null) {
267 project.properties['aai.base.image.version'] = userAaiCommonVersion;
269 if (userAaiBaseImage != null) {
270 project.properties['aai.base.image'] = userAaiBaseImage;
272 log.info 'Base image flavour: ' + project.properties['aai.base.image'];
273 log.info 'Base image version: ' + project.properties['aai.base.image.version'];
280 <groupId>io.fabric8</groupId>
281 <artifactId>docker-maven-plugin</artifactId>
282 <version>${docker.fabric.version}</version>
284 <verbose>true</verbose>
285 <apiVersion>1.23</apiVersion>
288 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
293 <tag>${project.docker.latesttag.version}</tag>
294 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
296 <cleanup>try</cleanup>
297 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
302 <directory>${aai.build.directory}</directory>
303 <outputDirectory>/${project.artifactId}</outputDirectory>
314 <id>clean-images</id>
315 <phase>pre-clean</phase>
320 <removeAll>true</removeAll>
324 <id>generate-images</id>
325 <phase>package</phase>
332 <phase>deploy</phase>
344 <dependencyManagement>
347 <groupId>org.springframework.boot</groupId>
348 <artifactId>spring-boot-starter-parent</artifactId>
349 <version>${spring.boot.version}</version>
350 <scope>import</scope>
354 </dependencyManagement>
357 <!-- Start of Logback Dependencies -->
359 <groupId>com.att.eelf</groupId>
360 <artifactId>eelf-core</artifactId>
363 <groupId>ch.qos.logback</groupId>
364 <artifactId>logback-core</artifactId>
367 <groupId>ch.qos.logback</groupId>
368 <artifactId>logback-classic</artifactId>
371 <groupId>ch.qos.logback</groupId>
372 <artifactId>logback-access</artifactId>
374 <!-- End of Logback Dependencies -->
376 <groupId>com.google.guava</groupId>
377 <artifactId>guava</artifactId>
379 <!-- Start of Janus Graph Dependencies -->
381 <groupId>org.janusgraph</groupId>
382 <artifactId>janusgraph-core</artifactId>
385 <groupId>org.slf4j</groupId>
386 <artifactId>slf4j-log4j12</artifactId>
389 <groupId>dom4j</groupId>
390 <artifactId>dom4j</artifactId>
395 <groupId>org.janusgraph</groupId>
396 <artifactId>janusgraph-cassandra</artifactId>
399 <groupId>org.slf4j</groupId>
400 <artifactId>slf4j-log4j12</artifactId>
403 <groupId>dom4j</groupId>
404 <artifactId>dom4j</artifactId>
409 indirect janusgraph-cassandra dependency
410 need to be newer than default one
411 in order to support multiple cpu archs
414 <groupId>com.github.jnr</groupId>
415 <artifactId>jnr-ffi</artifactId>
418 <groupId>org.janusgraph</groupId>
419 <artifactId>janusgraph-cql</artifactId>
422 <groupId>org.slf4j</groupId>
423 <artifactId>slf4j-log4j12</artifactId>
427 <!-- End of Janus Graph Dependencies -->
428 <!-- Start of Tinkerpop Dependencies -->
430 <groupId>org.apache.tinkerpop</groupId>
431 <artifactId>tinkergraph-gremlin</artifactId>
435 <groupId>org.antlr</groupId>
436 <artifactId>antlr4-runtime</artifactId>
439 <groupId>org.apache.tinkerpop</groupId>
440 <artifactId>gremlin-core</artifactId>
443 <groupId>org.apache.tinkerpop</groupId>
444 <artifactId>gremlin-driver</artifactId>
447 <groupId>org.codehaus.groovy</groupId>
448 <artifactId>groovy</artifactId>
452 <!-- End of Tinkerpop Dependencies -->
454 <groupId>com.fasterxml.jackson.jaxrs</groupId>
455 <artifactId>jackson-jaxrs-json-provider</artifactId>
458 <groupId>org.json</groupId>
459 <artifactId>json</artifactId>
461 <!-- Start of JAXB Dependencies -->
463 <groupId>javax.xml.bind</groupId>
464 <artifactId>jaxb-api</artifactId>
466 <!-- End of JAXB Dependencies -->
468 <groupId>org.eclipse.persistence</groupId>
469 <artifactId>eclipselink</artifactId>
472 <groupId>org.eclipse.persistence</groupId>
473 <artifactId>org.eclipse.persistence.moxy</artifactId>
474 <scope>compile</scope>
477 <groupId>com.google.code.gson</groupId>
478 <artifactId>gson</artifactId>
481 Do not use activemq-all because they force you to use a specific logging
482 and they shade it so you can't simply exclude it and when you deploy the
483 jar, you will notice failure
486 <groupId>org.apache.activemq</groupId>
487 <artifactId>activemq-broker</artifactId>
490 <groupId>org.apache.activemq</groupId>
491 <artifactId>activemq-client</artifactId>
494 <groupId>org.onap.aai.aai-common</groupId>
495 <artifactId>aai-core</artifactId>
498 <groupId>com.sun.jersey</groupId>
499 <artifactId>jersey-core</artifactId>
502 <groupId>org.slf4j</groupId>
503 <artifactId>slf4j-log4j12</artifactId>
506 <groupId>org.apache.cxf</groupId>
507 <artifactId>cxf-core</artifactId>
510 <groupId>org.eclipse.jetty</groupId>
511 <artifactId>jetty-http</artifactId>
514 <groupId>org.eclipse.jetty</groupId>
515 <artifactId>jetty-server</artifactId>
518 <groupId>org.springframework</groupId>
519 <artifactId>spring-web</artifactId>
522 <groupId>org.codehaus.jackson</groupId>
523 <artifactId>jackson-mapper-asl</artifactId>
528 <groupId>com.sun.jersey</groupId>
529 <artifactId>jersey-client</artifactId>
532 <groupId>com.sun.jersey</groupId>
533 <artifactId>jersey-json</artifactId>
536 <groupId>org.codehaus.jackson</groupId>
537 <artifactId>jackson-mapper-asl</artifactId>
541 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
542 with jersey 2 which we are using -->
543 <!-- Use this to make http requests instead of jersey 1.0 client -->
545 <groupId>org.apache.httpcomponents</groupId>
546 <artifactId>httpclient</artifactId>
548 <!-- Start of Spring Framework Dependencies -->
550 Explicitly stating the security spring framework and
551 exclude the bouncy castle since that is somehow overwriting
552 our p12 file decryption that's built into java security
553 This will cause the password is incorrect
554 This needs to be added back if org.bouncy castle dependency
555 sneaks backs in and causing issues with the two way ssl
558 <groupId>org.springframework.security</groupId>
559 <artifactId>spring-security-rsa</artifactId>
562 <groupId>org.bouncycastle</groupId>
563 <artifactId>bcpkix-jdk15on</artifactId>
568 <groupId>org.springframework</groupId>
569 <artifactId>spring-jms</artifactId>
572 <groupId>com.sun.jersey</groupId>
573 <artifactId>jersey-core</artifactId>
578 <groupId>org.springframework.boot</groupId>
579 <artifactId>spring-boot-starter-web</artifactId>
582 <groupId>org.springframework.boot</groupId>
583 <artifactId>spring-boot-starter-tomcat</artifactId>
588 <groupId>org.springframework.boot</groupId>
589 <artifactId>spring-boot-starter-jetty</artifactId>
592 <groupId>org.springframework.boot</groupId>
593 <artifactId>spring-boot-starter-test</artifactId>
596 <groupId>org.springframework.boot</groupId>
597 <artifactId>spring-boot-starter-jersey</artifactId>
600 <groupId>org.springframework.boot</groupId>
601 <artifactId>spring-boot-starter-tomcat</artifactId>
606 <groupId>org.springframework</groupId>
607 <artifactId>spring-test</artifactId>
610 <!-- End of Spring Framework Dependencies -->
611 <!-- Start of Netty Dependencies -->
613 <groupId>io.netty</groupId>
614 <artifactId>netty-all</artifactId>
617 <groupId>io.netty</groupId>
618 <artifactId>netty-handler</artifactId>
620 <!-- End of Netty Dependencies -->
621 <!-- Start of Antlr dependencies for DSL -->
623 <groupId>org.antlr</groupId>
624 <artifactId>antlr4-runtime</artifactId>
627 <groupId>org.antlr</groupId>
628 <artifactId>antlr4-maven-plugin</artifactId>
631 <groupId>org.sonatype.sisu</groupId>
632 <artifactId>sisu-guava</artifactId>
636 <!-- End of Antlr dependencies for DSL -->
637 <!-- Start of Plexus dependencies for DSL -->
639 <groupId>org.codehaus.plexus</groupId>
640 <artifactId>plexus-utils</artifactId>
642 <!-- End of Plexus dependencies for DSL -->
643 <!-- Start of Junit Test Dependencies -->
645 <groupId>org.hamcrest</groupId>
646 <artifactId>hamcrest-junit</artifactId>
650 <groupId>junit</groupId>
651 <artifactId>junit</artifactId>
655 <groupId>org.mockito</groupId>
656 <artifactId>mockito-all</artifactId>
660 <groupId>org.skyscreamer</groupId>
661 <artifactId>jsonassert</artifactId>
664 <!-- End of Junit Test Dependencies -->
670 <!--This plugin's configuration is used to store Eclipse m2e settings
671 only. It has no influence on the Maven build itself. -->
673 <groupId>org.eclipse.m2e</groupId>
674 <artifactId>lifecycle-mapping</artifactId>
675 <version>1.0.0</version>
677 <lifecycleMappingMetadata>
680 <pluginExecutionFilter>
681 <groupId>com.github.kongchen</groupId>
682 <artifactId>swagger-maven-plugin</artifactId>
683 <versionRange>3.1.3</versionRange>
685 <goal>generate</goal>
687 </pluginExecutionFilter>
693 </lifecycleMappingMetadata>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-dependency-plugin</artifactId>
699 <version>2.8</version>
702 <id>unpack-schema-dependency</id>
703 <phase>initialize</phase>
710 <groupId>org.onap.aai.schema-service</groupId>
711 <artifactId>aai-schema</artifactId>
712 <version>${aai.schema.version}</version>
713 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
714 <includes>**/oxm/**/*.xml</includes>
717 <!-- other configurations here -->
721 <id>unpack-edgerules-dependency</id>
722 <phase>initialize</phase>
729 <groupId>org.onap.aai.schema-service</groupId>
730 <artifactId>aai-schema</artifactId>
731 <version>${aai.schema.version}</version>
732 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
733 <includes>**/dbedgerules/**/*.json</includes>
736 <!-- other configurations here -->
742 <groupId>org.codehaus.groovy.maven</groupId>
743 <artifactId>gmaven-plugin</artifactId>
744 <version>1.0</version>
747 <phase>validate</phase>
753 println project.properties['aai.project.version'];
755 if (project.properties['aai.project.version'] != null) {
756 versionArray = project.properties['aai.project.version'].split('\\.');
759 project.properties["project.major.version"] = versionArray[0];
760 project.properties["project.minor.version"] = versionArray[1];
761 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
762 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-deploy-plugin</artifactId>
773 <groupId>com.mycila</groupId>
774 <artifactId>license-maven-plugin</artifactId>
775 <version>3.0</version>
777 <header>LICENSE.TXT</header>
779 <include>src/main/java/**</include>
780 <include>src/test/java/**</include>
781 <include>pom.xml</include>
783 <skipExistingHeaders>true</skipExistingHeaders>
789 <!-- Set goal to "format" to auto update license headers -->
790 <goal>${license.goal.type}</goal>
792 <phase>process-sources</phase>
800 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
801 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
802 Use in combination to rewrite code and imports, then checkstyle
804 mvn formatter:format spotless:apply process-sources
807 <groupId>net.revelc.code.formatter</groupId>
808 <artifactId>formatter-maven-plugin</artifactId>
809 <version>2.8.1</version>
811 <configFile>${project.basedir}/onap-java-formatter.xml</configFile>
813 <!-- https://code.revelc.net/formatter-maven-plugin/
814 use mvn formatter:format to rewrite source files
815 use mvn formatter:validate to validate source files -->
818 <groupId>com.diffplug.spotless</groupId>
819 <artifactId>spotless-maven-plugin</artifactId>
820 <version>1.18.0</version>
824 <order>com,java,javax,org</order>
828 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
829 use mvn spotless:apply to rewrite source files
830 use mvn spotless:check to validate source files -->
833 <groupId>org.apache.maven.plugins</groupId>
834 <artifactId>maven-site-plugin</artifactId>
835 <version>3.6</version>
839 <groupId>org.apache.maven.plugins</groupId>
840 <artifactId>maven-project-info-reports-plugin</artifactId>
841 <version>2.4</version>
843 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
844 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
847 <report>dependencies</report>
851 <groupId>org.apache.maven.plugins</groupId>
852 <artifactId>maven-javadoc-plugin</artifactId>
853 <version>2.8</version>
855 <additionalparam>-Xdoclint:none</additionalparam>
862 <groupId>org.apache.maven.wagon</groupId>
863 <artifactId>wagon-webdav-jackrabbit</artifactId>
864 <version>2.10</version>
869 <groupId>org.codehaus.mojo</groupId>
870 <artifactId>sonar-maven-plugin</artifactId>
871 <version>3.3</version>
874 <groupId>org.codehaus.groovy.maven</groupId>
875 <artifactId>gmaven-plugin</artifactId>
878 <groupId>com.mycila</groupId>
879 <artifactId>license-maven-plugin</artifactId>
882 <groupId>org.apache.maven.plugins</groupId>
883 <artifactId>maven-clean-plugin</artifactId>
884 <version>2.4.1</version>
888 <directory>${project.basedir}/src/main/resources/etc/oxm</directory>
890 <include>**/*</include>
892 <followSymlinks>false</followSymlinks>
895 <directory>${project.basedir}/src/main/resources/etc/dbedgerules</directory>
897 <include>**/*</include>
899 <followSymlinks>false</followSymlinks>
902 <directory>${project.basedir}/src/main/resources/schema</directory>
904 <include>**/*</include>
906 <followSymlinks>false</followSymlinks>
912 <artifactId>maven-dependency-plugin</artifactId>
915 <groupId>org.jacoco</groupId>
916 <artifactId>jacoco-maven-plugin</artifactId>
917 <version>0.7.9</version>
919 <dumpOnExit>true</dumpOnExit>
923 <id>jacoco-initialize-unit-tests</id>
925 <goal>prepare-agent</goal>
928 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
929 <!-- <append>true</append> -->
933 <id>post-unit-test</id>
939 <!-- Sets the path to the file which contains the execution data. -->
940 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
941 <!-- Sets the output directory for the code coverage report. -->
942 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
946 <id>default-check</id>
951 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
953 <!-- implementation is needed only for Maven 2 -->
954 <rule implementation="org.jacoco.maven.RuleConfiguration">
955 <element>BUNDLE</element>
957 <limit implementation="org.jacoco.report.check.Limit">
958 <counter>LINE</counter>
959 <value>COVEREDRATIO</value>
960 <minimum>${jacoco.line.coverage.limit}</minimum>
969 <!-- Used for unit tests -->
971 <groupId>org.apache.maven.plugins</groupId>
972 <artifactId>maven-surefire-plugin</artifactId>
973 <version>2.12.4</version>
975 <argLine>-noverify ${argLine}</argLine>
976 <runOrder>alphabetical</runOrder>
980 <groupId>org.springframework.boot</groupId>
981 <artifactId>spring-boot-maven-plugin</artifactId>
983 Issue with the spring 1.5.15.RELEASE plugin is causing build errors
984 due to the fact that the plugin 1.5.15.RELEASE was built using maven 3.5 while
985 the current build version being used by our jenkins is 3.3.9
987 <version>1.5.21.RELEASE</version>
989 <mainClass>${start-class}</mainClass>
995 <goal>repackage</goal>
1001 <artifactId>maven-assembly-plugin</artifactId>
1004 <descriptor>src/main/assembly/descriptor.xml</descriptor>
1009 <id>make-assembly</id> <!-- this is used for inheritance merges -->
1010 <phase>package</phase> <!-- bind to the packaging phase -->
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 <!-- mention the logback.xml location through system property or environment
1035 variable to edit logback.xml at run time -->
1038 <directory>src/main/resources</directory>
1039 <filtering>true</filtering>
1041 <include>**/*</include>
1045 <directory>${project.basedir}/src/main/swm</directory>
1046 <targetPath>${project.build.directory}/swm</targetPath>
1047 <filtering>false</filtering>
1050 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
1052 <include>janusgraph-realtime.properties</include>
1053 <include>janusgraph-cached.properties</include>
1054 <include>aaiconfig.properties</include>
1055 <include>aaiEventDMaaPPublisher.properties</include>
1056 <include>preferredRoute.txt</include>
1057 <include>datatoolscrons.properties</include>
1059 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
1061 <filtering>false</filtering>
1064 <directory>${project.basedir}/src/main/resources</directory>
1066 <include>application.properties</include>
1067 <include>*logback.xml</include>
1068 <include>hbase-site.xml</include>
1070 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
1072 <filtering>false</filtering>
1075 <directory>${project.basedir}/src/main/resources/schema/</directory>
1077 <include>**/oxm/**/*.xml</include>
1078 <include>**/dbedgerules/**/*.json</include>
1080 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
1081 <filtering>false</filtering>
1084 <directory>${project.basedir}/src/main/docker</directory>
1086 <include>**/*</include>
1088 <targetPath>${aai.build.directory}</targetPath>
1089 <filtering>true</filtering>
1092 <directory>${project.basedir}/src/main/resources/etc/auth</directory>
1094 <include>**/*</include>
1096 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
1098 <filtering>false</filtering>
1101 Place any files related for migration related into migration-input-files
1102 so they can be packaged into this location here so it can be volumed
1103 into the container as one folder rather than do this for each subfolder
1106 <directory>${project.basedir}/src/main/resources/migration-input-files</directory>
1108 <include>**/*</include>
1111 ${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/migration-input-files
1113 <filtering>false</filtering>
1118 <distributionManagement>
1119 <snapshotRepository>
1120 <id>ecomp-snapshots</id>
1121 <name>ECOMP Snapshot Repository</name>
1122 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
1123 </snapshotRepository>
1126 <url>dav:${onap.nexus.url}${sitePath}</url>
1128 </distributionManagement>
1132 <groupId>org.apache.maven.plugins</groupId>
1133 <artifactId>maven-javadoc-plugin</artifactId>
1134 <version>2.10.4</version>
1136 <failOnError>false</failOnError>
1137 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1139 <groupId>org.umlgraph</groupId>
1140 <artifactId>umlgraph</artifactId>
1141 <version>5.6</version>
1143 <additionalparam>-views -Xdoclint:none</additionalparam>
1144 <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
1145 <useStandardDocletOptions>true</useStandardDocletOptions>
1151 <!-- Start of ONAP Specific Repositories -->
1155 <name>AJSC repository</name>
1156 <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
1160 <name>maven reslet</name>
1161 <url>https://maven.restlet.com/</url>
1166 <name>Maven 2 repository 2</name>
1167 <url>http://repo2.maven.org/maven2/</url>
1170 <id>ecomp-releases</id>
1171 <name>ECOMP Release Repository</name>
1172 <url>${onap.nexus.url}/content/repositories/releases/</url>
1175 <id>ecomp-staging</id>
1176 <name>ECOMP Staging Repository</name>
1177 <url>${onap.nexus.url}/content/repositories/staging/</url>
1180 <id>ecomp-snapshots</id>
1181 <name>ECOMP Snapshot Repository</name>
1182 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
1185 <!-- End of ONAP Specific Repositories -->