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 <dom4j.version>1.6.1</dom4j.version>
73 <aaf.version>2.1.2-SNAPSHOT</aaf.version>
74 <commons.lang.version>2.6</commons.lang.version>
75 <eelf.core.version>1.0.0</eelf.core.version>
76 <logback.version>1.2.3</logback.version>
77 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
78 <janino.version>2.7.8</janino.version>
79 <google.guava.version>16.0</google.guava.version>
80 <janusgraph.version>0.2.0</janusgraph.version>
81 <gremlin.version>3.2.2</gremlin.version>
82 <smack.version>3.0.4</smack.version>
83 <json.simple.version>1.1.1</json.simple.version>
84 <mockito.version>1.10.19</mockito.version>
85 <powermock.version>1.6.2</powermock.version>
86 <jcommander.version>1.48</jcommander.version>
87 <json.version>20090211</json.version>
88 <freemarker.version>2.3.21</freemarker.version>
89 <jaxb.version>2.2.11</jaxb.version>
90 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
91 <json.patch.version>1.9</json.patch.version>
92 <javatuples.version>1.2</javatuples.version>
93 <gson.version>2.7</gson.version>
94 <dmaap.client.version>0.2.12</dmaap.client.version>
95 <httpcore.version>4.4</httpcore.version>
96 <json.path.version>2.2.0</json.path.version>
97 <activemq.version>5.15.3</activemq.version>
98 <httpclient.version>4.5.3</httpclient.version>
99 <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
100 <spotify.docker.version>0.4.11</spotify.docker.version>
101 <spring.security.version>1.0.3.RELEASE</spring.security.version>
103 <dme2.version>2.8.5</dme2.version>
104 <async.retry.version>0.0.7</async.retry.version>
105 <jsonassert.version>1.4.0</jsonassert.version>
107 <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
109 <docker.fabric.version>0.23.0</docker.fabric.version>
110 <!-- Default docker registry that maven fabric plugin will try to pull from -->
111 <docker.registry>docker.io</docker.registry>
112 <!-- Specifying the docker push registry where the image should be pushed -->
113 <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
114 <docker.push.registry>localhost:5000</docker.push.registry>
117 Location where assembly of our scripts, resources and main jar will be held
118 Check the ${project.artifactId}/src/main/assembly/descriptor.xml for more info
120 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/</aai.build.directory>
121 <aai.docker.namespace>onap</aai.docker.namespace>
123 <aai.project.version>1.3.0</aai.project.version>
124 <aai.docker.version>1.3</aai.docker.version>
127 Nexus Proxy Properties and Snapshot Locations
128 Ideally this can be overwritten at runtime per internal environment specific values at runtime
130 <nexusproxy>https://nexus.onap.org</nexusproxy>
131 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
132 <release.path>/content/repositories/releases/</release.path>
133 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
135 <netty.handler.version>4.1.9.Final</netty.handler.version>
136 <netty.version>4.0.37.Final</netty.version>
137 <jackson.core.version>2.8.11.1</jackson.core.version>
138 <groovy.version>2.4.4</groovy.version>
140 <spring.test.version>4.3.6.RELEASE</spring.test.version>
142 <!-- This will be used for the docker images as the default format of maven build has issues -->
143 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
145 <antlr4.visitor>true</antlr4.visitor>
146 <antlr4.listener>true</antlr4.listener>
147 <antlr.version>4.7</antlr.version>
149 <plexus.utils.version>3.1.0</plexus.utils.version>
151 <snapshot.file>${project.basedir}/snapshots/data.graphson</snapshot.file>
152 <license.goal.type>check</license.goal.type>
153 <jacoco.line.coverage.limit>0.67</jacoco.line.coverage.limit>
155 <!-- Start of Default ONAP Schema Properties -->
156 <schema.source.name>onap</schema.source.name>
157 <schema.configuration.location>N/A</schema.configuration.location>
158 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
159 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
160 <schema.version.depth.start>v9</schema.version.depth.start>
161 <schema.version.related.link.start>v10</schema.version.related.link.start>
162 <schema.version.app.root.start>v11</schema.version.app.root.start>
163 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
164 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
165 <schema.version.api.default>v14</schema.version.api.default>
166 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
167 <schema.uri.base.path>/aai</schema.uri.base.path>
168 <!-- End of Default ONAP Schema Properties -->
171 <!-- Docker profile to be used for building docker image and pushing to nexus -->
177 <groupId>io.fabric8</groupId>
178 <artifactId>docker-maven-plugin</artifactId>
179 <version>${docker.fabric.version}</version>
181 <verbose>true</verbose>
182 <apiVersion>1.23</apiVersion>
185 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
190 <tag>${project.docker.latesttag.version}</tag>
191 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
193 <cleanup>try</cleanup>
194 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
199 <directory>${aai.build.directory}</directory>
200 <outputDirectory>/${project.artifactId}</outputDirectory>
211 <id>clean-images</id>
212 <phase>pre-clean</phase>
217 <removeAll>true</removeAll>
221 <id>generate-images</id>
222 <phase>package</phase>
229 <phase>deploy</phase>
239 <!-- Start of ONAP Profile -->
243 <schema.source.name>onap</schema.source.name>
244 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
245 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
248 <!-- End of ONAP Profile -->
252 <skipTests>${maven.skip.tests}</skipTests>
255 <defaultGoal>pre-integration-test</defaultGoal>
258 <groupId>org.codehaus.mojo</groupId>
259 <artifactId>exec-maven-plugin</artifactId>
260 <version>1.6.0</version>
263 <id>run-spring-boot</id>
264 <phase>package</phase>
271 <mainClass>${start-class}</mainClass>
274 <key>snapshot.location</key>
275 <value>${snapshot.file}</value>
278 <key>schema.source.name</key>
279 <value>${schema.source.name}</value>
282 <key>schema.configuration.location</key>
283 <value>${schema.configuration.location}</value>
286 <key>schema.nodes.location</key>
287 <value>${schema.nodes.location}</value>
290 <key>schema.edges.location</key>
291 <value>${schema.edges.location}</value>
294 <key>schema.version.depth.start</key>
295 <value>${schema.version.depth.start}</value>
298 <key>schema.version.related.link.start</key>
299 <value>${schema.version.related.link.start}</value>
302 <key>schema.version.app.root.start</key>
303 <value>${schema.version.app.root.start}</value>
306 <key>schema.version.namespace.change.start</key>
307 <value>${schema.version.namespace.change.start}</value>
310 <key>schema.version.edge.label.start</key>
311 <value>${schema.version.edge.label.start}</value>
314 <key>schema.version.api.default</key>
315 <value>${schema.version.api.default}</value>
318 <key>schema.version.list</key>
319 <value>${schema.version.list}</value>
322 <key>schema.uri.base.path</key>
323 <value>${schema.uri.base.path}</value>
326 <executable>java</executable>
333 <dependencyManagement>
336 <groupId>org.springframework.boot</groupId>
337 <artifactId>spring-boot-starter-parent</artifactId>
338 <version>${spring.boot.version}</version>
340 <scope>import</scope>
343 </dependencyManagement>
346 <groupId>net.sf.jopt-simple</groupId>
347 <artifactId>jopt-simple</artifactId>
348 <version>${jopt.simple.version}</version>
351 <groupId>io.swagger</groupId>
352 <artifactId>swagger-core</artifactId>
353 <version>${io.swagger.version}</version>
356 <groupId>javax.ws.rs</groupId>
357 <artifactId>jsr311-api</artifactId>
362 <groupId>io.swagger</groupId>
363 <artifactId>swagger-annotations</artifactId>
364 <version>${io.swagger.version}</version>
367 <groupId>io.swagger</groupId>
368 <artifactId>swagger-jersey-jaxrs</artifactId>
369 <version>${io.swagger.version}</version>
372 <groupId>org.glassfish.jersey.media</groupId>
373 <artifactId>jersey-media-multipart</artifactId>
376 <artifactId>jersey-core</artifactId>
377 <groupId>com.sun.jersey</groupId>
380 <artifactId>jersey-json</artifactId>
381 <groupId>com.sun.jersey</groupId>
384 <artifactId>jersey-server</artifactId>
385 <groupId>com.sun.jersey</groupId>
388 <artifactId>jersey-client</artifactId>
389 <groupId>com.sun.jersey</groupId>
392 <artifactId>jsr311-api</artifactId>
393 <groupId>javax.ws.rs</groupId>
396 <artifactId>jersey-multipart</artifactId>
397 <groupId>com.sun.jersey.contribs</groupId>
402 <groupId>commons-configuration</groupId>
403 <artifactId>commons-configuration</artifactId>
404 <version>${commons.configuration.version}</version>
407 <artifactId>commons-lang</artifactId>
408 <groupId>commons-lang</groupId>
413 <groupId>commons-lang</groupId>
414 <artifactId>commons-lang</artifactId>
415 <version>${commons.lang.version}</version>
417 <!-- eelf dependency -->
419 <groupId>com.att.eelf</groupId>
420 <artifactId>eelf-core</artifactId>
421 <version>${eelf.core.version}</version>
424 <groupId>ch.qos.logback</groupId>
425 <artifactId>logback-core</artifactId>
426 <version>${logback.version}</version>
429 <groupId>ch.qos.logback</groupId>
430 <artifactId>logback-classic</artifactId>
431 <version>${logback.version}</version>
434 <groupId>ch.qos.logback</groupId>
435 <artifactId>logback-access</artifactId>
436 <version>${logback.version}</version>
439 <groupId>org.hamcrest</groupId>
440 <artifactId>hamcrest-junit</artifactId>
441 <version>${hamcrest.junit.version}</version>
444 <groupId>junit</groupId>
445 <artifactId>junit</artifactId>
449 <groupId>com.google.guava</groupId>
450 <artifactId>guava</artifactId>
451 <version>${google.guava.version}</version>
454 <groupId>org.janusgraph</groupId>
455 <artifactId>janusgraph-core</artifactId>
456 <version>${janusgraph.version}</version>
459 <groupId>org.slf4j</groupId>
460 <artifactId>slf4j-log4j12</artifactId>
465 <groupId>org.janusgraph</groupId>
466 <artifactId>janusgraph-cassandra</artifactId>
467 <version>${janusgraph.version}</version>
470 <groupId>org.slf4j</groupId>
471 <artifactId>slf4j-log4j12</artifactId>
476 <groupId>org.apache.tinkerpop</groupId>
477 <artifactId>gremlin-driver</artifactId>
478 <version>${gremlin.version}</version>
481 <groupId>com.fasterxml.jackson.jaxrs</groupId>
482 <artifactId>jackson-jaxrs-json-provider</artifactId>
485 <groupId>org.mockito</groupId>
486 <artifactId>mockito-all</artifactId>
487 <version>${mockito.version}</version>
491 <groupId>org.powermock</groupId>
492 <artifactId>powermock-module-junit4</artifactId>
493 <version>${powermock.version}</version>
497 <groupId>org.powermock</groupId>
498 <artifactId>powermock-api-mockito</artifactId>
499 <version>${powermock.version}</version>
503 <groupId>com.beust</groupId>
504 <artifactId>jcommander</artifactId>
505 <version>${jcommander.version}</version>
508 <groupId>org.json</groupId>
509 <artifactId>json</artifactId>
510 <version>${json.version}</version>
513 <groupId>org.freemarker</groupId>
514 <artifactId>freemarker</artifactId>
515 <version>${freemarker.version}</version>
518 <groupId>javax.xml.bind</groupId>
519 <artifactId>jaxb-api</artifactId>
520 <version>${jaxb.version}</version>
523 <groupId>com.sun.xml.bind</groupId>
524 <artifactId>jaxb-impl</artifactId>
525 <version>${jaxb.version}</version>
528 <groupId>com.sun.xml.bind</groupId>
529 <artifactId>jaxb-core</artifactId>
530 <version>${jaxb.version}</version>
533 <groupId>com.sun.xml.bind</groupId>
534 <artifactId>jaxb-xjc</artifactId>
535 <version>${jaxb.version}</version>
538 <groupId>org.eclipse.persistence</groupId>
539 <artifactId>eclipselink</artifactId>
540 <version>${eclipse.persistence.version}</version>
543 <groupId>org.eclipse.persistence</groupId>
544 <artifactId>org.eclipse.persistence.moxy</artifactId>
545 <version>${eclipse.persistence.version}</version>
546 <scope>compile</scope>
549 <groupId>org.powermock</groupId>
550 <artifactId>powermock-module-javaagent</artifactId>
551 <version>${powermock.version}</version>
555 <groupId>org.powermock</groupId>
556 <artifactId>powermock-module-junit4-rule-agent</artifactId>
557 <version>${powermock.version}</version>
561 <groupId>com.github.fge</groupId>
562 <artifactId>json-patch</artifactId>
563 <version>${json.patch.version}</version>
566 <groupId>org.javatuples</groupId>
567 <artifactId>javatuples</artifactId>
568 <version>${javatuples.version}</version>
569 <scope>compile</scope>
572 <groupId>com.google.code.gson</groupId>
573 <artifactId>gson</artifactId>
574 <version>${gson.version}</version>
577 <groupId>com.bazaarvoice.jolt</groupId>
578 <artifactId>jolt-complete</artifactId>
579 <version>${jolt.version}</version>
582 <groupId>com.jayway.jsonpath</groupId>
583 <artifactId>json-path</artifactId>
584 <version>${json.path.version}</version>
586 <!-- Do not use activemq-all because they force you to use a specific logging
587 and they shade it so you can't simply exclude it and when you deploy the
588 jar, you will notice failure -->
590 <groupId>org.apache.activemq</groupId>
591 <artifactId>activemq-broker</artifactId>
592 <version>${activemq.version}</version>
595 <groupId>org.apache.activemq</groupId>
596 <artifactId>activemq-client</artifactId>
597 <version>${activemq.version}</version>
600 <groupId>org.onap.aai.aai-common</groupId>
601 <artifactId>aai-core</artifactId>
602 <version>${aai.core.version}</version>
605 <groupId>com.sun.jersey</groupId>
606 <artifactId>jersey-core</artifactId>
609 <groupId>org.codehaus.jackson</groupId>
610 <artifactId>jackson-mapper-asl</artifactId>
613 <groupId>org.eclipse.jetty</groupId>
614 <artifactId>jetty-http</artifactId>
617 <groupId>org.eclipse.jetty</groupId>
618 <artifactId>jetty-server</artifactId>
621 <groupId>org.springframework</groupId>
622 <artifactId>spring-web</artifactId>
627 <groupId>org.springframework</groupId>
628 <artifactId>spring-jms</artifactId>
629 <version>${spring.jms.version}</version>
632 <groupId>com.sun.jersey</groupId>
633 <artifactId>jersey-core</artifactId>
637 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
638 with jersey 2 which we are using -->
639 <!-- Use this to make http requests instead of jersey 1.0 client -->
641 <groupId>org.apache.httpcomponents</groupId>
642 <artifactId>httpclient</artifactId>
643 <version>${httpclient.version}</version>
646 <groupId>org.skyscreamer</groupId>
647 <artifactId>jsonassert</artifactId>
648 <version>${jsonassert.version}</version>
652 Explicitly stating the security spring framework and
653 exclude the bouncy castle since that is somehow overwriting
654 our p12 file decryption that's built into java security
655 This will cause the password is incorrect
656 This needs to be added back if org.bouncy castle dependency
657 sneaks backs in and causing issues with the two way ssl
660 <groupId>org.springframework.security</groupId>
661 <artifactId>spring-security-rsa</artifactId>
662 <version>${spring.security.version}</version>
665 <groupId>org.bouncycastle</groupId>
666 <artifactId>bcpkix-jdk15on</artifactId>
671 <groupId>io.netty</groupId>
672 <artifactId>netty-handler</artifactId>
673 <version>${netty.handler.version}</version>
676 <groupId>org.springframework.boot</groupId>
677 <artifactId>spring-boot-starter-web</artifactId>
680 <groupId>org.springframework.boot</groupId>
681 <artifactId>spring-boot-starter-tomcat</artifactId>
684 <groupId>org.slf4j</groupId>
685 <artifactId>log4j-over-slf4j</artifactId>
690 <groupId>org.springframework.boot</groupId>
691 <artifactId>spring-boot-starter-jetty</artifactId>
694 <groupId>org.springframework.boot</groupId>
695 <artifactId>spring-boot-starter-jersey</artifactId>
698 <groupId>org.onap.aaf.authz</groupId>
699 <artifactId>aaf-cadi-aaf</artifactId>
700 <version>${aaf.version}</version>
703 <groupId>io.netty</groupId>
704 <artifactId>netty-all</artifactId>
705 <version>${netty.version}</version>
708 <groupId>org.codehaus.groovy</groupId>
709 <artifactId>groovy</artifactId>
710 <version>${groovy.version}</version>
711 <classifier>indy</classifier>
714 <groupId>org.springframework</groupId>
715 <artifactId>spring-test</artifactId>
716 <version>${spring.test.version}</version>
720 <groupId>org.springframework.boot</groupId>
721 <artifactId>spring-boot-test</artifactId>
725 <groupId>org.antlr</groupId>
726 <artifactId>antlr4-runtime</artifactId>
727 <version>${antlr.version}</version>
730 <groupId>org.antlr</groupId>
731 <artifactId>antlr4-maven-plugin</artifactId>
732 <version>${antlr.version}</version>
735 <groupId>org.sonatype.sisu</groupId>
736 <artifactId>sisu-guava</artifactId>
741 <groupId>org.apache.tinkerpop</groupId>
742 <artifactId>gremlin-core</artifactId>
743 <version>${gremlin.version}</version>
746 <groupId>org.slf4j</groupId>
747 <artifactId>slf4j-log4j12</artifactId>
752 <groupId>org.apache.tinkerpop</groupId>
753 <artifactId>tinkergraph-gremlin</artifactId>
754 <version>${gremlin.version}</version>
757 <groupId>org.apache.tinkerpop</groupId>
758 <artifactId>gremlin-groovy</artifactId>
759 <version>${gremlin.version}</version>
762 <groupId>org.codehaus.plexus</groupId>
763 <artifactId>plexus-utils</artifactId>
764 <version>${plexus.utils.version}</version>
770 <directory>${project.basedir}/src/main/swm</directory>
771 <targetPath>${project.build.directory}/swm</targetPath>
772 <filtering>false</filtering>
775 <directory>${project.basedir}/src/main/resources</directory>
777 <include>application.properties</include>
778 <include>dme2.properties</include>
779 <include>logback.xml</include>
780 <include>localhost-access-logback.xml</include>
782 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
783 <filtering>false</filtering>
786 <directory>${project.basedir}/src/main/resources</directory>
788 <include>**/*</include>
790 <filtering>true</filtering>
793 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
795 <include>janusgraph-realtime.properties</include>
796 <include>janusgraph-cached.properties</include>
797 <include>aaiconfig.properties</include>
799 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
800 <filtering>false</filtering>
803 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
805 <include>aai-client-cert.p12</include>
806 <include>tomcat_keystore</include>
807 <include>aai_policy.json</include>
809 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
810 <filtering>true</filtering>
813 <directory>${project.basedir}/src/main/resources/</directory>
815 <include>logback.xml</include>
816 <include>localhost-access-logback.xml</include>
818 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
819 <filtering>true</filtering>
822 <directory>${project.basedir}/src/main/resources/schema/</directory>
824 <include>**/oxm/**/*.xml</include>
825 <include>**/dbedgerules/**/*.json</include>
826 <include>**/query/**</include>
828 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
829 <filtering>false</filtering>
832 <directory>${project.basedir}/src/main/resources/query/</directory>
834 <include>**/*.json</include>
836 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/query</targetPath>
837 <filtering>false</filtering>
840 <directory>${project.basedir}/src/main/docker</directory>
842 <include>**/*</include>
844 <targetPath>${aai.build.directory}</targetPath>
845 <filtering>true</filtering>
851 <groupId>com.mycila</groupId>
852 <artifactId>license-maven-plugin</artifactId>
853 <version>3.0</version>
855 <header>LICENSE.TXT</header>
857 <include>src/main/java/**</include>
858 <include>src/test/java/**</include>
859 <include>pom.xml</include>
861 <skipExistingHeaders>true</skipExistingHeaders>
867 <!-- Set goal to "format" to auto update license headers -->
868 <goal>${license.goal.type}</goal>
870 <phase>process-sources</phase>
875 <groupId>org.codehaus.groovy.maven</groupId>
876 <artifactId>gmaven-plugin</artifactId>
877 <version>1.0</version>
880 <phase>validate</phase>
886 println project.properties['aai.project.version'];
888 if (project.properties['aai.project.version'] != null) {
889 versionArray = project.properties['aai.project.version'].split('\\.');
892 project.properties["project.major.version"] = versionArray[0];
893 project.properties["project.minor.version"] = versionArray[1];
894 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
895 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
905 <groupId>org.apache.maven.plugins</groupId>
906 <artifactId>maven-clean-plugin</artifactId>
907 <version>2.4.1</version>
911 <directory>${project.basedir}/src/main/resources/etc/oxm</directory>
913 <include>**/*</include>
915 <followSymlinks>false</followSymlinks>
918 <directory>${project.basedir}/src/main/resources/etc/dbedgerules</directory>
920 <include>**/*</include>
922 <followSymlinks>false</followSymlinks>
925 <directory>${project.basedir}/src/main/resources/schema</directory>
927 <include>**/oxm/**</include>
928 <include>**/dbedgerules/**</include>
930 <followSymlinks>false</followSymlinks>
936 <groupId>org.springframework.boot</groupId>
937 <artifactId>spring-boot-maven-plugin</artifactId>
940 <artifactId>exec-maven-plugin</artifactId>
941 <groupId>org.codehaus.mojo</groupId>
944 <groupId>org.apache.maven.plugins</groupId>
945 <artifactId>maven-javadoc-plugin</artifactId>
948 <groupId>com.mycila</groupId>
949 <artifactId>license-maven-plugin</artifactId>
952 <artifactId>maven-assembly-plugin</artifactId>
955 <descriptor>src/main/assembly/descriptor.xml</descriptor>
960 <id>make-assembly</id> <!-- this is used for inheritance merges -->
961 <phase>package</phase> <!-- bind to the packaging phase -->
969 <groupId>org.apache.maven.plugins</groupId>
970 <artifactId>maven-surefire-plugin</artifactId>
971 <version>2.12.4</version>
973 <argLine>-noverify ${argLine}</argLine>
974 <runOrder>alphabetical</runOrder>
978 <groupId>org.codehaus.mojo</groupId>
979 <artifactId>sonar-maven-plugin</artifactId>
980 <version>3.3</version>
983 <groupId>org.codehaus.groovy.maven</groupId>
984 <artifactId>gmaven-plugin</artifactId>
987 <groupId>org.jacoco</groupId>
988 <artifactId>jacoco-maven-plugin</artifactId>
989 <version>0.7.9</version>
991 <dumpOnExit>true</dumpOnExit>
993 <exclude>**/**/models/**/*.class</exclude>
998 <id>jacoco-initialize-unit-tests</id>
1000 <goal>prepare-agent</goal>
1003 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1004 <!-- <append>true</append> -->
1008 <id>post-unit-test</id>
1014 <!-- Sets the path to the file which contains the execution data. -->
1015 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1016 <!-- Sets the output directory for the code coverage report. -->
1017 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
1021 <id>default-check</id>
1026 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1028 <!-- implementation is needed only for Maven 2 -->
1029 <rule implementation="org.jacoco.maven.RuleConfiguration">
1030 <element>BUNDLE</element>
1032 <limit implementation="org.jacoco.report.check.Limit">
1033 <counter>LINE</counter>
1034 <value>COVEREDRATIO</value>
1035 <minimum>${jacoco.line.coverage.limit}</minimum>
1045 <groupId>org.springframework.boot</groupId>
1046 <artifactId>spring-boot-maven-plugin</artifactId>
1048 <mainClass>${start-class}</mainClass>
1049 <layout>ZIP</layout>
1054 <goal>repackage</goal>
1060 <groupId>org.antlr</groupId>
1061 <artifactId>antlr4-maven-plugin</artifactId>
1062 <version>4.7</version>
1069 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1070 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1076 <groupId>org.apache.maven.plugins</groupId>
1077 <artifactId>maven-dependency-plugin</artifactId>
1078 <version>2.8</version>
1081 <id>unpack-schema-dependency</id>
1082 <phase>initialize</phase>
1089 <groupId>org.onap.aai.aai-common</groupId>
1090 <artifactId>aai-schema</artifactId>
1091 <version>${aai.schema.version}</version>
1092 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1093 <includes>**/oxm/**/*.xml</includes>
1096 <!-- other configurations here -->
1100 <id>unpack-edgerules-dependency</id>
1101 <phase>initialize</phase>
1108 <groupId>org.onap.aai.aai-common</groupId>
1109 <artifactId>aai-schema</artifactId>
1110 <version>${aai.schema.version}</version>
1111 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1112 <includes>**/dbedgerules/**/*.json</includes>
1115 <!-- other configurations here -->
1121 <groupId>com.mycila</groupId>
1122 <artifactId>license-maven-plugin</artifactId>
1123 <version>3.0</version>
1125 <header>LICENSE.TXT</header>
1127 <include>src/main/java/**</include>
1128 <include>src/test/java/**</include>
1129 <include>pom.xml</include>
1131 <skipExistingHeaders>false</skipExistingHeaders>
1137 <!-- Set goal to "format" to auto update license headers -->
1138 <goal>${license.goal.type}</goal>
1140 <phase>process-sources</phase>