1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START======================================================
6 ===============================================================================
7 Copyright © 2019 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"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.aai.aai-common</groupId>
29 <artifactId>aai-common</artifactId>
30 <version>1.6.6-SNAPSHOT</version>
32 <artifactId>aai-parent</artifactId>
33 <name>aai-parent</name>
34 <packaging>pom</packaging>
41 <!-- update this just prior to release or figure out something with version.properties -->
42 <aai.release.version>${project.version}</aai.release.version>
43 <aai.common.logging.version>1.5.1</aai.common.logging.version>
44 <aai.rest.client.version>1.5.1</aai.rest.client.version>
45 <aai.schema.service.version>1.6.0</aai.schema.service.version>
47 <aaf.version>2.1.15</aaf.version>
48 <antlr.version>4.7.2</antlr.version>
49 <activemq.version>5.15.11</activemq.version>
50 <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
51 <commons.beanutils.version>1.9.4</commons.beanutils.version>
52 <commons.cli.version>1.4</commons.cli.version>
53 <commons.compress.version>1.19</commons.compress.version>
54 <commons.configuration.version>1.10</commons.configuration.version>
55 <commons.io.version>2.6</commons.io.version>
56 <commons.lang.version>2.6</commons.lang.version>
57 <commons.lang3.version>3.9</commons.lang3.version>
58 <commons.net.version>3.6</commons.net.version>
59 <commons.text.version>1.8</commons.text.version>
60 <docker.fabric.version>0.31.0</docker.fabric.version>
61 <dmaap.client.version>1.1.9</dmaap.client.version>
62 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
63 <eelf.core.version>1.0.1-oss</eelf.core.version>
64 <freemarker.version>2.3.29</freemarker.version>
65 <google.guava.version>19.0</google.guava.version>
66 <gremlin.version>3.2.3</gremlin.version>
67 <groovy.version>2.5.8</groovy.version>
68 <gson.version>2.8.6</gson.version>
69 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
70 <hamcrest.core.version>2.2</hamcrest.core.version>
71 <jackson.bom.version>2.10.1</jackson.bom.version>
72 <janusgraph.version>0.2.3</janusgraph.version>
73 <javatuples.version>1.2</javatuples.version>
74 <jaxb.version>2.2.12</jaxb.version>
75 <jaxrs.version>2.0.1</jaxrs.version>
76 <jcommander.version>1.78</jcommander.version>
77 <jersey.version>1.19.4</jersey.version>
78 <jnr.ffi.version>2.1.11</jnr.ffi.version>
79 <jolt.version>0.0.24</jolt.version>
80 <jopt.simple.version>5.0.4</jopt.simple.version>
81 <jsonassert.version>1.5.0</jsonassert.version>
82 <json.patch.version>1.9</json.patch.version>
83 <json.path.version>2.4.0</json.path.version>
84 <json.version>20190722</json.version>
85 <junit.version>4.12</junit.version>
86 <httpclient.version>4.5.10</httpclient.version>
87 <io.swagger.version>1.5.24</io.swagger.version>
88 <logback.version>1.2.3</logback.version>
89 <log4j.version>1.2.17</log4j.version>
90 <mockito.all.version>1.10.19</mockito.all.version>
91 <mockito.core.version>2.15.0</mockito.core.version>
92 <netty.handler.version>4.1.43.Final</netty.handler.version>
93 <netty.version>4.0.56.Final</netty.version>
94 <opencsv.version>3.1</opencsv.version>
95 <powermock.version>1.6.6</powermock.version>
96 <plexus.utils.version>3.1.1</plexus.utils.version>
97 <reflections.version>0.9.10</reflections.version>
98 <snakeyaml.version>1.25</snakeyaml.version>
100 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
102 <sonar.jacoco.reportPath />
103 <sonar.jacoco.itReportPath />
104 <sonar.jacoco.reportMissing.force.zero />
106 <!-- we let things pass by default, set custom level for each child project -->
107 <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
109 <jacoco.version>0.8.5</jacoco.version>
110 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
111 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
112 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
113 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
115 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
117 <spring.web.version>4.3.25.RELEASE</spring.web.version>
118 <spring.jms.version>4.3.25.RELEASE</spring.jms.version>
119 <spring.test.version>4.3.25.RELEASE</spring.test.version>
120 <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
121 <json.simple.version>1.1.1</json.simple.version>
122 <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
128 <id>spring-boot-2-1</id>
130 <spring.boot.version>2.1.6.RELEASE</spring.boot.version>
135 <dependencyManagement>
139 <groupId>com.googlecode.json-simple</groupId>
140 <artifactId>json-simple</artifactId>
141 <version>${json.simple.version}</version>
145 <groupId>org.onap.aai.aai-common</groupId>
146 <artifactId>aai-schema-ingest</artifactId>
147 <version>${aai.release.version}</version>
151 <groupId>org.onap.aai.aai-common</groupId>
152 <artifactId>aai-core</artifactId>
153 <version>${aai.release.version}</version>
157 <groupId>org.onap.aai.aai-common</groupId>
158 <artifactId>aai-annotations</artifactId>
159 <version>${aai.release.version}</version>
163 <groupId>org.onap.aai.aai-common</groupId>
164 <artifactId>aai-rest</artifactId>
165 <version>${aai.release.version}</version>
169 <groupId>com.fasterxml.jackson</groupId>
170 <artifactId>jackson-bom</artifactId>
171 <version>${jackson.bom.version}</version>
173 <scope>import</scope>
177 <groupId>org.springframework.boot</groupId>
178 <artifactId>spring-boot-starter-web</artifactId>
179 <version>${spring.boot.version}</version>
183 <groupId>org.springframework.boot</groupId>
184 <artifactId>spring-boot-starter-parent</artifactId>
185 <version>${spring.boot.version}</version>
187 <scope>import</scope>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-dependencies</artifactId>
193 <version>${spring.boot.version}</version>
195 <scope>import</scope>
199 <groupId>org.springframework.boot</groupId>
200 <artifactId>spring-boot-test</artifactId>
202 <version>${spring.boot.version}</version>
206 <groupId>org.springframework</groupId>
207 <artifactId>spring-test</artifactId>
208 <version>${spring.test.version}</version>
212 <groupId>commons-configuration</groupId>
213 <artifactId>commons-configuration</artifactId>
214 <version>${commons.configuration.version}</version>
218 <groupId>org.apache.commons</groupId>
219 <artifactId>commons-lang3</artifactId>
220 <version>${commons.lang3.version}</version>
225 <groupId>commons-lang</groupId>
226 <artifactId>commons-lang</artifactId>
227 <version>${commons.lang.version}</version>
231 <groupId>com.att.eelf</groupId>
232 <artifactId>eelf-core</artifactId>
233 <version>${eelf.core.version}</version>
237 <groupId>ch.qos.logback</groupId>
238 <artifactId>logback-core</artifactId>
239 <version>${logback.version}</version>
243 <groupId>ch.qos.logback</groupId>
244 <artifactId>logback-classic</artifactId>
245 <version>${logback.version}</version>
249 <groupId>ch.qos.logback</groupId>
250 <artifactId>logback-access</artifactId>
251 <version>${logback.version}</version>
255 <groupId>org.hamcrest</groupId>
256 <artifactId>java-hamcrest</artifactId>
257 <version>${hamcrest.junit.version}</version>
261 <groupId>org.hamcrest</groupId>
262 <artifactId>hamcrest-core</artifactId>
263 <version>${hamcrest.core.version}</version>
267 <groupId>org.hamcrest</groupId>
268 <artifactId>hamcrest-junit</artifactId>
269 <version>${hamcrest.junit.version}</version>
273 <groupId>junit</groupId>
274 <artifactId>junit</artifactId>
275 <version>${junit.version}</version>
279 <groupId>com.google.guava</groupId>
280 <artifactId>guava</artifactId>
281 <version>${google.guava.version}</version>
285 <groupId>org.janusgraph</groupId>
286 <artifactId>janusgraph-core</artifactId>
287 <version>${janusgraph.version}</version>
291 <groupId>org.janusgraph</groupId>
292 <artifactId>janusgraph-cassandra</artifactId>
293 <version>${janusgraph.version}</version>
297 <groupId>org.janusgraph</groupId>
298 <artifactId>janusgraph-cql</artifactId>
299 <version>${janusgraph.version}</version>
303 <groupId>com.github.jnr</groupId>
304 <artifactId>jnr-ffi</artifactId>
305 <version>${jnr.ffi.version}</version>
309 <groupId>org.apache.tinkerpop</groupId>
310 <artifactId>tinkergraph-gremlin</artifactId>
311 <version>${gremlin.version}</version>
314 <groupId>org.apache.tinkerpop</groupId>
315 <artifactId>gremlin-core</artifactId>
316 <version>${gremlin.version}</version>
319 <groupId>org.apache.tinkerpop</groupId>
320 <artifactId>gremlin-driver</artifactId>
321 <version>${gremlin.version}</version>
325 <groupId>org.apache.tinkerpop</groupId>
326 <artifactId>gremlin-groovy</artifactId>
327 <version>${gremlin.version}</version>
331 <groupId>org.codehaus.groovy</groupId>
332 <artifactId>groovy</artifactId>
333 <version>${groovy.version}</version>
334 <classifier>indy</classifier>
338 <groupId>org.mockito</groupId>
339 <artifactId>mockito-all</artifactId>
340 <version>${mockito.all.version}</version>
343 <!-- <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId>
344 <version>${mockito.core.version}</version> </dependency> -->
346 <groupId>org.powermock</groupId>
347 <artifactId>powermock-module-junit4</artifactId>
348 <version>${powermock.version}</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-module-junit4-rule-agent</artifactId>
354 <version>${powermock.version}</version>
358 <groupId>org.powermock</groupId>
359 <artifactId>powermock-api-mockito2</artifactId>
360 <version>${powermock.api.mockito2.version}</version>
363 <groupId>org.powermock</groupId>
364 <artifactId>powermock-core</artifactId>
365 <version>${powermock.api.mockito2.version}</version>
368 <groupId>org.powermock</groupId>
369 <artifactId>powermock-module-javaagent</artifactId>
370 <version>${powermock.version}</version>
373 <groupId>com.beust</groupId>
374 <artifactId>jcommander</artifactId>
375 <version>${jcommander.version}</version>
379 <groupId>org.antlr</groupId>
380 <artifactId>antlr4-runtime</artifactId>
381 <version>${antlr.version}</version>
384 <groupId>org.antlr</groupId>
385 <artifactId>antlr4-maven-plugin</artifactId>
386 <version>${antlr.version}</version>
390 <groupId>org.json</groupId>
391 <artifactId>json</artifactId>
392 <version>${json.version}</version>
396 <groupId>org.freemarker</groupId>
397 <artifactId>freemarker</artifactId>
398 <version>${freemarker.version}</version>
402 <groupId>javax.xml.bind</groupId>
403 <artifactId>jaxb-api</artifactId>
404 <version>${jaxb.version}</version>
408 <groupId>org.apache.activemq</groupId>
409 <artifactId>activemq-broker</artifactId>
410 <version>${activemq.version}</version>
414 <groupId>org.apache.activemq</groupId>
415 <artifactId>activemq-client</artifactId>
416 <version>${activemq.version}</version>
420 <groupId>org.apache.activemq</groupId>
421 <artifactId>activemq-openwire-legacy</artifactId>
422 <version>${activemq.version}</version>
426 <groupId>org.onap.aaf.authz</groupId>
427 <artifactId>aaf-cadi-aaf</artifactId>
428 <version>${aaf.version}</version>
432 <groupId>com.sun.xml.bind</groupId>
433 <artifactId>jaxb-xjc</artifactId>
434 <version>${jaxb.version}</version>
438 <groupId>org.eclipse.persistence</groupId>
439 <artifactId>eclipselink</artifactId>
440 <version>${eclipse.persistence.version}</version>
444 <groupId>org.eclipse.persistence</groupId>
445 <artifactId>org.eclipse.persistence.moxy</artifactId>
446 <version>${eclipse.persistence.version}</version>
450 <groupId>com.github.fge</groupId>
451 <artifactId>json-patch</artifactId>
452 <version>${json.patch.version}</version>
456 <groupId>com.jayway.jsonpath</groupId>
457 <artifactId>json-path</artifactId>
458 <version>${json.path.version}</version>
462 <groupId>org.javatuples</groupId>
463 <artifactId>javatuples</artifactId>
464 <version>${javatuples.version}</version>
468 <groupId>com.google.code.gson</groupId>
469 <artifactId>gson</artifactId>
470 <version>${gson.version}</version>
475 <groupId>org.apache.commons</groupId>
476 <artifactId>commons-text</artifactId>
477 <version>${commons.text.version}</version>
481 <groupId>org.codehaus.jackson</groupId>
482 <artifactId>jackson-core-asl</artifactId>
483 <version>${codehaus.jackson.version}</version>
487 <groupId>com.sun.jersey</groupId>
488 <artifactId>jersey-core</artifactId>
489 <version>${jersey.version}</version>
493 <groupId>com.sun.jersey</groupId>
494 <artifactId>jersey-client</artifactId>
495 <version>${jersey.version}</version>
499 <groupId>com.sun.jersey</groupId>
500 <artifactId>jersey-json</artifactId>
501 <version>${jersey.version}</version>
505 <groupId>javax.ws.rs</groupId>
506 <artifactId>javax.ws.rs-api</artifactId>
507 <version>${jaxrs.version}</version>
511 <groupId>commons-cli</groupId>
512 <artifactId>commons-cli</artifactId>
513 <version>${commons.cli.version}</version>
517 <groupId>com.bazaarvoice.jolt</groupId>
518 <artifactId>jolt-complete</artifactId>
519 <version>${jolt.version}</version>
523 <groupId>com.opencsv</groupId>
524 <artifactId>opencsv</artifactId>
525 <version>${opencsv.version}</version>
529 <groupId>log4j</groupId>
530 <artifactId>log4j</artifactId>
531 <version>${log4j.version}</version>
535 <groupId>log4j</groupId>
536 <artifactId>apache-log4j-extras</artifactId>
537 <version>${log4j.version}</version>
541 <groupId>commons-io</groupId>
542 <artifactId>commons-io</artifactId>
543 <version>${commons.io.version}</version>
548 <groupId>org.springframework.security</groupId>
549 <artifactId>spring-security-rsa</artifactId>
550 <version>${spring.security.rsa.version}</version>
554 <groupId>org.springframework</groupId>
555 <artifactId>spring-jms</artifactId>
556 <version>${spring.jms.version}</version>
560 <groupId>org.onap.aai.logging-service</groupId>
561 <artifactId>common-logging</artifactId>
562 <version>${aai.common.logging.version}</version>
566 <groupId>org.onap.aai.logging-service</groupId>
567 <artifactId>logging-api</artifactId>
568 <version>${aai.common.logging.version}</version>
572 <groupId>org.onap.aai</groupId>
573 <artifactId>rest-client</artifactId>
574 <version>${aai.rest.client.version}</version>
578 <groupId>net.sf.jopt-simple</groupId>
579 <artifactId>jopt-simple</artifactId>
580 <version>${jopt.simple.version}</version>
584 <groupId>io.swagger</groupId>
585 <artifactId>swagger-core</artifactId>
586 <version>${io.swagger.version}</version>
590 <groupId>io.swagger</groupId>
591 <artifactId>swagger-annotations</artifactId>
592 <version>${io.swagger.version}</version>
596 <groupId>io.swagger</groupId>
597 <artifactId>swagger-jersey-jaxrs</artifactId>
598 <version>${io.swagger.version}</version>
602 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
603 <artifactId>dmaapClient</artifactId>
604 <version>${dmaap.client.version}</version>
608 <groupId>io.netty</groupId>
609 <artifactId>netty-handler</artifactId>
610 <version>${netty.handler.version}</version>
614 <groupId>io.netty</groupId>
615 <artifactId>netty-all</artifactId>
616 <version>${netty.version}</version>
620 <groupId>org.onap.aai.schema-service</groupId>
621 <artifactId>aai-schema</artifactId>
622 <version>${aai.schema.service.version}</version>
626 <groupId>org.apache.httpcomponents</groupId>
627 <artifactId>httpclient</artifactId>
628 <version>${httpclient.version}</version>
632 <groupId>org.skyscreamer</groupId>
633 <artifactId>jsonassert</artifactId>
634 <version>${jsonassert.version}</version>
639 <groupId>org.codehaus.plexus</groupId>
640 <artifactId>plexus-utils</artifactId>
641 <version>${plexus.utils.version}</version>
645 <groupId>org.yaml</groupId>
646 <artifactId>snakeyaml</artifactId>
647 <version>${snakeyaml.version}</version>
651 <groupId>org.apache.commons</groupId>
652 <artifactId>commons-compress</artifactId>
653 <version>${commons.compress.version}</version>
657 <groupId>org.reflections</groupId>
658 <artifactId>reflections</artifactId>
659 <version>${reflections.version}</version>
663 <groupId>commons-net</groupId>
664 <artifactId>commons-net</artifactId>
665 <version>${commons.net.version}</version>
670 </dependencyManagement>
676 <groupId>org.springframework.boot</groupId>
677 <artifactId>spring-boot-maven-plugin</artifactId>
678 <version>${spring.boot.version}</version>
681 <groupId>io.fabric8</groupId>
682 <artifactId>docker-maven-plugin</artifactId>
683 <version>${docker.fabric.version}</version>
687 <groupId>org.jacoco</groupId>
688 <artifactId>jacoco-maven-plugin</artifactId>
689 <version>${jacoco.version}</version>
691 <!-- Note: This exclusion list should match <sonar.exclusions> property
694 <exclude>**/gen/**</exclude>
695 <exclude>**/generated-sources/**</exclude>
696 <exclude>**/yang-gen/**</exclude>
697 <exclude>**/pax/**</exclude>
701 <!-- Prepares the property pointing to the JaCoCo runtime agent which
702 is passed as VM argument when Maven the Surefire plugin is executed. -->
704 <id>pre-unit-test</id>
706 <goal>prepare-agent</goal>
709 <!-- Sets the path to the file which contains the execution data
711 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
712 <!-- Sets the name of the property containing the settings for JaCoCo
714 <propertyName>surefireArgLine</propertyName>
717 <!-- Ensures that the code coverage report for unit tests is created
718 after unit tests have been run. -->
720 <id>post-unit-test</id>
726 <!-- Sets the path to the file which contains the execution data
728 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
729 <!-- Sets the output directory for the code coverage report. -->
730 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
734 <id>pre-integration-test</id>
735 <phase>pre-integration-test</phase>
737 <goal>prepare-agent</goal>
740 <!-- Sets the path to the file which contains the execution data
742 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
743 <!-- Sets the name of the property containing the settings for JaCoCo
745 <propertyName>failsafeArgLine</propertyName>
748 <!-- Ensures that the code coverage report for integration tests after
749 integration tests have been run. -->
751 <id>post-integration-test</id>
752 <phase>post-integration-test</phase>
757 <!-- Sets the path to the file which contains the execution data
759 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
760 <!-- Sets the output directory for the code coverage report. -->
761 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
765 <id>default-check</id>
770 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
772 <rule implementation="org.jacoco.maven.RuleConfiguration">
773 <element>BUNDLE</element>
775 <limit implementation="org.jacoco.report.check.Limit">
776 <counter>LINE</counter>
777 <value>COVEREDRATIO</value>
778 <minimum>${jacoco.line.coverage.limit}</minimum>
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-surefire-plugin</artifactId>
790 <version>3.0.0-M4</version>
792 <!-- Sets the VM argument line used when unit tests are run. -->
793 <argLine>${surefireArgLine}</argLine>
794 <!-- Excludes integration tests when unit tests are run. -->
796 <exclude>**/IT*.java</exclude>
801 <groupId>org.apache.maven.plugins</groupId>
802 <artifactId>maven-failsafe-plugin</artifactId>
803 <version>3.0.0-M4</version>
805 <!-- Ensures that both integration-test and verify goals of the Failsafe
806 Maven plugin are executed. -->
808 <id>integration-tests</id>
810 <goal>integration-test</goal>
814 <!-- Sets the VM argument line used when integration tests are run. -->
815 <argLine>${failsafeArgLine}</argLine>
821 <groupId>org.sonarsource.scanner.maven</groupId>
822 <artifactId>sonar-maven-plugin</artifactId>
823 <version>${sonar.scanner.version}</version>
831 <groupId>org.jacoco</groupId>
832 <artifactId>jacoco-maven-plugin</artifactId>
835 <groupId>org.apache.maven.plugins</groupId>
836 <artifactId>maven-surefire-plugin</artifactId>
839 <groupId>org.apache.maven.plugins</groupId>
840 <artifactId>maven-failsafe-plugin</artifactId>