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.resources</groupId>
27 <artifactId>aai-resources</artifactId>
28 <version>1.3.0-SNAPSHOT</version>
30 <groupId>org.onap.aai.resources</groupId>
31 <artifactId>resources</artifactId>
32 <version>1.3.0-SNAPSHOT</version>
35 <java.version>1.8</java.version>
36 <start-class>org.onap.aai.ResourcesApp</start-class>
38 <aai.schema.version>1.3.0-SNAPSHOT</aai.schema.version>
39 <aai.core.version>1.3.0-SNAPSHOT</aai.core.version>
40 <aai.schema.ingest.version>1.3.0-SNAPSHOT</aai.schema.ingest.version>
41 <hbase.version>1.0.2</hbase.version>
43 <spring.boot.version>1.5.15.RELEASE</spring.boot.version>
45 <!-- Start of the jacoco plugin properties -->
46 <sonar.language>java</sonar.language>
47 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
48 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
49 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
50 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
51 <sonar.projectVersion>${project.version}</sonar.projectVersion>
52 <!-- End of the jacoco plugin properties -->
54 <jopt.simple.version>4.9</jopt.simple.version>
56 <io.swagger.version>1.5.8</io.swagger.version>
57 <apache.log4j.version>1.2.17</apache.log4j.version>
59 <commons.beanutils.version>1.9.2</commons.beanutils.version>
60 <commons.compress.version>1.10</commons.compress.version>
61 <commons.configuration.version>1.9</commons.configuration.version>
63 <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
64 <scamper.encryption.version>1.8.20</scamper.encryption.version>
65 <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
66 <scamper.version>1.8.36</scamper.version>
67 <dom4j.version>1.6.1</dom4j.version>
68 <commons.lang.version>2.6</commons.lang.version>
69 <eelf.core.version>1.0.0</eelf.core.version>
70 <logback.version>1.2.3</logback.version>
71 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
72 <junit.version>4.12</junit.version>
73 <aaf.version>2.1.2-SNAPSHOT</aaf.version>
74 <janino.version>2.7.8</janino.version>
75 <google.guava.version>19.0</google.guava.version>
76 <janusgraph.version>0.2.0</janusgraph.version>
77 <gremlin.driver.version>3.2.2</gremlin.driver.version>
78 <gremlin.core.version>3.2.2</gremlin.core.version>
79 <gremlin.version>3.2.2</gremlin.version>
80 <groovy.version>2.4.15</groovy.version>
81 <hbase.version>1.0.2</hbase.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/
121 </aai.build.directory>
122 <aai.docker.namespace>onap</aai.docker.namespace>
124 <maven.skip.tests>true</maven.skip.tests>
125 <snapshot.file>${project.basedir}/snapshots/snapshot.graphson</snapshot.file>
127 <license.goal.type>check</license.goal.type>
128 <jacoco.line.coverage.limit>0.68</jacoco.line.coverage.limit>
130 <spring.web.version>4.3.6.RELEASE</spring.web.version>
131 <netty.handler.version>4.1.9.Final</netty.handler.version>
132 <netty.version>4.0.37.Final</netty.version>
133 <spring.test.version>4.3.6.RELEASE</spring.test.version>
135 <!-- This will be used for the docker images as the default format of maven build has issues -->
136 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
137 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
139 <!-- Start of Default ONAP Schema Properties -->
140 <schema.source.name>onap</schema.source.name>
141 <schema.configuration.location>N/A</schema.configuration.location>
142 <schema.nodes.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/oxm</schema.nodes.location>
143 <schema.edges.location>${project.basedir}/src/main/resources/schema/${schema.source.name}/dbedgerules</schema.edges.location>
144 <schema.version.depth.start>v9</schema.version.depth.start>
145 <schema.version.related.link.start>v10</schema.version.related.link.start>
146 <schema.version.app.root.start>v11</schema.version.app.root.start>
147 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
148 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
149 <schema.version.api.default>v14</schema.version.api.default>
150 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
151 <schema.uri.base.path>/aai</schema.uri.base.path>
152 <!-- End of Default ONAP Schema Properties -->
154 <!-- Setting some default value to not complain by editor but it will be overridden by gmaven plugin -->
157 <!-- Docker profile to be used for building docker image and pushing to nexus -->
163 <groupId>io.fabric8</groupId>
164 <artifactId>docker-maven-plugin</artifactId>
165 <version>${docker.fabric.version}</version>
167 <verbose>true</verbose>
168 <apiVersion>1.23</apiVersion>
171 <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
176 <tag>${project.docker.latesttag.version}</tag>
177 <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
179 <cleanup>try</cleanup>
180 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
185 <directory>${aai.build.directory}</directory>
186 <outputDirectory>/${project.artifactId}</outputDirectory>
197 <id>clean-images</id>
198 <phase>pre-clean</phase>
203 <removeAll>true</removeAll>
207 <id>generate-images</id>
208 <phase>package</phase>
215 <phase>deploy</phase>
225 <!-- Start of ONAP Profile -->
229 <schema.source.name>onap</schema.source.name>
230 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
231 <schema.version.list>v8,v9,v10,v11,v12,v13,v14</schema.version.list>
234 <!-- End of ONAP Profile -->
238 <skipTests>${maven.skip.tests}</skipTests>
241 <defaultGoal>pre-integration-test</defaultGoal>
244 <groupId>org.codehaus.mojo</groupId>
245 <artifactId>exec-maven-plugin</artifactId>
246 <version>1.6.0</version>
249 <id>run-spring-boot</id>
250 <phase>package</phase>
257 <mainClass>${start-class}</mainClass>
260 <key>snapshot.location</key>
261 <value>${snapshot.file}</value>
264 <key>schema.source.name</key>
265 <value>${schema.source.name}</value>
268 <key>schema.configuration.location</key>
269 <value>${schema.configuration.location}</value>
272 <key>schema.nodes.location</key>
273 <value>${schema.nodes.location}</value>
276 <key>schema.edges.location</key>
277 <value>${schema.edges.location}</value>
280 <key>schema.version.depth.start</key>
281 <value>${schema.version.depth.start}</value>
284 <key>schema.version.related.link.start</key>
285 <value>${schema.version.related.link.start}</value>
288 <key>schema.version.app.root.start</key>
289 <value>${schema.version.app.root.start}</value>
292 <key>schema.version.namespace.change.start</key>
293 <value>${schema.version.namespace.change.start}</value>
296 <key>schema.version.edge.label.start</key>
297 <value>${schema.version.edge.label.start}</value>
300 <key>schema.version.api.default</key>
301 <value>${schema.version.api.default}</value>
304 <key>schema.version.list</key>
305 <value>${schema.version.list}</value>
308 <key>schema.uri.base.path</key>
309 <value>${schema.uri.base.path}</value>
312 <executable>java</executable>
319 <dependencyManagement>
322 <groupId>org.springframework.boot</groupId>
323 <artifactId>spring-boot-starter-parent</artifactId>
324 <version>${spring.boot.version}</version>
326 <scope>import</scope>
329 </dependencyManagement>
332 <groupId>net.sf.jopt-simple</groupId>
333 <artifactId>jopt-simple</artifactId>
334 <version>${jopt.simple.version}</version>
337 <groupId>io.swagger</groupId>
338 <artifactId>swagger-core</artifactId>
339 <version>${io.swagger.version}</version>
342 <groupId>javax.ws.rs</groupId>
343 <artifactId>jsr311-api</artifactId>
348 <groupId>io.swagger</groupId>
349 <artifactId>swagger-annotations</artifactId>
350 <version>${io.swagger.version}</version>
353 <groupId>commons-configuration</groupId>
354 <artifactId>commons-configuration</artifactId>
355 <version>${commons.configuration.version}</version>
358 <artifactId>commons-lang</artifactId>
359 <groupId>commons-lang</groupId>
364 <groupId>io.swagger</groupId>
365 <artifactId>swagger-jersey-jaxrs</artifactId>
366 <version>${io.swagger.version}</version>
369 <groupId>org.glassfish.jersey.media</groupId>
370 <artifactId>jersey-media-multipart</artifactId>
373 <artifactId>jersey-core</artifactId>
374 <groupId>com.sun.jersey</groupId>
377 <artifactId>jersey-json</artifactId>
378 <groupId>com.sun.jersey</groupId>
381 <artifactId>jersey-server</artifactId>
382 <groupId>com.sun.jersey</groupId>
385 <artifactId>jersey-client</artifactId>
386 <groupId>com.sun.jersey</groupId>
389 <artifactId>jsr311-api</artifactId>
390 <groupId>javax.ws.rs</groupId>
393 <artifactId>jersey-multipart</artifactId>
394 <groupId>com.sun.jersey.contribs</groupId>
399 <groupId>commons-lang</groupId>
400 <artifactId>commons-lang</artifactId>
401 <version>${commons.lang.version}</version>
403 <!-- eelf dependency -->
405 <groupId>com.att.eelf</groupId>
406 <artifactId>eelf-core</artifactId>
407 <version>${eelf.core.version}</version>
410 <groupId>ch.qos.logback</groupId>
411 <artifactId>logback-core</artifactId>
412 <version>${logback.version}</version>
415 <groupId>ch.qos.logback</groupId>
416 <artifactId>logback-classic</artifactId>
417 <version>${logback.version}</version>
420 <groupId>ch.qos.logback</groupId>
421 <artifactId>logback-access</artifactId>
422 <version>${logback.version}</version>
425 <groupId>org.hamcrest</groupId>
426 <artifactId>hamcrest-junit</artifactId>
427 <version>${hamcrest.junit.version}</version>
430 <groupId>junit</groupId>
431 <artifactId>junit</artifactId>
432 <version>${junit.version}</version>
436 <groupId>com.google.guava</groupId>
437 <artifactId>guava</artifactId>
438 <version>${google.guava.version}</version>
441 <groupId>org.janusgraph</groupId>
442 <artifactId>janusgraph-core</artifactId>
443 <version>${janusgraph.version}</version>
446 <groupId>org.slf4j</groupId>
447 <artifactId>slf4j-log4j12</artifactId>
452 <groupId>org.janusgraph</groupId>
453 <artifactId>janusgraph-cassandra</artifactId>
454 <version>${janusgraph.version}</version>
457 <groupId>org.slf4j</groupId>
458 <artifactId>slf4j-log4j12</artifactId>
463 <groupId>org.janusgraph</groupId>
464 <artifactId>janusgraph-cql</artifactId>
465 <version>${janusgraph.version}</version>
468 <groupId>org.slf4j</groupId>
469 <artifactId>slf4j-log4j12</artifactId>
474 <groupId>org.apache.tinkerpop</groupId>
475 <artifactId>tinkergraph-gremlin</artifactId>
476 <version>${gremlin.version}</version>
479 <groupId>org.apache.tinkerpop</groupId>
480 <artifactId>gremlin-core</artifactId>
481 <version>${gremlin.version}</version>
484 <groupId>org.apache.tinkerpop</groupId>
485 <artifactId>gremlin-driver</artifactId>
486 <version>${gremlin.version}</version>
489 <groupId>com.fasterxml.jackson.jaxrs</groupId>
490 <artifactId>jackson-jaxrs-json-provider</artifactId>
493 <groupId>org.mockito</groupId>
494 <artifactId>mockito-all</artifactId>
495 <version>${mockito.version}</version>
499 <groupId>org.powermock</groupId>
500 <artifactId>powermock-module-junit4</artifactId>
501 <version>${powermock.version}</version>
505 <groupId>org.powermock</groupId>
506 <artifactId>powermock-api-mockito</artifactId>
507 <version>${powermock.version}</version>
511 <groupId>com.beust</groupId>
512 <artifactId>jcommander</artifactId>
513 <version>${jcommander.version}</version>
516 <groupId>org.json</groupId>
517 <artifactId>json</artifactId>
518 <version>${json.version}</version>
521 <groupId>org.freemarker</groupId>
522 <artifactId>freemarker</artifactId>
523 <version>${freemarker.version}</version>
526 <groupId>javax.xml.bind</groupId>
527 <artifactId>jaxb-api</artifactId>
528 <version>${jaxb.version}</version>
531 <groupId>com.sun.xml.bind</groupId>
532 <artifactId>jaxb-impl</artifactId>
533 <version>${jaxb.version}</version>
536 <groupId>com.sun.xml.bind</groupId>
537 <artifactId>jaxb-core</artifactId>
538 <version>${jaxb.version}</version>
541 <groupId>org.onap.aaf.authz</groupId>
542 <artifactId>aaf-cadi-aaf</artifactId>
543 <version>${aaf.version}</version>
546 <groupId>com.sun.xml.bind</groupId>
547 <artifactId>jaxb-xjc</artifactId>
548 <version>${jaxb.version}</version>
551 <groupId>org.eclipse.persistence</groupId>
552 <artifactId>eclipselink</artifactId>
553 <version>${eclipse.persistence.version}</version>
556 <groupId>org.eclipse.persistence</groupId>
557 <artifactId>org.eclipse.persistence.moxy</artifactId>
558 <version>${eclipse.persistence.version}</version>
559 <scope>compile</scope>
562 <groupId>com.github.fge</groupId>
563 <artifactId>json-patch</artifactId>
564 <version>${json.patch.version}</version>
567 <groupId>org.javatuples</groupId>
568 <artifactId>javatuples</artifactId>
569 <version>${javatuples.version}</version>
570 <scope>compile</scope>
573 <groupId>com.google.code.gson</groupId>
574 <artifactId>gson</artifactId>
575 <version>${gson.version}</version>
578 <groupId>com.att.nsa</groupId>
579 <artifactId>dmaapClient</artifactId>
580 <version>${dmaap.client.version}</version>
583 <groupId>org.slf4j</groupId>
584 <artifactId>slf4j-log4j12</artifactId>
587 <groupId>com.att.aft</groupId>
588 <artifactId>dme2</artifactId>
593 <groupId>com.jayway.jsonpath</groupId>
594 <artifactId>json-path</artifactId>
595 <version>${json.path.version}</version>
597 <!-- Do not use activemq-all because they force you to use a specific logging
598 and they shade it so you can't simply exclude it and when you deploy the
599 jar, you will notice failure -->
601 <groupId>org.apache.activemq</groupId>
602 <artifactId>activemq-broker</artifactId>
603 <version>${activemq.version}</version>
606 <groupId>org.apache.activemq</groupId>
607 <artifactId>activemq-client</artifactId>
608 <version>${activemq.version}</version>
611 <groupId>org.onap.aai.aai-common</groupId>
612 <artifactId>aai-core</artifactId>
613 <version>${aai.core.version}</version>
616 <groupId>com.sun.jersey</groupId>
617 <artifactId>jersey-core</artifactId>
620 <groupId>org.codehaus.jackson</groupId>
621 <artifactId>jackson-mapper-asl</artifactId>
626 <groupId>org.onap.aai.aai-common</groupId>
627 <artifactId>aai-schema-ingest</artifactId>
628 <version>${aai.schema.ingest.version}</version>
632 <groupId>org.springframework</groupId>
633 <artifactId>spring-jms</artifactId>
634 <version>${spring.jms.version}</version>
637 <groupId>com.sun.jersey</groupId>
638 <artifactId>jersey-core</artifactId>
642 <!-- Do not use the jersey-client since jersey client 1.0 version clashes
643 with jersey 2 which we are using -->
644 <!-- Use this to make http requests instead of jersey 1.0 client -->
646 <groupId>org.apache.httpcomponents</groupId>
647 <artifactId>httpclient</artifactId>
648 <version>${httpclient.version}</version>
651 <groupId>org.skyscreamer</groupId>
652 <artifactId>jsonassert</artifactId>
653 <version>${jsonassert.version}</version>
657 Explicitly stating the security spring framework and
658 exclude the bouncy castle since that is somehow overwriting
659 our p12 file decryption that's built into java security
660 This will cause the password is incorrect
661 This needs to be added back if org.bouncy castle dependency
662 sneaks backs in and causing issues with the two way ssl
665 <groupId>org.springframework.security</groupId>
666 <artifactId>spring-security-rsa</artifactId>
667 <version>${spring.security.version}</version>
670 <groupId>org.bouncycastle</groupId>
671 <artifactId>bcpkix-jdk15on</artifactId>
676 <groupId>io.netty</groupId>
677 <artifactId>netty-handler</artifactId>
678 <version>${netty.handler.version}</version>
681 <groupId>org.springframework.boot</groupId>
682 <artifactId>spring-boot-starter-web</artifactId>
685 <groupId>org.springframework.boot</groupId>
686 <artifactId>spring-boot-starter-tomcat</artifactId>
691 <groupId>org.springframework.boot</groupId>
692 <artifactId>spring-boot-starter-jetty</artifactId>
695 <groupId>org.springframework.boot</groupId>
696 <artifactId>spring-boot-starter-jersey</artifactId>
699 <groupId>org.springframework</groupId>
700 <artifactId>spring-web</artifactId>
701 <version>${spring.web.version}</version>
704 <groupId>io.netty</groupId>
705 <artifactId>netty-all</artifactId>
706 <version>${netty.version}</version>
709 <groupId>org.codehaus.groovy</groupId>
710 <artifactId>groovy</artifactId>
711 <version>${groovy.version}</version>
712 <classifier>indy</classifier>
715 <groupId>org.springframework</groupId>
716 <artifactId>spring-test</artifactId>
717 <version>${spring.test.version}</version>
721 <groupId>org.springframework.boot</groupId>
722 <artifactId>spring-boot-test</artifactId>
726 <groupId>org.apache.tinkerpop</groupId>
727 <artifactId>gremlin-groovy</artifactId>
728 <version>${gremlin.version}</version>
734 <directory>${project.basedir}/src/main/swm</directory>
735 <targetPath>${project.build.directory}/swm</targetPath>
736 <filtering>false</filtering>
739 <directory>${project.basedir}/src/main/resources</directory>
741 <include>application.properties</include>
742 <include>dme2.properties</include>
743 <include>logback.xml</include>
744 <include>localhost-access-logback.xml</include>
746 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
747 <filtering>false</filtering>
750 <directory>${project.basedir}/src/main/resources</directory>
752 <include>**/*</include>
754 <filtering>true</filtering>
757 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
759 <include>janusgraph-realtime.properties</include>
760 <include>janusgraph-cached.properties</include>
761 <include>aaiconfig.properties</include>
763 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
764 <filtering>false</filtering>
767 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
769 <include>aai-client-cert.p12</include>
770 <include>tomcat_keystore</include>
771 <include>aai_policy.json</include>
773 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
774 <filtering>true</filtering>
777 <directory>${project.basedir}/src/main/resources/</directory>
779 <include>logback.xml</include>
780 <include>localhost-access-logback.xml</include>
781 <include>hbase-site.xml</include>
783 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig</targetPath>
784 <filtering>true</filtering>
787 <directory>${project.basedir}/src/main/resources/schema/</directory>
789 <include>**/oxm/**/*.xml</include>
790 <include>**/dbedgerules/**/*.json</include>
792 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema</targetPath>
793 <filtering>false</filtering>
796 <directory>${project.basedir}/src/main/docker</directory>
798 <include>**/*</include>
800 <targetPath>${aai.build.directory}</targetPath>
801 <filtering>true</filtering>
804 <directory>${project.build.directory}/</directory>
806 <include>${project.artifactId}-${project.version}.jar</include>
808 <targetPath>${aai.build.directory}/lib/</targetPath>
809 <filtering>false</filtering>
815 <groupId>org.apache.maven.plugins</groupId>
816 <artifactId>maven-dependency-plugin</artifactId>
817 <version>2.8</version>
820 <id>unpack-schema-dependency</id>
821 <phase>initialize</phase>
828 <groupId>org.onap.aai.aai-common</groupId>
829 <artifactId>aai-schema</artifactId>
830 <version>${aai.schema.version}</version>
831 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
832 <includes>**/oxm/**/*.xml</includes>
835 <!-- other configurations here -->
839 <id>unpack-edgerules-dependency</id>
840 <phase>initialize</phase>
847 <groupId>org.onap.aai.aai-common</groupId>
848 <artifactId>aai-schema</artifactId>
849 <version>${aai.schema.version}</version>
850 <outputDirectory>${project.basedir}/src/main/resources/schema/</outputDirectory>
851 <includes>**/dbedgerules/**/*.json</includes>
854 <!-- other configurations here -->
860 <groupId>org.codehaus.groovy.maven</groupId>
861 <artifactId>gmaven-plugin</artifactId>
862 <version>1.0</version>
865 <phase>validate</phase>
871 println project.properties['aai.project.version'];
873 if (project.properties['aai.project.version'] != null) {
874 versionArray = project.properties['aai.project.version'].split('\\.');
877 project.properties["project.major.version"] = versionArray[0];
878 project.properties["project.minor.version"] = versionArray[1];
879 project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + '-STAGING-latest';
880 println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
887 <groupId>com.mycila</groupId>
888 <artifactId>license-maven-plugin</artifactId>
889 <version>3.0</version>
891 <header>LICENSE.TXT</header>
893 <include>src/main/java/**</include>
894 <include>src/test/java/**</include>
895 <include>pom.xml</include>
897 <skipExistingHeaders>false</skipExistingHeaders>
903 <!-- Set goal to "format" to auto update license headers -->
904 <goal>${license.goal.type}</goal>
906 <phase>process-sources</phase>
914 <groupId>org.springframework.boot</groupId>
915 <artifactId>spring-boot-maven-plugin</artifactId>
918 <groupId>org.apache.maven.plugins</groupId>
919 <artifactId>maven-clean-plugin</artifactId>
920 <version>2.4.1</version>
924 <directory>${project.basedir}/src/main/resources/schema</directory>
926 <include>**/*</include>
928 <followSymlinks>false</followSymlinks>
934 <groupId>org.codehaus.groovy.maven</groupId>
935 <artifactId>gmaven-plugin</artifactId>
938 <groupId>org.apache.maven.plugins</groupId>
939 <artifactId>maven-dependency-plugin</artifactId>
940 <version>2.10</version>
943 <groupId>org.apache.maven.plugins</groupId>
944 <artifactId>maven-javadoc-plugin</artifactId>
945 <version>${javadoc.plugin.version}</version>
948 <artifactId>maven-assembly-plugin</artifactId>
951 <descriptor>src/main/assembly/descriptor.xml</descriptor>
956 <id>make-assembly</id> <!-- this is used for inheritance merges -->
957 <phase>package</phase> <!-- bind to the packaging phase -->
965 <groupId>org.apache.maven.plugins</groupId>
966 <artifactId>maven-surefire-plugin</artifactId>
967 <version>2.12.4</version>
969 <argLine>-noverify ${argLine}</argLine>
970 <runOrder>alphabetical</runOrder>
974 <groupId>com.mycila</groupId>
975 <artifactId>license-maven-plugin</artifactId>
978 <groupId>org.codehaus.mojo</groupId>
979 <artifactId>sonar-maven-plugin</artifactId>
980 <version>3.3</version>
983 <groupId>org.jacoco</groupId>
984 <artifactId>jacoco-maven-plugin</artifactId>
985 <version>0.7.9</version>
987 <dumpOnExit>true</dumpOnExit>
989 <exclude>**/**/models/**/*.class</exclude>
994 <id>jacoco-initialize-unit-tests</id>
996 <goal>prepare-agent</goal>
999 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1000 <!-- <append>true</append> -->
1004 <id>post-unit-test</id>
1010 <!-- Sets the path to the file which contains the execution data. -->
1011 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1012 <!-- Sets the output directory for the code coverage report. -->
1013 <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
1017 <id>default-check</id>
1022 <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
1024 <!-- implementation is needed only for Maven 2 -->
1025 <rule implementation="org.jacoco.maven.RuleConfiguration">
1026 <element>BUNDLE</element>
1028 <limit implementation="org.jacoco.report.check.Limit">
1029 <counter>LINE</counter>
1030 <value>COVEREDRATIO</value>
1031 <minimum>${jacoco.line.coverage.limit}</minimum>
1041 <groupId>org.apache.maven.plugins</groupId>
1042 <artifactId>maven-deploy-plugin</artifactId>
1045 <id>default-deploy</id>
1051 <groupId>org.sonatype.plugins</groupId>
1052 <artifactId>nexus-staging-maven-plugin</artifactId>
1053 <version>1.6.7</version>
1054 <extensions>true</extensions>
1056 <nexusUrl>${nexusproxy}</nexusUrl>
1057 <stagingProfileId>176c31dfe190a</stagingProfileId>
1058 <serverId>ecomp-staging</serverId>
1062 <groupId>org.springframework.boot</groupId>
1063 <artifactId>spring-boot-maven-plugin</artifactId>
1064 <version>${spring.boot.version}</version>
1066 <mainClass>${start-class}</mainClass>
1067 <layout>ZIP</layout>
1072 <goal>repackage</goal>
1082 <groupId>org.apache.maven.plugins</groupId>
1083 <artifactId>maven-javadoc-plugin</artifactId>
1084 <version>2.10.4</version>
1086 <failOnError>false</failOnError>
1087 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1089 <groupId>org.umlgraph</groupId>
1090 <artifactId>umlgraph</artifactId>
1091 <version>5.6</version>
1093 <additionalparam>-views</additionalparam>
1094 <useStandardDocletOptions>true</useStandardDocletOptions>