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.10</version>
31 <groupId>org.onap.aai.graphadmin</groupId>
32 <artifactId>aai-graphadmin</artifactId>
33 <version>1.6.4-SNAPSHOT</version>
37 <!-- Start of Compiler Related Properties -->
38 <mockito.core.version>1.10.19</mockito.core.version>
39 <java.version>1.8</java.version>
40 <maven.compiler.source>1.8</maven.compiler.source>
41 <maven.compiler.target>1.8</maven.compiler.target>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <!-- End of Compiler Related Properties -->
45 <!-- Start of Test Related Properties -->
46 <skip.unit.tests>false</skip.unit.tests>
47 <skip.integration.tests>true</skip.integration.tests>
48 <!-- End of Test Related Properties -->
50 <!-- Start of Docker Related Properties -->
51 <docker.fabric.version>0.28.0</docker.fabric.version>
52 <!-- Default docker registry that maven fabric plugin will try to pull from -->
53 <docker.registry>docker.io</docker.registry>
54 <!-- Specifying the docker push registry where the image should be pushed -->
55 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
56 <docker.push.registry>localhost:5000</docker.push.registry>
57 <aai.docker.version>1.0.0</aai.docker.version>
58 <aai.schema.version>1.6.6</aai.schema.version>
59 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
60 </aai.build.directory>
61 <aai.docker.namespace>onap</aai.docker.namespace>
62 <!-- base image for aai-common -->
63 <aai.base.image>alpine</aai.base.image>
64 <!-- aai-common image version -->
65 <aai.base.image.version>1.6.0</aai.base.image.version>
66 <!-- End of Docker Related Properties -->
68 <license.goal.type>check</license.goal.type>
71 Nexus Proxy Properties and Snapshot Locations
72 Ideally this can be overwritten at runtime per internal environment specific values at runtime
74 <nexusproxy>https://nexus.onap.org</nexusproxy>
75 <site.path>/content/sites/site/org/onap/aai/graphadmin/${project.artifactId}/${project.version}</site.path>
76 <release.path>/content/repositories/releases/</release.path>
77 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
78 <!-- GMaven plugin uses this property to figure out the name of the docker tag -->
79 <aai.project.version>${project.version}</aai.project.version>
81 <!-- Start of Database Related Properties -->
82 <!-- End of Database Related Properties -->
84 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
85 <start-class>org.onap.aai.GraphAdminApp</start-class>
87 <snapshot.file>${project.basedir}/snapshots/int1-data.graphson</snapshot.file>
88 <jacoco.line.coverage.limit>0.46</jacoco.line.coverage.limit>
90 <aai.common.version>1.6.10</aai.common.version>
92 <!-- Start of Default ONAP Schema Properties -->
93 <schema.source.name>onap</schema.source.name>
94 <schema.configuration.location>N/A</schema.configuration.location>
95 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
96 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
97 <schema.version.depth.start>v10</schema.version.depth.start>
98 <schema.version.related.link.start>v10</schema.version.related.link.start>
99 <schema.version.app.root.start>v11</schema.version.app.root.start>
100 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
101 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
102 <schema.version.api.default>v19</schema.version.api.default>
103 <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19</schema.version.list>
104 <schema.uri.base.path>/aai</schema.uri.base.path>
105 <!-- End of Default ONAP Schema Properties -->
109 <!-- Used during verify stage in Jenkins -->
113 <build.profile.id>all-tests</build.profile.id>
115 <!-- All tests are run. -->
116 <skip.integration.tests>false</skip.integration.tests>
117 <skip.unit.tests>false</skip.unit.tests>
124 <name>skipTests</name>
128 <!-- All tests are skipped. -->
129 <skip.integration.tests>true</skip.integration.tests>
130 <skip.unit.tests>true</skip.unit.tests>
137 <id>integration-test</id>
139 <!-- Only integration tests are run. -->
140 <build.profile.id>integration-test</build.profile.id>
141 <skip.integration.tests>false</skip.integration.tests>
142 <skip.unit.tests>true</skip.unit.tests>
145 <!-- Start of ONAP Profile -->
149 <schema.source.name>onap</schema.source.name>
150 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
151 <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19</schema.version.list>
154 <!-- End of ONAP Profile -->
158 <skipTests>${skip.unit.tests}</skipTests>
161 <defaultGoal>pre-integration-test</defaultGoal>
164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>exec-maven-plugin</artifactId>
166 <version>1.6.0</version>
169 <id>run-spring-boot</id>
170 <phase>package</phase>
177 <mainClass>${start-class}</mainClass>
180 <key>snapshot.location</key>
181 <value>${snapshot.file}</value>
184 <key>schema.source.name</key>
185 <value>${schema.source.name}</value>
188 <key>schema.configuration.location</key>
189 <value>${schema.configuration.location}</value>
192 <key>schema.nodes.location</key>
193 <value>${schema.nodes.location}</value>
196 <key>schema.edges.location</key>
197 <value>${schema.edges.location}</value>
200 <key>schema.version.depth.start</key>
201 <value>${schema.version.depth.start}</value>
204 <key>schema.version.related.link.start</key>
205 <value>${schema.version.related.link.start}</value>
208 <key>schema.version.app.root.start</key>
209 <value>${schema.version.app.root.start}</value>
212 <key>schema.version.namespace.change.start</key>
213 <value>${schema.version.namespace.change.start}</value>
216 <key>schema.version.edge.label.start</key>
217 <value>${schema.version.edge.label.start}</value>
220 <key>schema.version.api.default</key>
221 <value>${schema.version.api.default}</value>
224 <key>schema.version.list</key>
225 <value>${schema.version.list}</value>
228 <key>schema.uri.base.path</key>
229 <value>${schema.uri.base.path}</value>
232 <executable>java</executable>
238 <!-- Docker profile to be used for building docker image and pushing to nexus -->
244 <groupId>org.codehaus.groovy.maven</groupId>
245 <artifactId>gmaven-plugin</artifactId>
246 <version>1.0</version>
249 <phase>pre-clean</phase>
253 <phase>prepare-package</phase>
259 def userAaiBaseImage = session.userProperties['aai.base.image'];
260 def userAaiCommonVersion = session.userProperties['aai.base.image.version'];
261 if (userAaiCommonVersion != null) {
262 project.properties['aai.base.image.version'] = userAaiCommonVersion;
264 if (userAaiBaseImage != null) {
265 project.properties['aai.base.image'] = userAaiBaseImage;
267 log.info 'Base image flavour: ' + project.properties['aai.base.image'];
268 log.info 'Base image version: ' + project.properties['aai.base.image.version'];
275 <groupId>io.fabric8</groupId>
276 <artifactId>docker-maven-plugin</artifactId>
277 <version>${docker.fabric.version}</version>
279 <verbose>true</verbose>
280 <apiVersion>1.23</apiVersion>
283 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
288 <tag>${project.docker.latesttag.version}</tag>
289 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
291 <cleanup>try</cleanup>
292 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
297 <directory>${aai.build.directory}</directory>
298 <outputDirectory>/${project.artifactId}</outputDirectory>
309 <id>clean-images</id>
310 <phase>pre-clean</phase>
315 <removeAll>true</removeAll>
319 <id>generate-images</id>
320 <phase>package</phase>
327 <phase>deploy</phase>
339 <dependencyManagement>
342 <groupId>org.springframework.boot</groupId>
343 <artifactId>spring-boot-starter-parent</artifactId>
344 <version>${spring.boot.version}</version>
345 <scope>import</scope>
349 </dependencyManagement>
352 <!-- Start of Logback Dependencies -->
354 <groupId>com.att.eelf</groupId>
355 <artifactId>eelf-core</artifactId>
358 <groupId>ch.qos.logback</groupId>
359 <artifactId>logback-core</artifactId>
362 <groupId>ch.qos.logback</groupId>
363 <artifactId>logback-classic</artifactId>
366 <groupId>ch.qos.logback</groupId>
367 <artifactId>logback-access</artifactId>
369 <!-- End of Logback Dependencies -->
371 <groupId>com.google.guava</groupId>
372 <artifactId>guava</artifactId>
374 <!-- Start of Janus Graph Dependencies -->
376 <groupId>org.janusgraph</groupId>
377 <artifactId>janusgraph-core</artifactId>
380 <groupId>org.slf4j</groupId>
381 <artifactId>slf4j-log4j12</artifactId>
384 <groupId>dom4j</groupId>
385 <artifactId>dom4j</artifactId>
390 <groupId>org.janusgraph</groupId>
391 <artifactId>janusgraph-cassandra</artifactId>
394 <groupId>org.slf4j</groupId>
395 <artifactId>slf4j-log4j12</artifactId>
398 <groupId>dom4j</groupId>
399 <artifactId>dom4j</artifactId>
404 indirect janusgraph-cassandra dependency
405 need to be newer than default one
406 in order to support multiple cpu archs
409 <groupId>com.github.jnr</groupId>
410 <artifactId>jnr-ffi</artifactId>
413 <groupId>org.janusgraph</groupId>
414 <artifactId>janusgraph-cql</artifactId>
417 <groupId>org.slf4j</groupId>
418 <artifactId>slf4j-log4j12</artifactId>
422 <!-- End of Janus Graph Dependencies -->
423 <!-- Start of Tinkerpop Dependencies -->
425 <groupId>org.apache.tinkerpop</groupId>
426 <artifactId>tinkergraph-gremlin</artifactId>
430 <groupId>org.antlr</groupId>
431 <artifactId>antlr4-runtime</artifactId>
434 <groupId>org.apache.tinkerpop</groupId>
435 <artifactId>gremlin-core</artifactId>
438 <groupId>org.apache.tinkerpop</groupId>
439 <artifactId>gremlin-driver</artifactId>
442 <groupId>org.codehaus.groovy</groupId>
443 <artifactId>groovy</artifactId>
447 <!-- End of Tinkerpop Dependencies -->
449 <groupId>com.fasterxml.jackson.jaxrs</groupId>
450 <artifactId>jackson-jaxrs-json-provider</artifactId>
453 <groupId>org.json</groupId>
454 <artifactId>json</artifactId>
456 <!-- Start of JAXB Dependencies -->
458 <groupId>javax.xml.bind</groupId>
459 <artifactId>jaxb-api</artifactId>
461 <!-- End of JAXB Dependencies -->
463 <groupId>org.eclipse.persistence</groupId>
464 <artifactId>eclipselink</artifactId>
467 <groupId>org.eclipse.persistence</groupId>
468 <artifactId>org.eclipse.persistence.moxy</artifactId>
469 <scope>compile</scope>
472 <groupId>com.google.code.gson</groupId>
473 <artifactId>gson</artifactId>
476 Do not use activemq-all because they force you to use a specific logging
477 and they shade it so you can't simply exclude it and when you deploy the
478 jar, you will notice failure
481 <groupId>org.apache.activemq</groupId>
482 <artifactId>activemq-broker</artifactId>
485 <groupId>org.apache.activemq</groupId>
486 <artifactId>activemq-client</artifactId>
489 <groupId>org.onap.aai.aai-common</groupId>
490 <artifactId>aai-core</artifactId>
493 <groupId>com.sun.jersey</groupId>
494 <artifactId>jersey-core</artifactId>
497 <groupId>org.slf4j</groupId>
498 <artifactId>slf4j-log4j12</artifactId>
501 <groupId>org.apache.cxf</groupId>
502 <artifactId>cxf-core</artifactId>
505 <groupId>org.eclipse.jetty</groupId>
506 <artifactId>jetty-http</artifactId>
509 <groupId>org.eclipse.jetty</groupId>
510 <artifactId>jetty-server</artifactId>
513 <groupId>org.springframework</groupId>
514 <artifactId>spring-web</artifactId>
517 <groupId>org.codehaus.jackson</groupId>
518 <artifactId>jackson-mapper-asl</artifactId>
523 <groupId>com.sun.jersey</groupId>
524 <artifactId>jersey-client</artifactId>
527 <groupId>com.sun.jersey</groupId>
528 <artifactId>jersey-json</artifactId>
531 <groupId>org.codehaus.jackson</groupId>
532 <artifactId>jackson-mapper-asl</artifactId>
536 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
537 with jersey 2 which we are using -->
538 <!-- Use this to make http requests instead of jersey 1.0 client -->
540 <groupId>org.apache.httpcomponents</groupId>
541 <artifactId>httpclient</artifactId>
543 <!-- Start of Spring Framework Dependencies -->
545 Explicitly stating the security spring framework and
546 exclude the bouncy castle since that is somehow overwriting
547 our p12 file decryption that's built into java security
548 This will cause the password is incorrect
549 This needs to be added back if org.bouncy castle dependency
550 sneaks backs in and causing issues with the two way ssl
553 <groupId>org.springframework.security</groupId>
554 <artifactId>spring-security-rsa</artifactId>
557 <groupId>org.bouncycastle</groupId>
558 <artifactId>bcpkix-jdk15on</artifactId>
563 <groupId>org.springframework</groupId>
564 <artifactId>spring-jms</artifactId>
567 <groupId>com.sun.jersey</groupId>
568 <artifactId>jersey-core</artifactId>
573 <groupId>org.springframework.boot</groupId>
574 <artifactId>spring-boot-starter-web</artifactId>
577 <groupId>org.springframework.boot</groupId>
578 <artifactId>spring-boot-starter-tomcat</artifactId>
583 <groupId>org.springframework.boot</groupId>
584 <artifactId>spring-boot-starter-jetty</artifactId>
587 <groupId>org.springframework.boot</groupId>
588 <artifactId>spring-boot-starter-test</artifactId>
591 <groupId>org.springframework.boot</groupId>
592 <artifactId>spring-boot-starter-jersey</artifactId>
595 <groupId>org.springframework.boot</groupId>
596 <artifactId>spring-boot-starter-tomcat</artifactId>
601 <groupId>org.springframework</groupId>
602 <artifactId>spring-test</artifactId>
605 <!-- End of Spring Framework Dependencies -->
606 <!-- Start of Netty Dependencies -->
608 <groupId>io.netty</groupId>
609 <artifactId>netty-all</artifactId>
612 <groupId>io.netty</groupId>
613 <artifactId>netty-handler</artifactId>
615 <!-- End of Netty Dependencies -->
616 <!-- Start of Antlr dependencies for DSL -->
618 <groupId>org.antlr</groupId>
619 <artifactId>antlr4-runtime</artifactId>
622 <groupId>org.antlr</groupId>
623 <artifactId>antlr4-maven-plugin</artifactId>
626 <groupId>org.sonatype.sisu</groupId>
627 <artifactId>sisu-guava</artifactId>
631 <!-- End of Antlr dependencies for DSL -->
632 <!-- Start of Plexus dependencies for DSL -->
634 <groupId>org.codehaus.plexus</groupId>
635 <artifactId>plexus-utils</artifactId>
637 <!-- End of Plexus dependencies for DSL -->
638 <!-- Start of Junit Test Dependencies -->
640 <groupId>org.hamcrest</groupId>
641 <artifactId>hamcrest-junit</artifactId>
645 <groupId>junit</groupId>
646 <artifactId>junit</artifactId>
650 <groupId>org.mockito</groupId>
651 <artifactId>mockito-all</artifactId>
655 <groupId>org.skyscreamer</groupId>
656 <artifactId>jsonassert</artifactId>
659 <!-- End of Junit Test Dependencies -->
665 <!--This plugin's configuration is used to store Eclipse m2e settings
666 only. It has no influence on the Maven build itself. -->
668 <groupId>org.eclipse.m2e</groupId>
669 <artifactId>lifecycle-mapping</artifactId>
670 <version>1.0.0</version>
672 <lifecycleMappingMetadata>
675 <pluginExecutionFilter>
676 <groupId>com.github.kongchen</groupId>
677 <artifactId>swagger-maven-plugin</artifactId>
678 <versionRange>3.1.3</versionRange>
680 <goal>generate</goal>
682 </pluginExecutionFilter>
688 </lifecycleMappingMetadata>
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-dependency-plugin</artifactId>
694 <version>2.8</version>
697 <id>unpack-schema-dependency</id>
698 <phase>initialize</phase>
705 <groupId>org.onap.aai.schema-service</groupId>
706 <artifactId>aai-schema</artifactId>
707 <version>${aai.schema.version}</version>
708 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
709 <includes>**/oxm/**/*.xml</includes>
712 <!-- other configurations here -->
716 <id>unpack-edgerules-dependency</id>
717 <phase>initialize</phase>
724 <groupId>org.onap.aai.schema-service</groupId>
725 <artifactId>aai-schema</artifactId>
726 <version>${aai.schema.version}</version>
727 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
728 <includes>**/dbedgerules/**/*.json</includes>
731 <!-- other configurations here -->
737 <groupId>org.codehaus.groovy.maven</groupId>
738 <artifactId>gmaven-plugin</artifactId>
739 <version>1.0</version>
742 <phase>validate</phase>
748 println project.properties['aai.project.version'];
750 if (project.properties['aai.project.version'] != null) {
751 versionArray = project.properties['aai.project.version'].split('\\.');
754 project.properties["project.major.version"] = versionArray[0];
755 project.properties["project.minor.version"] = versionArray[1];
756 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
757 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
764 <groupId>org.apache.maven.plugins</groupId>
765 <artifactId>maven-deploy-plugin</artifactId>
768 <groupId>com.mycila</groupId>
769 <artifactId>license-maven-plugin</artifactId>
770 <version>3.0</version>
772 <header>LICENSE.TXT</header>
774 <include>src/main/java/**</include>
775 <include>src/test/java/**</include>
776 <include>pom.xml</include>
778 <skipExistingHeaders>true</skipExistingHeaders>
784 <!-- Set goal to "format" to auto update license headers -->
785 <goal>${license.goal.type}</goal>
787 <phase>process-sources</phase>
795 Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter
796 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
797 Use in combination to rewrite code and imports, then checkstyle
799 mvn formatter:format spotless:apply process-sources
802 <groupId>net.revelc.code.formatter</groupId>
803 <artifactId>formatter-maven-plugin</artifactId>
804 <version>2.8.1</version>
806 <configFile>${project.basedir}/onap-java-formatter.xml</configFile>
808 <!-- https://code.revelc.net/formatter-maven-plugin/
809 use mvn formatter:format to rewrite source files
810 use mvn formatter:validate to validate source files -->
813 <groupId>com.diffplug.spotless</groupId>
814 <artifactId>spotless-maven-plugin</artifactId>
815 <version>1.18.0</version>
819 <order>com,java,javax,org</order>
823 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven
824 use mvn spotless:apply to rewrite source files
825 use mvn spotless:check to validate source files -->
828 <groupId>org.apache.maven.plugins</groupId>
829 <artifactId>maven-site-plugin</artifactId>
830 <version>3.6</version>
834 <groupId>org.apache.maven.plugins</groupId>
835 <artifactId>maven-project-info-reports-plugin</artifactId>
836 <version>2.4</version>
838 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
839 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
842 <report>dependencies</report>
846 <groupId>org.apache.maven.plugins</groupId>
847 <artifactId>maven-javadoc-plugin</artifactId>
848 <version>2.8</version>
850 <additionalparam>-Xdoclint:none</additionalparam>
857 <groupId>org.apache.maven.wagon</groupId>
858 <artifactId>wagon-webdav-jackrabbit</artifactId>
859 <version>2.10</version>
864 <groupId>org.codehaus.groovy.maven</groupId>
865 <artifactId>gmaven-plugin</artifactId>
868 <groupId>com.mycila</groupId>
869 <artifactId>license-maven-plugin</artifactId>
872 <groupId>org.apache.maven.plugins</groupId>
873 <artifactId>maven-clean-plugin</artifactId>
874 <version>2.4.1</version>
878 <directory>${project.basedir}/src/main/resources/etc/oxm</directory>
880 <include>**/*</include>
882 <followSymlinks>false</followSymlinks>
885 <directory>${project.basedir}/src/main/resources/etc/dbedgerules</directory>
887 <include>**/*</include>
889 <followSymlinks>false</followSymlinks>
892 <directory>${project.basedir}/src/main/resources/schema</directory>
894 <include>**/*</include>
896 <followSymlinks>false</followSymlinks>
902 <artifactId>maven-dependency-plugin</artifactId>
904 <!-- Used for unit tests -->
906 <groupId>org.apache.maven.plugins</groupId>
907 <artifactId>maven-surefire-plugin</artifactId>
909 <!-- <argLine>-noverify ${argLine}</argLine> -->
910 <runOrder>alphabetical</runOrder>
914 <groupId>org.springframework.boot</groupId>
915 <artifactId>spring-boot-maven-plugin</artifactId>
917 Issue with the spring 1.5.15.RELEASE plugin is causing build errors
918 due to the fact that the plugin 1.5.15.RELEASE was built using maven 3.5 while
919 the current build version being used by our jenkins is 3.3.9
921 <version>1.5.21.RELEASE</version>
923 <mainClass>${start-class}</mainClass>
929 <goal>repackage</goal>
935 <artifactId>maven-assembly-plugin</artifactId>
938 <descriptor>src/main/assembly/descriptor.xml</descriptor>
943 <id>make-assembly</id> <!-- this is used for inheritance merges -->
944 <phase>package</phase> <!-- bind to the packaging phase -->
952 <groupId>org.antlr</groupId>
953 <artifactId>antlr4-maven-plugin</artifactId>
954 <version>4.7</version>
961 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
962 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
968 <!-- mention the logback.xml location through system property or environment
969 variable to edit logback.xml at run time -->
972 <directory>src/main/resources</directory>
973 <filtering>true</filtering>
975 <include>**/*</include>
979 <directory>${project.basedir}/src/main/swm</directory>
980 <targetPath>${project.build.directory}/swm</targetPath>
981 <filtering>false</filtering>
984 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
986 <include>janusgraph-realtime.properties</include>
987 <include>janusgraph-cached.properties</include>
988 <include>aaiconfig.properties</include>
989 <include>aaiEventDMaaPPublisher.properties</include>
990 <include>preferredRoute.txt</include>
991 <include>datatoolscrons.properties</include>
993 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
995 <filtering>false</filtering>
998 <directory>${project.basedir}/src/main/resources</directory>
1000 <include>application.properties</include>
1001 <include>*logback.xml</include>
1002 <include>hbase-site.xml</include>
1004 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
1006 <filtering>false</filtering>
1009 <directory>${project.basedir}/src/main/resources/schema/</directory>
1011 <include>**/oxm/**/*.xml</include>
1012 <include>**/dbedgerules/**/*.json</include>
1014 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
1015 <filtering>false</filtering>
1018 <directory>${project.basedir}/src/main/docker</directory>
1020 <include>**/*</include>
1022 <targetPath>${aai.build.directory}</targetPath>
1023 <filtering>true</filtering>
1026 <directory>${project.basedir}/src/main/resources/etc/auth</directory>
1028 <include>**/*</include>
1030 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig
1032 <filtering>false</filtering>
1035 Place any files related for migration related into migration-input-files
1036 so they can be packaged into this location here so it can be volumed
1037 into the container as one folder rather than do this for each subfolder
1040 <directory>${project.basedir}/src/main/resources/migration-input-files</directory>
1042 <include>**/*</include>
1045 ${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/migration-input-files
1047 <filtering>false</filtering>
1052 <distributionManagement>
1053 <snapshotRepository>
1054 <id>ecomp-snapshots</id>
1055 <name>ECOMP Snapshot Repository</name>
1056 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
1057 </snapshotRepository>
1060 <url>dav:${onap.nexus.url}${sitePath}</url>
1062 </distributionManagement>
1066 <groupId>org.apache.maven.plugins</groupId>
1067 <artifactId>maven-javadoc-plugin</artifactId>
1068 <version>2.10.4</version>
1070 <failOnError>false</failOnError>
1071 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1073 <groupId>org.umlgraph</groupId>
1074 <artifactId>umlgraph</artifactId>
1075 <version>5.6</version>
1077 <additionalparam>-views -Xdoclint:none</additionalparam>
1078 <excludePackageNames>org.onap.aai.domain.yang.*:org.onap.aai.util.*</excludePackageNames>
1079 <useStandardDocletOptions>true</useStandardDocletOptions>
1085 <!-- Start of ONAP Specific Repositories -->
1089 <name>AJSC repository</name>
1090 <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
1094 <name>maven reslet</name>
1095 <url>https://maven.restlet.com/</url>
1100 <name>Maven 2 repository 2</name>
1101 <url>http://repo2.maven.org/maven2/</url>
1104 <id>ecomp-releases</id>
1105 <name>ECOMP Release Repository</name>
1106 <url>${onap.nexus.url}/content/repositories/releases/</url>
1109 <id>ecomp-staging</id>
1110 <name>ECOMP Staging Repository</name>
1111 <url>${onap.nexus.url}/content/repositories/staging/</url>
1114 <id>ecomp-snapshots</id>
1115 <name>ECOMP Snapshot Repository</name>
1116 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
1119 <!-- End of ONAP Specific Repositories -->