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.9.3-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>${aai.common.version}</aai.release.version>
43 <aai.common.logging.version>1.8.0</aai.common.logging.version>
44 <aai.rest.client.version>1.6.4</aai.rest.client.version>
45 <aai.schema.service.version>1.9.6</aai.schema.service.version>
47 <aaf.version>2.1.15</aaf.version>
48 <antlr.version>4.11.1</antlr.version>
49 <activemq.version>5.16.1</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.5.0</commons.cli.version>
53 <commons.compress.version>1.21</commons.compress.version>
54 <commons.configuration.version>1.10</commons.configuration.version>
55 <commons.io.version>2.11.0</commons.io.version>
56 <commons.lang3.version>3.9</commons.lang3.version>
57 <commons.net.version>3.8.0</commons.net.version>
58 <commons.text.version>1.10.0</commons.text.version>
59 <docker.fabric.version>0.40.2</docker.fabric.version>
60 <dmaap.client.version>1.1.12</dmaap.client.version>
61 <easy.mock.version>5.0.0</easy.mock.version>
62 <eclipse.persistence.version>2.7.11</eclipse.persistence.version>
63 <eelf.core.version>2.0.0-oss</eelf.core.version>
64 <freemarker.version>2.3.31</freemarker.version>
65 <google.guava.version>31.1-jre</google.guava.version>
66 <gremlin.version>3.2.3</gremlin.version>
67 <groovy.version>2.5.15</groovy.version>
68 <gson.version>2.9.1</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.11.4</jackson.bom.version>
72 <janusgraph.version>0.2.3</janusgraph.version>
73 <javatuples.version>1.2</javatuples.version>
74 <jaxb.version>2.3.1</jaxb.version>
75 <old.jaxb.version>2.3.0.1</old.jaxb.version>
76 <jaxrs.version>2.1.1</jaxrs.version>
77 <jcommander.version>1.78</jcommander.version>
78 <jersey.version>1.19.4</jersey.version>
79 <jnr.ffi.version>2.2.12</jnr.ffi.version>
80 <jolt.version>0.1.7</jolt.version>
81 <jopt.simple.version>5.0.4</jopt.simple.version>
82 <jsonassert.version>1.5.1</jsonassert.version>
83 <json.patch.version>1.9</json.patch.version>
85 JSONPath has an bug when it tries to parse an expression
86 when nesting reaches three levels so an junit was failing
87 when it was moving to an library of 2.3.0 or above
88 There seems to be no new releases since 2017 so not sure if
89 this library is still active or not
90 We might need to move away from this library but its in the core logic
91 and would take some time to refactor
92 Please don't upgrade to 2.3.0 or above for nexus iq or security scans
93 as it could potentially break our code
95 <json.path.version>2.2.0</json.path.version>
96 <json.version>20190722</json.version>
97 <junit.version>4.12</junit.version>
98 <httpclient.version>4.5.13</httpclient.version>
99 <io.swagger.version>1.5.24</io.swagger.version>
100 <logback.version>1.2.7</logback.version>
101 <slf4j.version>1.7.25</slf4j.version>
102 <log4j.version>2.17.1</log4j.version>
103 <mockito.all.version>1.10.19</mockito.all.version>
104 <mockito.core.version>1.10.19</mockito.core.version>
105 <netty.handler.version>4.1.63.Final</netty.handler.version>
106 <netty.version>4.1.63.Final</netty.version>
107 <opencsv.version>3.1</opencsv.version>
108 <powermock.version>1.6.6</powermock.version>
109 <plexus.utils.version>3.1.1</plexus.utils.version>
110 <reflections.version>0.9.10</reflections.version>
111 <snakeyaml.version>1.29</snakeyaml.version>
113 <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
114 <javax.servlet.version>3.1.0</javax.servlet.version>
115 <javax.annotation.version>1.2</javax.annotation.version>
117 <sonar.jacoco.reportPath />
118 <sonar.jacoco.itReportPath />
119 <sonar.jacoco.reportMissing.force.zero />
121 <!-- we let things pass by default, set custom level for each child project -->
122 <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
124 <jacoco.version>0.8.5</jacoco.version>
125 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
126 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
127 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
128 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
130 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
132 <spring.version>5.1.13.RELEASE</spring.version>
133 <spring.jms.version>5.1.13.RELEASE</spring.jms.version>
134 <spring.test.version>5.1.13.RELEASE</spring.test.version>
135 <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
136 <json.simple.version>1.1.1</json.simple.version>
137 <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
138 <aspectj.version>1.9.1</aspectj.version>
139 <logging.analytics.version>1.5.1</logging.analytics.version>
144 <id>spring-boot-2-1</id>
146 <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
150 <id>spring-boot-1-5</id>
152 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
157 <dependencyManagement>
161 <groupId>com.googlecode.json-simple</groupId>
162 <artifactId>json-simple</artifactId>
163 <version>${json.simple.version}</version>
167 <groupId>org.onap.aai.aai-common</groupId>
168 <artifactId>aai-schema-ingest</artifactId>
169 <version>${aai.release.version}</version>
173 <groupId>org.onap.aai.aai-common</groupId>
174 <artifactId>aai-core</artifactId>
175 <version>${aai.release.version}</version>
179 <groupId>org.onap.aai.aai-common</groupId>
180 <artifactId>aai-aaf-auth</artifactId>
181 <version>${aai.release.version}</version>
185 <groupId>org.onap.aai.aai-common</groupId>
186 <artifactId>aai-els-onap-logging</artifactId>
187 <version>${aai.release.version}</version>
191 <groupId>org.onap.aai.aai-common</groupId>
192 <artifactId>aai-annotations</artifactId>
193 <version>${aai.release.version}</version>
197 <groupId>org.onap.aai.aai-common</groupId>
198 <artifactId>aai-rest</artifactId>
199 <version>${aai.release.version}</version>
203 <groupId>com.fasterxml.jackson</groupId>
204 <artifactId>jackson-bom</artifactId>
205 <version>${jackson.bom.version}</version>
207 <scope>import</scope>
211 <groupId>org.springframework.boot</groupId>
212 <artifactId>spring-boot-starter-web</artifactId>
213 <version>${spring.boot.version}</version>
217 <groupId>org.springframework.boot</groupId>
218 <artifactId>spring-boot-starter-parent</artifactId>
219 <version>${spring.boot.version}</version>
221 <scope>import</scope>
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-dependencies</artifactId>
227 <version>${spring.boot.version}</version>
229 <scope>import</scope>
233 <groupId>org.springframework.boot</groupId>
234 <artifactId>spring-boot-test</artifactId>
236 <version>${spring.boot.version}</version>
240 <groupId>org.springframework</groupId>
241 <artifactId>spring-test</artifactId>
242 <version>${spring.test.version}</version>
246 <groupId>commons-configuration</groupId>
247 <artifactId>commons-configuration</artifactId>
248 <version>${commons.configuration.version}</version>
252 <groupId>org.apache.commons</groupId>
253 <artifactId>commons-lang3</artifactId>
254 <version>${commons.lang3.version}</version>
258 <groupId>com.att.eelf</groupId>
259 <artifactId>eelf-core</artifactId>
260 <version>${eelf.core.version}</version>
264 <groupId>ch.qos.logback</groupId>
265 <artifactId>logback-core</artifactId>
266 <version>${logback.version}</version>
270 <groupId>ch.qos.logback</groupId>
271 <artifactId>logback-classic</artifactId>
272 <version>${logback.version}</version>
276 <groupId>ch.qos.logback</groupId>
277 <artifactId>logback-access</artifactId>
278 <version>${logback.version}</version>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-api</artifactId>
284 <version>${slf4j.version}</version>
288 <groupId>org.hamcrest</groupId>
289 <artifactId>java-hamcrest</artifactId>
290 <version>${hamcrest.junit.version}</version>
294 <groupId>org.hamcrest</groupId>
295 <artifactId>hamcrest-core</artifactId>
296 <version>${hamcrest.core.version}</version>
300 <groupId>org.hamcrest</groupId>
301 <artifactId>hamcrest-junit</artifactId>
302 <version>${hamcrest.junit.version}</version>
306 <groupId>javax.servlet</groupId>
307 <artifactId>javax.servlet-api</artifactId>
308 <version>${javax.servlet.version}</version>
309 <scope>provided</scope>
312 <groupId>javax.annotation</groupId>
313 <artifactId>javax.annotation-api</artifactId>
314 <version>${javax.annotation.version}</version>
318 <groupId>junit</groupId>
319 <artifactId>junit</artifactId>
320 <version>${junit.version}</version>
325 <groupId>com.google.guava</groupId>
326 <artifactId>guava</artifactId>
327 <version>${google.guava.version}</version>
331 <groupId>org.janusgraph</groupId>
332 <artifactId>janusgraph-core</artifactId>
333 <version>${janusgraph.version}</version>
337 <groupId>org.janusgraph</groupId>
338 <artifactId>janusgraph-cassandra</artifactId>
339 <version>${janusgraph.version}</version>
343 <groupId>org.janusgraph</groupId>
344 <artifactId>janusgraph-cql</artifactId>
345 <version>${janusgraph.version}</version>
349 <groupId>com.github.jnr</groupId>
350 <artifactId>jnr-ffi</artifactId>
351 <version>${jnr.ffi.version}</version>
355 <groupId>org.apache.tinkerpop</groupId>
356 <artifactId>tinkergraph-gremlin</artifactId>
357 <version>${gremlin.version}</version>
360 <groupId>org.apache.tinkerpop</groupId>
361 <artifactId>gremlin-core</artifactId>
362 <version>${gremlin.version}</version>
365 <groupId>org.apache.tinkerpop</groupId>
366 <artifactId>gremlin-driver</artifactId>
367 <version>${gremlin.version}</version>
371 <groupId>org.apache.tinkerpop</groupId>
372 <artifactId>gremlin-groovy</artifactId>
373 <version>${gremlin.version}</version>
377 <groupId>org.codehaus.groovy</groupId>
378 <artifactId>groovy</artifactId>
379 <version>${groovy.version}</version>
380 <classifier>indy</classifier>
384 <groupId>org.mockito</groupId>
385 <artifactId>mockito-all</artifactId>
386 <version>${mockito.all.version}</version>
390 <groupId>org.mockito</groupId>
391 <artifactId>mockito-core</artifactId>
392 <version>${mockito.core.version}</version>
396 <groupId>org.powermock</groupId>
397 <artifactId>powermock-module-junit4</artifactId>
398 <version>${powermock.version}</version>
402 <groupId>org.powermock</groupId>
403 <artifactId>powermock-module-junit4-rule-agent</artifactId>
404 <version>${powermock.version}</version>
408 <groupId>org.powermock</groupId>
409 <artifactId>powermock-api-mockito2</artifactId>
410 <version>${powermock.api.mockito2.version}</version>
413 <groupId>org.powermock</groupId>
414 <artifactId>powermock-core</artifactId>
415 <version>${powermock.api.mockito2.version}</version>
418 <groupId>org.powermock</groupId>
419 <artifactId>powermock-module-javaagent</artifactId>
420 <version>${powermock.version}</version>
423 <groupId>com.beust</groupId>
424 <artifactId>jcommander</artifactId>
425 <version>${jcommander.version}</version>
429 <groupId>org.antlr</groupId>
430 <artifactId>antlr4-runtime</artifactId>
431 <version>${antlr.version}</version>
434 <groupId>org.antlr</groupId>
435 <artifactId>antlr4-maven-plugin</artifactId>
436 <version>${antlr.version}</version>
440 <groupId>org.json</groupId>
441 <artifactId>json</artifactId>
442 <version>${json.version}</version>
446 <groupId>org.freemarker</groupId>
447 <artifactId>freemarker</artifactId>
448 <version>${freemarker.version}</version>
452 <groupId>javax.xml.bind</groupId>
453 <artifactId>jaxb-api</artifactId>
454 <version>${jaxb.version}</version>
458 <groupId>org.apache.activemq</groupId>
459 <artifactId>activemq-broker</artifactId>
460 <version>${activemq.version}</version>
464 <groupId>org.apache.activemq</groupId>
465 <artifactId>activemq-client</artifactId>
466 <version>${activemq.version}</version>
470 <groupId>org.apache.activemq</groupId>
471 <artifactId>activemq-openwire-legacy</artifactId>
472 <version>${activemq.version}</version>
476 <groupId>org.onap.aaf.authz</groupId>
477 <artifactId>aaf-cadi-core</artifactId>
478 <version>${aaf.version}</version>
479 <scope>compile</scope>
482 <groupId>org.onap.aaf.authz</groupId>
483 <artifactId>aaf-cadi-aaf</artifactId>
484 <version>${aaf.version}</version>
485 <scope>compile</scope>
489 <groupId>org.easymock</groupId>
490 <artifactId>easymock</artifactId>
491 <version>${easy.mock.version}</version>
496 <groupId>com.sun.xml.bind</groupId>
497 <artifactId>jaxb-xjc</artifactId>
498 <version>${old.jaxb.version}</version>
502 <groupId>com.sun.xml.bind</groupId>
503 <artifactId>jaxb-impl</artifactId>
504 <version>${old.jaxb.version}</version>
508 <groupId>com.sun.xml.bind</groupId>
509 <artifactId>jaxb-core</artifactId>
510 <version>${old.jaxb.version}</version>
514 <groupId>org.eclipse.persistence</groupId>
515 <artifactId>eclipselink</artifactId>
516 <version>${eclipse.persistence.version}</version>
520 <groupId>org.eclipse.persistence</groupId>
521 <artifactId>org.eclipse.persistence.moxy</artifactId>
522 <version>${eclipse.persistence.version}</version>
526 <groupId>com.github.fge</groupId>
527 <artifactId>json-patch</artifactId>
528 <version>${json.patch.version}</version>
532 <groupId>com.jayway.jsonpath</groupId>
533 <artifactId>json-path</artifactId>
534 <version>${json.path.version}</version>
537 <groupId>com.jayway.jsonpath</groupId>
538 <artifactId>json-path-assert</artifactId>
539 <version>${json.path.version}</version>
543 <groupId>org.javatuples</groupId>
544 <artifactId>javatuples</artifactId>
545 <version>${javatuples.version}</version>
549 <groupId>com.google.code.gson</groupId>
550 <artifactId>gson</artifactId>
551 <version>${gson.version}</version>
555 <groupId>org.apache.commons</groupId>
556 <artifactId>commons-text</artifactId>
557 <version>${commons.text.version}</version>
561 <groupId>org.codehaus.jackson</groupId>
562 <artifactId>jackson-core-asl</artifactId>
563 <version>${codehaus.jackson.version}</version>
567 <groupId>com.sun.jersey</groupId>
568 <artifactId>jersey-core</artifactId>
569 <version>${jersey.version}</version>
573 <groupId>com.sun.jersey</groupId>
574 <artifactId>jersey-client</artifactId>
575 <version>${jersey.version}</version>
579 <groupId>com.sun.jersey</groupId>
580 <artifactId>jersey-json</artifactId>
581 <version>${jersey.version}</version>
585 <groupId>javax.ws.rs</groupId>
586 <artifactId>javax.ws.rs-api</artifactId>
587 <version>${jaxrs.version}</version>
591 <groupId>commons-cli</groupId>
592 <artifactId>commons-cli</artifactId>
593 <version>${commons.cli.version}</version>
597 <groupId>com.bazaarvoice.jolt</groupId>
598 <artifactId>jolt-complete</artifactId>
599 <version>${jolt.version}</version>
603 <groupId>com.opencsv</groupId>
604 <artifactId>opencsv</artifactId>
605 <version>${opencsv.version}</version>
609 <groupId>org.apache.logging.log4j</groupId>
610 <artifactId>log4j</artifactId>
611 <version>${log4j.version}</version>
616 <groupId>commons-io</groupId>
617 <artifactId>commons-io</artifactId>
618 <version>${commons.io.version}</version>
622 <groupId>org.springframework</groupId>
623 <artifactId>spring-web</artifactId>
624 <version>${spring.version}</version>
627 <groupId>org.springframework</groupId>
628 <artifactId>spring-context</artifactId>
629 <version>${spring.version}</version>
632 <groupId>org.springframework</groupId>
633 <artifactId>spring-core</artifactId>
634 <version>${spring.version}</version>
637 <groupId>org.springframework</groupId>
638 <artifactId>spring-orm</artifactId>
639 <version>${spring.version}</version>
642 <groupId>org.springframework</groupId>
643 <artifactId>spring-oxm</artifactId>
644 <version>${spring.version}</version>
647 <groupId>org.springframework</groupId>
648 <artifactId>spring-aspects</artifactId>
649 <version>${spring.version}</version>
652 <groupId>org.springframework</groupId>
653 <artifactId>spring-tx</artifactId>
654 <version>${spring.version}</version>
657 <groupId>org.springframework</groupId>
658 <artifactId>spring-webmvc</artifactId>
659 <version>${spring.version}</version>
663 <groupId>org.springframework.security</groupId>
664 <artifactId>spring-security-rsa</artifactId>
665 <version>${spring.security.rsa.version}</version>
669 <groupId>org.springframework</groupId>
670 <artifactId>spring-jms</artifactId>
671 <version>${spring.jms.version}</version>
675 <groupId>org.onap.aai.logging-service</groupId>
676 <artifactId>common-logging</artifactId>
677 <version>${aai.common.logging.version}</version>
681 <groupId>org.onap.aai.logging-service</groupId>
682 <artifactId>logging-api</artifactId>
683 <version>${aai.common.logging.version}</version>
687 <groupId>org.onap.logging-analytics</groupId>
688 <artifactId>logging-slf4j</artifactId>
689 <version>${logging.analytics.version}</version>
693 <groupId>org.onap.aai</groupId>
694 <artifactId>rest-client</artifactId>
695 <version>${aai.rest.client.version}</version>
699 <groupId>net.sf.jopt-simple</groupId>
700 <artifactId>jopt-simple</artifactId>
701 <version>${jopt.simple.version}</version>
705 <groupId>io.swagger</groupId>
706 <artifactId>swagger-core</artifactId>
707 <version>${io.swagger.version}</version>
711 <groupId>org.aspectj</groupId>
712 <artifactId>aspectjrt</artifactId>
713 <version>${aspectj.version}</version>
717 <groupId>io.swagger</groupId>
718 <artifactId>swagger-annotations</artifactId>
719 <version>${io.swagger.version}</version>
723 <groupId>io.swagger</groupId>
724 <artifactId>swagger-jersey-jaxrs</artifactId>
725 <version>${io.swagger.version}</version>
729 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
730 <artifactId>dmaapClient</artifactId>
731 <version>${dmaap.client.version}</version>
735 <groupId>io.netty</groupId>
736 <artifactId>netty-handler</artifactId>
737 <version>${netty.handler.version}</version>
741 <groupId>io.netty</groupId>
742 <artifactId>netty-all</artifactId>
743 <version>${netty.version}</version>
747 <groupId>org.onap.aai.schema-service</groupId>
748 <artifactId>aai-schema</artifactId>
749 <version>${aai.schema.service.version}</version>
753 <groupId>org.apache.httpcomponents</groupId>
754 <artifactId>httpclient</artifactId>
755 <version>${httpclient.version}</version>
759 <groupId>org.skyscreamer</groupId>
760 <artifactId>jsonassert</artifactId>
761 <version>${jsonassert.version}</version>
766 <groupId>org.codehaus.plexus</groupId>
767 <artifactId>plexus-utils</artifactId>
768 <version>${plexus.utils.version}</version>
772 <groupId>org.yaml</groupId>
773 <artifactId>snakeyaml</artifactId>
774 <version>${snakeyaml.version}</version>
778 <groupId>org.apache.commons</groupId>
779 <artifactId>commons-compress</artifactId>
780 <version>${commons.compress.version}</version>
784 <groupId>org.reflections</groupId>
785 <artifactId>reflections</artifactId>
786 <version>${reflections.version}</version>
790 <groupId>commons-net</groupId>
791 <artifactId>commons-net</artifactId>
792 <version>${commons.net.version}</version>
797 </dependencyManagement>
803 <groupId>org.springframework.boot</groupId>
804 <artifactId>spring-boot-maven-plugin</artifactId>
805 <version>${spring.boot.version}</version>
808 <groupId>io.fabric8</groupId>
809 <artifactId>docker-maven-plugin</artifactId>
810 <version>${docker.fabric.version}</version>
814 <groupId>org.jacoco</groupId>
815 <artifactId>jacoco-maven-plugin</artifactId>
816 <version>${jacoco.version}</version>
818 <!-- Note: This exclusion list should match <sonar.exclusions> property
821 <exclude>**/gen/**</exclude>
822 <exclude>**/generated-sources/**</exclude>
823 <exclude>**/yang-gen/**</exclude>
824 <exclude>**/pax/**</exclude>
828 <!-- Prepares the property pointing to the JaCoCo runtime agent which
829 is passed as VM argument when Maven the Surefire plugin is executed. -->
831 <id>pre-unit-test</id>
833 <goal>prepare-agent</goal>
836 <!-- Sets the path to the file which contains the execution data
838 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
839 <!-- Sets the name of the property containing the settings for JaCoCo
841 <propertyName>surefireArgLine</propertyName>
844 <!-- Ensures that the code coverage report for unit tests is created
845 after unit tests have been run. -->
847 <id>post-unit-test</id>
853 <!-- Sets the path to the file which contains the execution data
855 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
856 <!-- Sets the output directory for the code coverage report. -->
857 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
861 <id>pre-integration-test</id>
862 <phase>pre-integration-test</phase>
864 <goal>prepare-agent</goal>
867 <!-- Sets the path to the file which contains the execution data
869 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
870 <!-- Sets the name of the property containing the settings for JaCoCo
872 <propertyName>failsafeArgLine</propertyName>
875 <!-- Ensures that the code coverage report for integration tests after
876 integration tests have been run. -->
878 <id>post-integration-test</id>
879 <phase>post-integration-test</phase>
884 <!-- Sets the path to the file which contains the execution data
886 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
887 <!-- Sets the output directory for the code coverage report. -->
888 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
892 <id>default-check</id>
897 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
899 <rule implementation="org.jacoco.maven.RuleConfiguration">
900 <element>BUNDLE</element>
902 <limit implementation="org.jacoco.report.check.Limit">
903 <counter>LINE</counter>
904 <value>COVEREDRATIO</value>
905 <minimum>${jacoco.line.coverage.limit}</minimum>
915 <groupId>org.apache.maven.plugins</groupId>
916 <artifactId>maven-surefire-plugin</artifactId>
917 <version>3.0.0-M4</version>
919 <!-- Sets the VM argument line used when unit tests are run. -->
920 <argLine>${surefireArgLine}</argLine>
921 <!-- Excludes integration tests when unit tests are run. -->
923 <exclude>**/IT*.java</exclude>
928 <groupId>org.apache.maven.plugins</groupId>
929 <artifactId>maven-failsafe-plugin</artifactId>
930 <version>3.0.0-M4</version>
932 <!-- Ensures that both integration-test and verify goals of the Failsafe
933 Maven plugin are executed. -->
935 <id>integration-tests</id>
937 <goal>integration-test</goal>
941 <!-- Sets the VM argument line used when integration tests are run. -->
942 <argLine>${failsafeArgLine}</argLine>
948 <groupId>org.sonarsource.scanner.maven</groupId>
949 <artifactId>sonar-maven-plugin</artifactId>
950 <version>${sonar.scanner.version}</version>
958 <groupId>org.jacoco</groupId>
959 <artifactId>jacoco-maven-plugin</artifactId>
962 <groupId>org.apache.maven.plugins</groupId>
963 <artifactId>maven-surefire-plugin</artifactId>
966 <groupId>org.apache.maven.plugins</groupId>
967 <artifactId>maven-failsafe-plugin</artifactId>