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.traversal</groupId>
27 <artifactId>aai-traversal</artifactId>
28 <version>1.3.0-SNAPSHOT</version>
31 <groupId>org.onap.aai.traversal</groupId>
32 <artifactId>traversal</artifactId>
33 <version>1.3.0-SNAPSHOT</version>
37 <java.version>1.8</java.version>
38 <start-class>org.onap.aai.TraversalApp</start-class>
40 <maven.skip.tests>true</maven.skip.tests>
41 <maven.compiler.source>1.8</maven.compiler.source>
42 <maven.compiler.target>1.8</maven.compiler.target>
44 <aai.schema.version>1.3.0-SNAPSHOT</aai.schema.version>
45 <aai.core.version>1.3.0-SNAPSHOT</aai.core.version>
47 <spring.boot.version>1.5.15.RELEASE</spring.boot.version>
49 <!-- Start of the jacoco plugin 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 the jacoco plugin properties -->
58 <jolt.version>0.0.24</jolt.version>
59 <jopt.simple.version>4.9</jopt.simple.version>
61 <io.swagger.version>1.5.8</io.swagger.version>
62 <apache.log4j.version>1.2.17</apache.log4j.version>
64 <commons.beanutils.version>1.9.2</commons.beanutils.version>
65 <commons.compress.version>1.10</commons.compress.version>
66 <commons.configuration.version>1.9</commons.configuration.version>
68 <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
69 <scamper.encryption.version>1.8.20</scamper.encryption.version>
70 <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
71 <scamper.version>1.8.36</scamper.version>
72 <aaf.version>2.1.2-SNAPSHOT</aaf.version>
73 <commons.lang.version>2.6</commons.lang.version>
74 <eelf.core.version>1.0.0</eelf.core.version>
75 <logback.version>1.2.3</logback.version>
76 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
77 <janino.version>2.7.8</janino.version>
78 <google.guava.version>19.0</google.guava.version>
79 <janusgraph.version>0.2.0</janusgraph.version>
80 <gremlin.version>3.2.2</gremlin.version>
81 <smack.version>3.0.4</smack.version>
82 <json.simple.version>1.1.1</json.simple.version>
83 <mockito.version>1.10.19</mockito.version>
84 <powermock.version>1.6.2</powermock.version>
85 <jcommander.version>1.48</jcommander.version>
86 <json.version>20090211</json.version>
87 <freemarker.version>2.3.21</freemarker.version>
88 <jaxb.version>2.2.11</jaxb.version>
89 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
90 <json.patch.version>1.9</json.patch.version>
91 <javatuples.version>1.2</javatuples.version>
92 <gson.version>2.7</gson.version>
93 <dmaap.client.version>0.2.12</dmaap.client.version>
94 <httpcore.version>4.4</httpcore.version>
95 <json.path.version>2.2.0</json.path.version>
96 <activemq.version>5.15.6</activemq.version>
97 <httpclient.version>4.5.3</httpclient.version>
98 <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
99 <spotify.docker.version>0.4.11</spotify.docker.version>
100 <spring.security.version>1.0.3.RELEASE</spring.security.version>
102 <dme2.version>2.8.5</dme2.version>
103 <async.retry.version>0.0.7</async.retry.version>
104 <jsonassert.version>1.4.0</jsonassert.version>
106 <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
108 <docker.fabric.version>0.23.0</docker.fabric.version>
109 <!-- Default docker registry that maven fabric plugin will try to pull from -->
110 <docker.registry>docker.io</docker.registry>
111 <!-- Specifying the docker push registry where the image should be pushed -->
112 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
113 <docker.push.registry>localhost:5000</docker.push.registry>
116 Location where assembly of our scripts, resources and main jar will be held
117 Check the ${project.artifactId}/src/main/assembly/descriptor.xml for more info
119 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/</aai.build.directory>
120 <aai.docker.namespace>onap</aai.docker.namespace>
122 <aai.project.version>1.3.0</aai.project.version>
123 <aai.docker.version>1.3</aai.docker.version>
126 Nexus Proxy Properties and Snapshot Locations
127 Ideally this can be overwritten at runtime per internal environment specific values at runtime
129 <nexusproxy>https://nexus.onap.org</nexusproxy>
130 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
131 <release.path>/content/repositories/releases/</release.path>
132 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
134 <netty.handler.version>4.1.9.Final</netty.handler.version>
135 <netty.version>4.0.37.Final</netty.version>
136 <jackson.core.version>2.8.11.1</jackson.core.version>
137 <groovy.version>2.4.4</groovy.version>
139 <spring.test.version>4.3.6.RELEASE</spring.test.version>
141 <!-- This will be used for the docker images as the default format of maven build has issues -->
142 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
144 <antlr4.visitor>true</antlr4.visitor>
145 <antlr4.listener>true</antlr4.listener>
146 <antlr.version>4.7</antlr.version>
148 <plexus.utils.version>3.1.0</plexus.utils.version>
150 <snapshot.file>${project.basedir}/snapshots/data.graphson</snapshot.file>
151 <license.goal.type>check</license.goal.type>
152 <jacoco.line.coverage.limit>0.67</jacoco.line.coverage.limit>
154 <!-- Start of Default ONAP Schema Properties -->
155 <schema.source.name>onap</schema.source.name>
156 <schema.configuration.location>N/A</schema.configuration.location>
157 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
158 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
159 <schema.version.depth.start>v9</schema.version.depth.start>
160 <schema.version.related.link.start>v10</schema.version.related.link.start>
161 <schema.version.app.root.start>v11</schema.version.app.root.start>
162 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
163 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
164 <schema.version.api.default>v14</schema.version.api.default>
165 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
166 <schema.uri.base.path>/aai</schema.uri.base.path>
167 <!-- End of Default ONAP Schema Properties -->
170 <!-- Docker profile to be used for building docker image and pushing to nexus -->
176 <groupId>io.fabric8</groupId>
177 <artifactId>docker-maven-plugin</artifactId>
178 <version>${docker.fabric.version}</version>
180 <verbose>true</verbose>
181 <apiVersion>1.23</apiVersion>
184 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
189 <tag>${project.docker.latesttag.version}</tag>
190 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
192 <cleanup>try</cleanup>
193 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
198 <directory>${aai.build.directory}</directory>
199 <outputDirectory>/${project.artifactId}</outputDirectory>
210 <id>clean-images</id>
211 <phase>pre-clean</phase>
216 <removeAll>true</removeAll>
220 <id>generate-images</id>
221 <phase>package</phase>
228 <phase>deploy</phase>
238 <!-- Start of ONAP Profile -->
242 <schema.source.name>onap</schema.source.name>
243 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
244 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
247 <!-- End of ONAP Profile -->
251 <skipTests>${maven.skip.tests}</skipTests>
254 <defaultGoal>pre-integration-test</defaultGoal>
257 <groupId>org.codehaus.mojo</groupId>
258 <artifactId>exec-maven-plugin</artifactId>
259 <version>1.6.0</version>
262 <id>run-spring-boot</id>
263 <phase>package</phase>
270 <mainClass>${start-class}</mainClass>
273 <key>snapshot.location</key>
274 <value>${snapshot.file}</value>
277 <key>schema.source.name</key>
278 <value>${schema.source.name}</value>
281 <key>schema.configuration.location</key>
282 <value>${schema.configuration.location}</value>
285 <key>schema.nodes.location</key>
286 <value>${schema.nodes.location}</value>
289 <key>schema.edges.location</key>
290 <value>${schema.edges.location}</value>
293 <key>schema.version.depth.start</key>
294 <value>${schema.version.depth.start}</value>
297 <key>schema.version.related.link.start</key>
298 <value>${schema.version.related.link.start}</value>
301 <key>schema.version.app.root.start</key>
302 <value>${schema.version.app.root.start}</value>
305 <key>schema.version.namespace.change.start</key>
306 <value>${schema.version.namespace.change.start}</value>
309 <key>schema.version.edge.label.start</key>
310 <value>${schema.version.edge.label.start}</value>
313 <key>schema.version.api.default</key>
314 <value>${schema.version.api.default}</value>
317 <key>schema.version.list</key>
318 <value>${schema.version.list}</value>
321 <key>schema.uri.base.path</key>
322 <value>${schema.uri.base.path}</value>
325 <executable>java</executable>
332 <dependencyManagement>
335 <groupId>org.springframework.boot</groupId>
336 <artifactId>spring-boot-starter-parent</artifactId>
337 <version>${spring.boot.version}</version>
339 <scope>import</scope>
342 </dependencyManagement>
345 <groupId>net.sf.jopt-simple</groupId>
346 <artifactId>jopt-simple</artifactId>
347 <version>${jopt.simple.version}</version>
350 <groupId>io.swagger</groupId>
351 <artifactId>swagger-core</artifactId>
352 <version>${io.swagger.version}</version>
355 <groupId>javax.ws.rs</groupId>
356 <artifactId>jsr311-api</artifactId>
361 <groupId>io.swagger</groupId>
362 <artifactId>swagger-annotations</artifactId>
363 <version>${io.swagger.version}</version>
366 <groupId>io.swagger</groupId>
367 <artifactId>swagger-jersey-jaxrs</artifactId>
368 <version>${io.swagger.version}</version>
371 <groupId>org.glassfish.jersey.media</groupId>
372 <artifactId>jersey-media-multipart</artifactId>
375 <artifactId>jersey-core</artifactId>
376 <groupId>com.sun.jersey</groupId>
379 <artifactId>jersey-json</artifactId>
380 <groupId>com.sun.jersey</groupId>
383 <artifactId>jersey-server</artifactId>
384 <groupId>com.sun.jersey</groupId>
387 <artifactId>jersey-client</artifactId>
388 <groupId>com.sun.jersey</groupId>
391 <artifactId>jsr311-api</artifactId>
392 <groupId>javax.ws.rs</groupId>
395 <artifactId>jersey-multipart</artifactId>
396 <groupId>com.sun.jersey.contribs</groupId>
401 <groupId>commons-configuration</groupId>
402 <artifactId>commons-configuration</artifactId>
403 <version>${commons.configuration.version}</version>
406 <artifactId>commons-lang</artifactId>
407 <groupId>commons-lang</groupId>
412 <groupId>commons-lang</groupId>
413 <artifactId>commons-lang</artifactId>
414 <version>${commons.lang.version}</version>
416 <!-- eelf dependency -->
418 <groupId>com.att.eelf</groupId>
419 <artifactId>eelf-core</artifactId>
420 <version>${eelf.core.version}</version>
423 <groupId>ch.qos.logback</groupId>
424 <artifactId>logback-core</artifactId>
425 <version>${logback.version}</version>
428 <groupId>ch.qos.logback</groupId>
429 <artifactId>logback-classic</artifactId>
430 <version>${logback.version}</version>
433 <groupId>ch.qos.logback</groupId>
434 <artifactId>logback-access</artifactId>
435 <version>${logback.version}</version>
438 <groupId>org.hamcrest</groupId>
439 <artifactId>hamcrest-junit</artifactId>
440 <version>${hamcrest.junit.version}</version>
443 <groupId>junit</groupId>
444 <artifactId>junit</artifactId>
448 <groupId>com.google.guava</groupId>
449 <artifactId>guava</artifactId>
450 <version>${google.guava.version}</version>
453 <groupId>org.janusgraph</groupId>
454 <artifactId>janusgraph-core</artifactId>
455 <version>${janusgraph.version}</version>
458 <groupId>org.slf4j</groupId>
459 <artifactId>slf4j-log4j12</artifactId>
462 <groupId>dom4j</groupId>
463 <artifactId>dom4j</artifactId>
468 <groupId>org.janusgraph</groupId>
469 <artifactId>janusgraph-cassandra</artifactId>
470 <version>${janusgraph.version}</version>
473 <groupId>org.slf4j</groupId>
474 <artifactId>slf4j-log4j12</artifactId>
477 <groupId>dom4j</groupId>
478 <artifactId>dom4j</artifactId>
483 <groupId>org.apache.tinkerpop</groupId>
484 <artifactId>gremlin-driver</artifactId>
485 <version>${gremlin.version}</version>
488 <groupId>com.fasterxml.jackson.jaxrs</groupId>
489 <artifactId>jackson-jaxrs-json-provider</artifactId>
492 <groupId>org.mockito</groupId>
493 <artifactId>mockito-all</artifactId>
494 <version>${mockito.version}</version>
498 <groupId>org.powermock</groupId>
499 <artifactId>powermock-module-junit4</artifactId>
500 <version>${powermock.version}</version>
504 <groupId>org.powermock</groupId>
505 <artifactId>powermock-api-mockito</artifactId>
506 <version>${powermock.version}</version>
510 <groupId>com.beust</groupId>
511 <artifactId>jcommander</artifactId>
512 <version>${jcommander.version}</version>
515 <groupId>org.json</groupId>
516 <artifactId>json</artifactId>
517 <version>${json.version}</version>
520 <groupId>org.freemarker</groupId>
521 <artifactId>freemarker</artifactId>
522 <version>${freemarker.version}</version>
525 <groupId>javax.xml.bind</groupId>
526 <artifactId>jaxb-api</artifactId>
527 <version>${jaxb.version}</version>
530 <groupId>com.sun.xml.bind</groupId>
531 <artifactId>jaxb-impl</artifactId>
532 <version>${jaxb.version}</version>
535 <groupId>com.sun.xml.bind</groupId>
536 <artifactId>jaxb-core</artifactId>
537 <version>${jaxb.version}</version>
540 <groupId>com.sun.xml.bind</groupId>
541 <artifactId>jaxb-xjc</artifactId>
542 <version>${jaxb.version}</version>
545 <groupId>org.eclipse.persistence</groupId>
546 <artifactId>eclipselink</artifactId>
547 <version>${eclipse.persistence.version}</version>
550 <groupId>org.eclipse.persistence</groupId>
551 <artifactId>org.eclipse.persistence.moxy</artifactId>
552 <version>${eclipse.persistence.version}</version>
553 <scope>compile</scope>
556 <groupId>org.powermock</groupId>
557 <artifactId>powermock-module-javaagent</artifactId>
558 <version>${powermock.version}</version>
562 <groupId>org.powermock</groupId>
563 <artifactId>powermock-module-junit4-rule-agent</artifactId>
564 <version>${powermock.version}</version>
568 <groupId>com.github.fge</groupId>
569 <artifactId>json-patch</artifactId>
570 <version>${json.patch.version}</version>
573 <groupId>org.javatuples</groupId>
574 <artifactId>javatuples</artifactId>
575 <version>${javatuples.version}</version>
576 <scope>compile</scope>
579 <groupId>com.google.code.gson</groupId>
580 <artifactId>gson</artifactId>
581 <version>${gson.version}</version>
584 <groupId>com.bazaarvoice.jolt</groupId>
585 <artifactId>jolt-complete</artifactId>
586 <version>${jolt.version}</version>
589 <groupId>com.jayway.jsonpath</groupId>
590 <artifactId>json-path</artifactId>
591 <version>${json.path.version}</version>
593 <!-- Do not use activemq-all because they force you to use a specific logging
594 and they shade it so you can't simply exclude it and when you deploy the
595 jar, you will notice failure -->
597 <groupId>org.apache.activemq</groupId>
598 <artifactId>activemq-broker</artifactId>
599 <version>${activemq.version}</version>
602 <groupId>org.apache.activemq</groupId>
603 <artifactId>activemq-client</artifactId>
604 <version>${activemq.version}</version>
607 <groupId>org.onap.aai.aai-common</groupId>
608 <artifactId>aai-core</artifactId>
609 <version>${aai.core.version}</version>
612 <groupId>com.sun.jersey</groupId>
613 <artifactId>jersey-core</artifactId>
616 <groupId>org.codehaus.jackson</groupId>
617 <artifactId>jackson-mapper-asl</artifactId>
620 <groupId>org.eclipse.jetty</groupId>
621 <artifactId>jetty-http</artifactId>
624 <groupId>org.eclipse.jetty</groupId>
625 <artifactId>jetty-server</artifactId>
628 <groupId>org.springframework</groupId>
629 <artifactId>spring-web</artifactId>
634 <groupId>org.springframework</groupId>
635 <artifactId>spring-jms</artifactId>
636 <version>${spring.jms.version}</version>
639 <groupId>com.sun.jersey</groupId>
640 <artifactId>jersey-core</artifactId>
644 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
645 with jersey 2 which we are using -->
646 <!-- Use this to make http requests instead of jersey 1.0 client -->
648 <groupId>org.apache.httpcomponents</groupId>
649 <artifactId>httpclient</artifactId>
650 <version>${httpclient.version}</version>
653 <groupId>org.skyscreamer</groupId>
654 <artifactId>jsonassert</artifactId>
655 <version>${jsonassert.version}</version>
659 Explicitly stating the security spring framework and
660 exclude the bouncy castle since that is somehow overwriting
661 our p12 file decryption that's built into java security
662 This will cause the password is incorrect
663 This needs to be added back if org.bouncy castle dependency
664 sneaks backs in and causing issues with the two way ssl
667 <groupId>org.springframework.security</groupId>
668 <artifactId>spring-security-rsa</artifactId>
669 <version>${spring.security.version}</version>
672 <groupId>org.bouncycastle</groupId>
673 <artifactId>bcpkix-jdk15on</artifactId>
678 <groupId>io.netty</groupId>
679 <artifactId>netty-handler</artifactId>
680 <version>${netty.handler.version}</version>
683 <groupId>org.springframework.boot</groupId>
684 <artifactId>spring-boot-starter-web</artifactId>
687 <groupId>org.springframework.boot</groupId>
688 <artifactId>spring-boot-starter-tomcat</artifactId>
691 <groupId>org.slf4j</groupId>
692 <artifactId>log4j-over-slf4j</artifactId>
697 <groupId>org.springframework.boot</groupId>
698 <artifactId>spring-boot-starter-jetty</artifactId>
701 <groupId>org.springframework.boot</groupId>
702 <artifactId>spring-boot-starter-jersey</artifactId>
705 <groupId>org.onap.aaf.authz</groupId>
706 <artifactId>aaf-cadi-aaf</artifactId>
707 <version>${aaf.version}</version>
710 <groupId>io.netty</groupId>
711 <artifactId>netty-all</artifactId>
712 <version>${netty.version}</version>
715 <groupId>org.codehaus.groovy</groupId>
716 <artifactId>groovy</artifactId>
717 <version>${groovy.version}</version>
718 <classifier>indy</classifier>
721 <groupId>org.springframework</groupId>
722 <artifactId>spring-test</artifactId>
723 <version>${spring.test.version}</version>
727 <groupId>org.springframework.boot</groupId>
728 <artifactId>spring-boot-test</artifactId>
732 <groupId>org.antlr</groupId>
733 <artifactId>antlr4-runtime</artifactId>
734 <version>${antlr.version}</version>
737 <groupId>org.antlr</groupId>
738 <artifactId>antlr4-maven-plugin</artifactId>
739 <version>${antlr.version}</version>
742 <groupId>org.sonatype.sisu</groupId>
743 <artifactId>sisu-guava</artifactId>
748 <groupId>org.apache.tinkerpop</groupId>
749 <artifactId>gremlin-core</artifactId>
750 <version>${gremlin.version}</version>
753 <groupId>org.slf4j</groupId>
754 <artifactId>slf4j-log4j12</artifactId>
759 <groupId>org.apache.tinkerpop</groupId>
760 <artifactId>tinkergraph-gremlin</artifactId>
761 <version>${gremlin.version}</version>
764 <groupId>org.apache.tinkerpop</groupId>
765 <artifactId>gremlin-groovy</artifactId>
766 <version>${gremlin.version}</version>
769 <groupId>org.codehaus.plexus</groupId>
770 <artifactId>plexus-utils</artifactId>
771 <version>${plexus.utils.version}</version>
777 <directory>${project.basedir}/src/main/swm</directory>
778 <targetPath>${project.build.directory}/swm</targetPath>
779 <filtering>false</filtering>
782 <directory>${project.basedir}/src/main/resources</directory>
784 <include>application.properties</include>
785 <include>dme2.properties</include>
786 <include>logback.xml</include>
787 <include>localhost-access-logback.xml</include>
789 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
790 <filtering>false</filtering>
793 <directory>${project.basedir}/src/main/resources</directory>
795 <include>**/*</include>
797 <filtering>true</filtering>
800 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
802 <include>janusgraph-realtime.properties</include>
803 <include>janusgraph-cached.properties</include>
804 <include>aaiconfig.properties</include>
806 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
807 <filtering>false</filtering>
810 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
812 <include>aai-client-cert.p12</include>
813 <include>tomcat_keystore</include>
814 <include>aai_policy.json</include>
816 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
817 <filtering>true</filtering>
820 <directory>${project.basedir}/src/main/resources/</directory>
822 <include>logback.xml</include>
823 <include>localhost-access-logback.xml</include>
825 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
826 <filtering>true</filtering>
829 <directory>${project.basedir}/src/main/resources/schema/</directory>
831 <include>**/oxm/**/*.xml</include>
832 <include>**/dbedgerules/**/*.json</include>
833 <include>**/query/**</include>
835 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
836 <filtering>false</filtering>
839 <directory>${project.basedir}/src/main/resources/query/</directory>
841 <include>**/*.json</include>
843 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/query</targetPath>
844 <filtering>false</filtering>
847 <directory>${project.basedir}/src/main/docker</directory>
849 <include>**/*</include>
851 <targetPath>${aai.build.directory}</targetPath>
852 <filtering>true</filtering>
858 <groupId>com.mycila</groupId>
859 <artifactId>license-maven-plugin</artifactId>
860 <version>3.0</version>
862 <header>LICENSE.TXT</header>
864 <include>src/main/java/**</include>
865 <include>src/test/java/**</include>
866 <include>pom.xml</include>
868 <skipExistingHeaders>true</skipExistingHeaders>
874 <!-- Set goal to "format" to auto update license headers -->
875 <goal>${license.goal.type}</goal>
877 <phase>process-sources</phase>
882 <groupId>org.codehaus.groovy.maven</groupId>
883 <artifactId>gmaven-plugin</artifactId>
884 <version>1.0</version>
887 <phase>validate</phase>
893 println project.properties['aai.project.version'];
895 if (project.properties['aai.project.version'] != null) {
896 versionArray = project.properties['aai.project.version'].split('\\.');
899 project.properties["project.major.version"] = versionArray[0];
900 project.properties["project.minor.version"] = versionArray[1];
901 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
902 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
912 <groupId>org.apache.maven.plugins</groupId>
913 <artifactId>maven-clean-plugin</artifactId>
914 <version>2.4.1</version>
918 <directory>${project.basedir}/src/main/resources/etc/oxm</directory>
920 <include>**/*</include>
922 <followSymlinks>false</followSymlinks>
925 <directory>${project.basedir}/src/main/resources/etc/dbedgerules</directory>
927 <include>**/*</include>
929 <followSymlinks>false</followSymlinks>
932 <directory>${project.basedir}/src/main/resources/schema</directory>
934 <include>**/oxm/**</include>
935 <include>**/dbedgerules/**</include>
937 <followSymlinks>false</followSymlinks>
943 <groupId>org.springframework.boot</groupId>
944 <artifactId>spring-boot-maven-plugin</artifactId>
947 <artifactId>exec-maven-plugin</artifactId>
948 <groupId>org.codehaus.mojo</groupId>
951 <groupId>org.apache.maven.plugins</groupId>
952 <artifactId>maven-javadoc-plugin</artifactId>
955 <groupId>com.mycila</groupId>
956 <artifactId>license-maven-plugin</artifactId>
959 <artifactId>maven-assembly-plugin</artifactId>
962 <descriptor>src/main/assembly/descriptor.xml</descriptor>
967 <id>make-assembly</id> <!-- this is used for inheritance merges -->
968 <phase>package</phase> <!-- bind to the packaging phase -->
976 <groupId>org.apache.maven.plugins</groupId>
977 <artifactId>maven-surefire-plugin</artifactId>
978 <version>2.12.4</version>
980 <argLine>-noverify ${argLine}</argLine>
981 <runOrder>alphabetical</runOrder>
985 <groupId>org.codehaus.mojo</groupId>
986 <artifactId>sonar-maven-plugin</artifactId>
987 <version>3.3</version>
990 <groupId>org.codehaus.groovy.maven</groupId>
991 <artifactId>gmaven-plugin</artifactId>
994 <groupId>org.jacoco</groupId>
995 <artifactId>jacoco-maven-plugin</artifactId>
996 <version>0.7.9</version>
998 <dumpOnExit>true</dumpOnExit>
1000 <exclude>**/**/models/**/*.class</exclude>
1005 <id>jacoco-initialize-unit-tests</id>
1007 <goal>prepare-agent</goal>
1010 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1011 <!-- <append>true</append> -->
1015 <id>post-unit-test</id>
1021 <!-- Sets the path to the file which contains the execution data. -->
1022 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1023 <!-- Sets the output directory for the code coverage report. -->
1024 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
1028 <id>default-check</id>
1033 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1035 <!-- implementation is needed only for Maven 2 -->
1036 <rule implementation="org.jacoco.maven.RuleConfiguration">
1037 <element>BUNDLE</element>
1039 <limit implementation="org.jacoco.report.check.Limit">
1040 <counter>LINE</counter>
1041 <value>COVEREDRATIO</value>
1042 <minimum>${jacoco.line.coverage.limit}</minimum>
1052 <groupId>org.springframework.boot</groupId>
1053 <artifactId>spring-boot-maven-plugin</artifactId>
1055 <mainClass>${start-class}</mainClass>
1056 <layout>ZIP</layout>
1061 <goal>repackage</goal>
1067 <groupId>org.antlr</groupId>
1068 <artifactId>antlr4-maven-plugin</artifactId>
1069 <version>4.7</version>
1076 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1077 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1083 <groupId>org.apache.maven.plugins</groupId>
1084 <artifactId>maven-dependency-plugin</artifactId>
1085 <version>2.8</version>
1088 <id>unpack-schema-dependency</id>
1089 <phase>initialize</phase>
1096 <groupId>org.onap.aai.aai-common</groupId>
1097 <artifactId>aai-schema</artifactId>
1098 <version>${aai.schema.version}</version>
1099 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1100 <includes>**/oxm/**/*.xml</includes>
1103 <!-- other configurations here -->
1107 <id>unpack-edgerules-dependency</id>
1108 <phase>initialize</phase>
1115 <groupId>org.onap.aai.aai-common</groupId>
1116 <artifactId>aai-schema</artifactId>
1117 <version>${aai.schema.version}</version>
1118 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1119 <includes>**/dbedgerules/**/*.json</includes>
1122 <!-- other configurations here -->
1128 <groupId>com.mycila</groupId>
1129 <artifactId>license-maven-plugin</artifactId>
1130 <version>3.0</version>
1132 <header>LICENSE.TXT</header>
1134 <include>src/main/java/**</include>
1135 <include>src/test/java/**</include>
1136 <include>pom.xml</include>
1138 <skipExistingHeaders>false</skipExistingHeaders>
1144 <!-- Set goal to "format" to auto update license headers -->
1145 <goal>${license.goal.type}</goal>
1147 <phase>process-sources</phase>