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.4.0-SNAPSHOT</version>
31 <groupId>org.onap.aai.traversal</groupId>
32 <artifactId>traversal</artifactId>
33 <version>1.4.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.0.1</aai.schema.version>
45 <aai.core.version>1.4.3</aai.core.version>
46 <aai.rest.version>1.4.3</aai.rest.version>
48 <spring.boot.version>1.5.20.RELEASE</spring.boot.version>
50 <!-- Start of the jacoco plugin properties -->
51 <sonar.language>java</sonar.language>
52 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
53 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
54 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
55 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
56 <sonar.projectVersion>${project.version}</sonar.projectVersion>
57 <!-- End of the jacoco plugin properties -->
59 <jolt.version>0.0.24</jolt.version>
60 <jopt.simple.version>4.9</jopt.simple.version>
62 <io.swagger.version>1.5.8</io.swagger.version>
63 <apache.log4j.version>1.2.17</apache.log4j.version>
65 <commons.beanutils.version>1.9.2</commons.beanutils.version>
66 <commons.compress.version>1.10</commons.compress.version>
67 <commons.configuration.version>1.9</commons.configuration.version>
69 <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
70 <scamper.encryption.version>1.8.20</scamper.encryption.version>
71 <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
72 <scamper.version>1.8.36</scamper.version>
73 <aaf.version>2.1.4</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>19.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.8</activemq.version>
98 <httpclient.version>4.5.3</httpclient.version>
99 <spring.jms.version>4.3.21.RELEASE</spring.jms.version>
100 <spotify.docker.version>0.4.11</spotify.docker.version>
101 <spring.security.version>1.0.8.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>
124 Nexus Proxy Properties and Snapshot Locations
125 Ideally this can be overwritten at runtime per internal environment specific values at runtime
127 <nexusproxy>https://nexus.onap.org</nexusproxy>
128 <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
129 <release.path>/content/repositories/releases/</release.path>
130 <snapshot.path>/content/repositories/snapshots/</snapshot.path>
132 <netty.handler.version>4.1.9.Final</netty.handler.version>
133 <netty.version>4.0.56.Final</netty.version>
134 <jackson.core.version>2.8.11.1</jackson.core.version>
136 <spring.test.version>4.3.21.RELEASE</spring.test.version>
138 <!-- This will be used for the docker images as the default format of maven build has issues -->
139 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
141 <antlr4.visitor>true</antlr4.visitor>
142 <antlr4.listener>true</antlr4.listener>
143 <antlr.version>4.7</antlr.version>
145 <plexus.utils.version>3.1.0</plexus.utils.version>
147 <snapshot.file>${project.basedir}/snapshots/data.graphson</snapshot.file>
148 <jacoco.line.coverage.limit>0.67</jacoco.line.coverage.limit>
150 <!-- Start of Default ONAP Schema Properties -->
151 <schema.source.name>onap</schema.source.name>
152 <schema.configuration.location>N/A</schema.configuration.location>
153 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
154 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
155 <schema.version.depth.start>v10</schema.version.depth.start>
156 <schema.version.related.link.start>v10</schema.version.related.link.start>
157 <schema.version.app.root.start>v11</schema.version.app.root.start>
158 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
159 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
160 <schema.version.api.default>v16</schema.version.api.default>
161 <schema.version.list>v10,v11,v12,v13,v14,v15,v16</schema.version.list>
162 <schema.uri.base.path>/aai</schema.uri.base.path>
163 <!-- End of Default ONAP Schema Properties -->
166 <!-- Docker profile to be used for building docker image and pushing to nexus -->
172 <groupId>io.fabric8</groupId>
173 <artifactId>docker-maven-plugin</artifactId>
174 <version>${docker.fabric.version}</version>
176 <verbose>true</verbose>
177 <apiVersion>1.23</apiVersion>
180 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
185 <tag>${project.docker.latesttag.version}</tag>
186 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
188 <cleanup>try</cleanup>
189 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
194 <directory>${aai.build.directory}</directory>
195 <outputDirectory>/${project.artifactId}</outputDirectory>
206 <id>clean-images</id>
207 <phase>pre-clean</phase>
212 <removeAll>true</removeAll>
216 <id>generate-images</id>
217 <phase>package</phase>
224 <phase>deploy</phase>
234 <!-- Start of ONAP Profile -->
238 <schema.source.name>onap</schema.source.name>
239 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
240 <schema.version.list>v10,v11,v12,v13,v14,v15,v16</schema.version.list>
243 <!-- End of ONAP Profile -->
247 <skipTests>${maven.skip.tests}</skipTests>
250 <defaultGoal>pre-integration-test</defaultGoal>
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>exec-maven-plugin</artifactId>
255 <version>1.6.0</version>
258 <id>run-spring-boot</id>
259 <phase>package</phase>
266 <mainClass>${start-class}</mainClass>
269 <key>snapshot.location</key>
270 <value>${snapshot.file}</value>
273 <key>schema.source.name</key>
274 <value>${schema.source.name}</value>
277 <key>schema.configuration.location</key>
278 <value>${schema.configuration.location}</value>
281 <key>schema.nodes.location</key>
282 <value>${schema.nodes.location}</value>
285 <key>schema.edges.location</key>
286 <value>${schema.edges.location}</value>
289 <key>schema.version.depth.start</key>
290 <value>${schema.version.depth.start}</value>
293 <key>schema.version.related.link.start</key>
294 <value>${schema.version.related.link.start}</value>
297 <key>schema.version.app.root.start</key>
298 <value>${schema.version.app.root.start}</value>
301 <key>schema.version.namespace.change.start</key>
302 <value>${schema.version.namespace.change.start}</value>
305 <key>schema.version.edge.label.start</key>
306 <value>${schema.version.edge.label.start}</value>
309 <key>schema.version.api.default</key>
310 <value>${schema.version.api.default}</value>
313 <key>schema.version.list</key>
314 <value>${schema.version.list}</value>
317 <key>schema.uri.base.path</key>
318 <value>${schema.uri.base.path}</value>
321 <executable>java</executable>
328 <dependencyManagement>
331 <groupId>org.springframework.boot</groupId>
332 <artifactId>spring-boot-starter-parent</artifactId>
333 <version>${spring.boot.version}</version>
335 <scope>import</scope>
338 </dependencyManagement>
341 <groupId>net.sf.jopt-simple</groupId>
342 <artifactId>jopt-simple</artifactId>
343 <version>${jopt.simple.version}</version>
346 <groupId>io.swagger</groupId>
347 <artifactId>swagger-core</artifactId>
348 <version>${io.swagger.version}</version>
351 <groupId>javax.ws.rs</groupId>
352 <artifactId>jsr311-api</artifactId>
357 <groupId>io.swagger</groupId>
358 <artifactId>swagger-annotations</artifactId>
359 <version>${io.swagger.version}</version>
362 <groupId>io.swagger</groupId>
363 <artifactId>swagger-jersey-jaxrs</artifactId>
364 <version>${io.swagger.version}</version>
367 <groupId>org.glassfish.jersey.media</groupId>
368 <artifactId>jersey-media-multipart</artifactId>
371 <artifactId>jersey-core</artifactId>
372 <groupId>com.sun.jersey</groupId>
375 <artifactId>jersey-json</artifactId>
376 <groupId>com.sun.jersey</groupId>
379 <artifactId>jersey-server</artifactId>
380 <groupId>com.sun.jersey</groupId>
383 <artifactId>jersey-client</artifactId>
384 <groupId>com.sun.jersey</groupId>
387 <artifactId>jsr311-api</artifactId>
388 <groupId>javax.ws.rs</groupId>
391 <artifactId>jersey-multipart</artifactId>
392 <groupId>com.sun.jersey.contribs</groupId>
397 <groupId>commons-configuration</groupId>
398 <artifactId>commons-configuration</artifactId>
399 <version>${commons.configuration.version}</version>
402 <artifactId>commons-lang</artifactId>
403 <groupId>commons-lang</groupId>
408 <groupId>commons-lang</groupId>
409 <artifactId>commons-lang</artifactId>
410 <version>${commons.lang.version}</version>
412 <!-- eelf dependency -->
414 <groupId>com.att.eelf</groupId>
415 <artifactId>eelf-core</artifactId>
416 <version>${eelf.core.version}</version>
419 <groupId>ch.qos.logback</groupId>
420 <artifactId>logback-core</artifactId>
421 <version>${logback.version}</version>
424 <groupId>ch.qos.logback</groupId>
425 <artifactId>logback-classic</artifactId>
426 <version>${logback.version}</version>
429 <groupId>ch.qos.logback</groupId>
430 <artifactId>logback-access</artifactId>
431 <version>${logback.version}</version>
434 <groupId>org.hamcrest</groupId>
435 <artifactId>hamcrest-junit</artifactId>
436 <version>${hamcrest.junit.version}</version>
439 <groupId>junit</groupId>
440 <artifactId>junit</artifactId>
444 <groupId>com.google.guava</groupId>
445 <artifactId>guava</artifactId>
446 <version>${google.guava.version}</version>
449 <groupId>org.janusgraph</groupId>
450 <artifactId>janusgraph-core</artifactId>
451 <version>${janusgraph.version}</version>
454 <groupId>org.slf4j</groupId>
455 <artifactId>slf4j-log4j12</artifactId>
458 <groupId>dom4j</groupId>
459 <artifactId>dom4j</artifactId>
464 <groupId>org.janusgraph</groupId>
465 <artifactId>janusgraph-cassandra</artifactId>
466 <version>${janusgraph.version}</version>
469 <groupId>org.slf4j</groupId>
470 <artifactId>slf4j-log4j12</artifactId>
475 <groupId>org.janusgraph</groupId>
476 <artifactId>janusgraph-cql</artifactId>
477 <version>${janusgraph.version}</version>
480 <groupId>org.slf4j</groupId>
481 <artifactId>slf4j-log4j12</artifactId>
486 <groupId>org.janusgraph</groupId>
487 <artifactId>janusgraph-hbase</artifactId>
488 <version>${janusgraph.version}</version>
491 <groupId>dom4j</groupId>
492 <artifactId>dom4j</artifactId>
497 <groupId>org.apache.tinkerpop</groupId>
498 <artifactId>gremlin-driver</artifactId>
499 <version>${gremlin.version}</version>
502 <groupId>org.codehaus.groovy</groupId>
503 <artifactId>groovy</artifactId>
508 <groupId>com.fasterxml.jackson.jaxrs</groupId>
509 <artifactId>jackson-jaxrs-json-provider</artifactId>
512 <groupId>org.mockito</groupId>
513 <artifactId>mockito-all</artifactId>
514 <version>${mockito.version}</version>
518 <groupId>org.powermock</groupId>
519 <artifactId>powermock-module-junit4</artifactId>
520 <version>${powermock.version}</version>
524 <groupId>org.powermock</groupId>
525 <artifactId>powermock-api-mockito</artifactId>
526 <version>${powermock.version}</version>
530 <groupId>com.beust</groupId>
531 <artifactId>jcommander</artifactId>
532 <version>${jcommander.version}</version>
535 <groupId>org.json</groupId>
536 <artifactId>json</artifactId>
537 <version>${json.version}</version>
540 <groupId>org.freemarker</groupId>
541 <artifactId>freemarker</artifactId>
542 <version>${freemarker.version}</version>
545 <groupId>javax.xml.bind</groupId>
546 <artifactId>jaxb-api</artifactId>
547 <version>${jaxb.version}</version>
550 <groupId>com.sun.xml.bind</groupId>
551 <artifactId>jaxb-impl</artifactId>
552 <version>${jaxb.version}</version>
555 <groupId>com.sun.xml.bind</groupId>
556 <artifactId>jaxb-core</artifactId>
557 <version>${jaxb.version}</version>
560 <groupId>com.sun.xml.bind</groupId>
561 <artifactId>jaxb-xjc</artifactId>
562 <version>${jaxb.version}</version>
565 <groupId>org.eclipse.persistence</groupId>
566 <artifactId>eclipselink</artifactId>
567 <version>${eclipse.persistence.version}</version>
570 <groupId>org.eclipse.persistence</groupId>
571 <artifactId>org.eclipse.persistence.moxy</artifactId>
572 <version>${eclipse.persistence.version}</version>
573 <scope>compile</scope>
576 <groupId>org.powermock</groupId>
577 <artifactId>powermock-module-javaagent</artifactId>
578 <version>${powermock.version}</version>
582 <groupId>org.powermock</groupId>
583 <artifactId>powermock-module-junit4-rule-agent</artifactId>
584 <version>${powermock.version}</version>
588 <groupId>com.github.fge</groupId>
589 <artifactId>json-patch</artifactId>
590 <version>${json.patch.version}</version>
593 <groupId>org.javatuples</groupId>
594 <artifactId>javatuples</artifactId>
595 <version>${javatuples.version}</version>
596 <scope>compile</scope>
599 <groupId>com.google.code.gson</groupId>
600 <artifactId>gson</artifactId>
601 <version>${gson.version}</version>
604 <groupId>com.bazaarvoice.jolt</groupId>
605 <artifactId>jolt-complete</artifactId>
606 <version>${jolt.version}</version>
609 <groupId>com.jayway.jsonpath</groupId>
610 <artifactId>json-path</artifactId>
611 <version>${json.path.version}</version>
613 <!-- Do not use activemq-all because they force you to use a specific logging
614 and they shade it so you can't simply exclude it and when you deploy the
615 jar, you will notice failure -->
617 <groupId>org.apache.activemq</groupId>
618 <artifactId>activemq-broker</artifactId>
619 <version>${activemq.version}</version>
622 <groupId>org.apache.activemq</groupId>
623 <artifactId>activemq-client</artifactId>
624 <version>${activemq.version}</version>
627 <groupId>org.onap.aai.aai-common</groupId>
628 <artifactId>aai-core</artifactId>
629 <version>${aai.core.version}</version>
632 <groupId>com.sun.jersey</groupId>
633 <artifactId>jersey-core</artifactId>
636 <groupId>org.codehaus.jackson</groupId>
637 <artifactId>jackson-mapper-asl</artifactId>
640 <groupId>org.eclipse.jetty</groupId>
641 <artifactId>jetty-http</artifactId>
644 <groupId>org.eclipse.jetty</groupId>
645 <artifactId>jetty-server</artifactId>
648 <groupId>org.springframework</groupId>
649 <artifactId>spring-web</artifactId>
654 <groupId>org.springframework</groupId>
655 <artifactId>spring-jms</artifactId>
656 <version>${spring.jms.version}</version>
659 <groupId>com.sun.jersey</groupId>
660 <artifactId>jersey-core</artifactId>
664 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
665 with jersey 2 which we are using -->
666 <!-- Use this to make http requests instead of jersey 1.0 client -->
668 <groupId>org.apache.httpcomponents</groupId>
669 <artifactId>httpclient</artifactId>
670 <version>${httpclient.version}</version>
673 <groupId>org.onap.aai.aai-common</groupId>
674 <artifactId>aai-rest</artifactId>
675 <version>${aai.rest.version}</version>
678 <groupId>org.skyscreamer</groupId>
679 <artifactId>jsonassert</artifactId>
680 <version>${jsonassert.version}</version>
684 Explicitly stating the security spring framework and
685 exclude the bouncy castle since that is somehow overwriting
686 our p12 file decryption that's built into java security
687 This will cause the password is incorrect
688 This needs to be added back if org.bouncy castle dependency
689 sneaks backs in and causing issues with the two way ssl
692 <groupId>org.springframework.security</groupId>
693 <artifactId>spring-security-rsa</artifactId>
694 <version>${spring.security.version}</version>
697 <groupId>org.bouncycastle</groupId>
698 <artifactId>bcpkix-jdk15on</artifactId>
703 <groupId>io.netty</groupId>
704 <artifactId>netty-handler</artifactId>
705 <version>${netty.handler.version}</version>
708 <groupId>org.springframework.boot</groupId>
709 <artifactId>spring-boot-starter-web</artifactId>
712 <groupId>org.springframework.boot</groupId>
713 <artifactId>spring-boot-starter-tomcat</artifactId>
716 <groupId>org.slf4j</groupId>
717 <artifactId>log4j-over-slf4j</artifactId>
722 <groupId>org.springframework.boot</groupId>
723 <artifactId>spring-boot-starter-jetty</artifactId>
726 <groupId>org.springframework.boot</groupId>
727 <artifactId>spring-boot-starter-jersey</artifactId>
730 <groupId>org.springframework.boot</groupId>
731 <artifactId>spring-boot-starter-tomcat</artifactId>
736 <groupId>org.onap.aaf.authz</groupId>
737 <artifactId>aaf-cadi-aaf</artifactId>
738 <version>${aaf.version}</version>
741 <groupId>io.netty</groupId>
742 <artifactId>netty-all</artifactId>
743 <version>${netty.version}</version>
746 <groupId>org.springframework</groupId>
747 <artifactId>spring-test</artifactId>
748 <version>${spring.test.version}</version>
752 <groupId>org.springframework.boot</groupId>
753 <artifactId>spring-boot-test</artifactId>
757 <groupId>org.antlr</groupId>
758 <artifactId>antlr4-runtime</artifactId>
759 <version>${antlr.version}</version>
762 <groupId>org.antlr</groupId>
763 <artifactId>antlr4-maven-plugin</artifactId>
764 <version>${antlr.version}</version>
767 <groupId>org.sonatype.sisu</groupId>
768 <artifactId>sisu-guava</artifactId>
773 <groupId>org.apache.tinkerpop</groupId>
774 <artifactId>gremlin-core</artifactId>
775 <version>${gremlin.version}</version>
778 <groupId>org.slf4j</groupId>
779 <artifactId>slf4j-log4j12</artifactId>
784 <groupId>org.apache.tinkerpop</groupId>
785 <artifactId>tinkergraph-gremlin</artifactId>
786 <version>${gremlin.version}</version>
789 <groupId>org.apache.tinkerpop</groupId>
790 <artifactId>gremlin-groovy</artifactId>
791 <version>${gremlin.version}</version>
794 <groupId>org.codehaus.plexus</groupId>
795 <artifactId>plexus-utils</artifactId>
796 <version>${plexus.utils.version}</version>
802 <directory>${project.basedir}/src/main/swm</directory>
803 <targetPath>${project.build.directory}/swm</targetPath>
804 <filtering>false</filtering>
807 <directory>${project.basedir}/src/main/resources</directory>
809 <include>application.properties</include>
810 <include>dme2.properties</include>
811 <include>logback.xml</include>
812 <include>localhost-access-logback.xml</include>
814 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
815 <filtering>false</filtering>
818 <directory>${project.basedir}/src/main/resources</directory>
820 <include>**/*</include>
822 <filtering>true</filtering>
825 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
827 <include>janusgraph-realtime.properties</include>
828 <include>janusgraph-cached.properties</include>
829 <include>aaiconfig.properties</include>
831 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
832 <filtering>false</filtering>
835 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
837 <include>aai-client-cert.p12</include>
838 <include>tomcat_keystore</include>
839 <include>aai_policy.json</include>
841 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
842 <filtering>true</filtering>
845 <directory>${project.basedir}/src/main/resources/</directory>
847 <include>logback.xml</include>
848 <include>localhost-access-logback.xml</include>
850 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
851 <filtering>true</filtering>
854 <directory>${project.basedir}/src/main/resources/schema/</directory>
856 <include>**/oxm/**/*.xml</include>
857 <include>**/dbedgerules/**/*.json</include>
858 <include>**/query/**</include>
860 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
861 <filtering>false</filtering>
864 <directory>${project.basedir}/src/main/resources/query/</directory>
866 <include>**/*.json</include>
868 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/query</targetPath>
869 <filtering>false</filtering>
872 <directory>${project.basedir}/src/main/docker</directory>
874 <include>**/*</include>
876 <targetPath>${aai.build.directory}</targetPath>
877 <filtering>true</filtering>
883 <groupId>com.mycila</groupId>
884 <artifactId>license-maven-plugin</artifactId>
885 <version>3.0</version>
887 <header>LICENSE.TXT</header>
889 <include>src/main/java/**</include>
890 <include>src/test/java/**</include>
891 <include>pom.xml</include>
893 <skipExistingHeaders>true</skipExistingHeaders>
898 <groupId>org.codehaus.groovy.maven</groupId>
899 <artifactId>gmaven-plugin</artifactId>
900 <version>1.0</version>
903 <phase>validate</phase>
909 println project.properties['aai.project.version'];
911 if (project.properties['aai.project.version'] != null) {
912 versionArray = project.properties['aai.project.version'].split('\\.');
915 project.properties["project.major.version"] = versionArray[0];
916 project.properties["project.minor.version"] = versionArray[1];
917 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
918 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
928 <groupId>org.apache.maven.plugins</groupId>
929 <artifactId>maven-clean-plugin</artifactId>
930 <version>2.4.1</version>
934 <directory>${project.basedir}/src/main/resources/etc/oxm</directory>
936 <include>**/*</include>
938 <followSymlinks>false</followSymlinks>
941 <directory>${project.basedir}/src/main/resources/etc/dbedgerules</directory>
943 <include>**/*</include>
945 <followSymlinks>false</followSymlinks>
948 <directory>${project.basedir}/src/main/resources/schema</directory>
950 <include>**/oxm/**</include>
951 <include>**/dbedgerules/**</include>
953 <followSymlinks>false</followSymlinks>
959 <groupId>org.springframework.boot</groupId>
960 <artifactId>spring-boot-maven-plugin</artifactId>
963 <artifactId>exec-maven-plugin</artifactId>
964 <groupId>org.codehaus.mojo</groupId>
967 <groupId>org.apache.maven.plugins</groupId>
968 <artifactId>maven-javadoc-plugin</artifactId>
971 <groupId>com.mycila</groupId>
972 <artifactId>license-maven-plugin</artifactId>
975 <artifactId>maven-assembly-plugin</artifactId>
978 <descriptor>src/main/assembly/descriptor.xml</descriptor>
983 <id>make-assembly</id> <!-- this is used for inheritance merges -->
984 <phase>package</phase> <!-- bind to the packaging phase -->
992 <groupId>org.apache.maven.plugins</groupId>
993 <artifactId>maven-surefire-plugin</artifactId>
994 <version>2.12.4</version>
996 <argLine>-noverify ${argLine}</argLine>
997 <runOrder>alphabetical</runOrder>
1001 <groupId>org.codehaus.mojo</groupId>
1002 <artifactId>sonar-maven-plugin</artifactId>
1003 <version>3.3</version>
1006 <groupId>org.codehaus.groovy.maven</groupId>
1007 <artifactId>gmaven-plugin</artifactId>
1010 <groupId>org.jacoco</groupId>
1011 <artifactId>jacoco-maven-plugin</artifactId>
1012 <version>0.7.9</version>
1014 <dumpOnExit>true</dumpOnExit>
1016 <exclude>**/**/models/**/*.class</exclude>
1021 <id>jacoco-initialize-unit-tests</id>
1023 <goal>prepare-agent</goal>
1026 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1027 <!-- <append>true</append> -->
1031 <id>post-unit-test</id>
1037 <!-- Sets the path to the file which contains the execution data. -->
1038 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1039 <!-- Sets the output directory for the code coverage report. -->
1040 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
1044 <id>default-check</id>
1049 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1051 <!-- implementation is needed only for Maven 2 -->
1052 <rule implementation="org.jacoco.maven.RuleConfiguration">
1053 <element>BUNDLE</element>
1055 <limit implementation="org.jacoco.report.check.Limit">
1056 <counter>LINE</counter>
1057 <value>COVEREDRATIO</value>
1058 <minimum>${jacoco.line.coverage.limit}</minimum>
1068 <groupId>org.springframework.boot</groupId>
1069 <artifactId>spring-boot-maven-plugin</artifactId>
1071 <mainClass>${start-class}</mainClass>
1072 <layout>ZIP</layout>
1077 <goal>repackage</goal>
1083 <groupId>org.antlr</groupId>
1084 <artifactId>antlr4-maven-plugin</artifactId>
1085 <version>4.7</version>
1092 <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1093 <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1099 <groupId>org.apache.maven.plugins</groupId>
1100 <artifactId>maven-dependency-plugin</artifactId>
1101 <version>2.8</version>
1104 <id>unpack-schema-dependency</id>
1105 <phase>initialize</phase>
1112 <groupId>org.onap.aai.schema-service</groupId>
1113 <artifactId>aai-schema</artifactId>
1114 <version>${aai.schema.version}</version>
1115 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1116 <includes>**/oxm/**/*.xml</includes>
1119 <!-- other configurations here -->
1123 <id>unpack-edgerules-dependency</id>
1124 <phase>initialize</phase>
1131 <groupId>org.onap.aai.schema-service</groupId>
1132 <artifactId>aai-schema</artifactId>
1133 <version>${aai.schema.version}</version>
1134 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
1135 <includes>**/dbedgerules/**/*.json</includes>
1138 <!-- other configurations here -->
1144 <groupId>com.mycila</groupId>
1145 <artifactId>license-maven-plugin</artifactId>
1146 <version>3.0</version>
1148 <header>LICENSE.TXT</header>
1150 <include>src/main/java/**</include>
1151 <include>src/test/java/**</include>
1152 <include>pom.xml</include>
1154 <skipExistingHeaders>false</skipExistingHeaders>