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.11-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.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.6</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 <easy.mock.version>4.0.2</easy.mock.version>
63 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
64 <eelf.core.version>1.0.1-oss</eelf.core.version>
65 <freemarker.version>2.3.29</freemarker.version>
66 <google.guava.version>19.0</google.guava.version>
67 <gremlin.version>3.2.3</gremlin.version>
68 <groovy.version>2.5.8</groovy.version>
69 <gson.version>2.8.6</gson.version>
70 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
71 <hamcrest.core.version>2.2</hamcrest.core.version>
72 <jackson.bom.version>2.10.1</jackson.bom.version>
73 <janusgraph.version>0.2.3</janusgraph.version>
74 <javatuples.version>1.2</javatuples.version>
75 <jaxb.version>2.3.1</jaxb.version>
76 <old.jaxb.version>2.3.0.1</old.jaxb.version>
77 <jaxrs.version>2.0.1</jaxrs.version>
78 <jcommander.version>1.78</jcommander.version>
79 <jersey.version>1.19.4</jersey.version>
80 <jnr.ffi.version>2.1.11</jnr.ffi.version>
81 <jolt.version>0.0.24</jolt.version>
82 <jopt.simple.version>5.0.4</jopt.simple.version>
83 <jsonassert.version>1.5.0</jsonassert.version>
84 <json.patch.version>1.9</json.patch.version>
86 JSONPath has an bug when it tries to parse an expression
87 when nesting reaches three levels so an junit was failing
88 when it was moving to an library of 2.3.0 or above
89 There seems to be no new releases since 2017 so not sure if
90 this library is still active or not
91 We might need to move away from this library but its in the core logic
92 and would take some time to refactor
93 Please don't upgrade to 2.3.0 or above for nexus iq or security scans
94 as it could potentially break our code
96 <json.path.version>2.2.0</json.path.version>
97 <json.version>20190722</json.version>
98 <junit.version>4.12</junit.version>
99 <httpclient.version>4.5.10</httpclient.version>
100 <io.swagger.version>1.5.24</io.swagger.version>
101 <logback.version>1.2.3</logback.version>
102 <slf4j.version>1.7.25</slf4j.version>
103 <log4j.version>1.2.17</log4j.version>
104 <mockito.all.version>1.10.19</mockito.all.version>
105 <mockito.core.version>1.10.19</mockito.core.version>
106 <netty.handler.version>4.1.43.Final</netty.handler.version>
107 <netty.version>4.0.56.Final</netty.version>
108 <opencsv.version>3.1</opencsv.version>
109 <powermock.version>1.6.6</powermock.version>
110 <plexus.utils.version>3.1.1</plexus.utils.version>
111 <reflections.version>0.9.10</reflections.version>
112 <snakeyaml.version>1.25</snakeyaml.version>
114 <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
115 <javax.servlet.version>3.1.0</javax.servlet.version>
116 <javax.annotation.version>1.2</javax.annotation.version>
118 <sonar.jacoco.reportPath />
119 <sonar.jacoco.itReportPath />
120 <sonar.jacoco.reportMissing.force.zero />
122 <!-- we let things pass by default, set custom level for each child project -->
123 <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
125 <jacoco.version>0.8.5</jacoco.version>
126 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
127 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
128 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
129 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
131 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
133 <spring.version>5.1.13.RELEASE</spring.version>
134 <spring.jms.version>5.1.13.RELEASE</spring.jms.version>
135 <spring.test.version>5.1.13.RELEASE</spring.test.version>
136 <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
137 <json.simple.version>1.1.1</json.simple.version>
138 <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
139 <aspectj.version>1.9.1</aspectj.version>
140 <logging.analytics.version>1.5.1</logging.analytics.version>
145 <id>spring-boot-2-1</id>
147 <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
151 <id>spring-boot-1-5</id>
153 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
158 <dependencyManagement>
162 <groupId>com.googlecode.json-simple</groupId>
163 <artifactId>json-simple</artifactId>
164 <version>${json.simple.version}</version>
168 <groupId>org.onap.aai.aai-common</groupId>
169 <artifactId>aai-schema-ingest</artifactId>
170 <version>${aai.release.version}</version>
174 <groupId>org.onap.aai.aai-common</groupId>
175 <artifactId>aai-core</artifactId>
176 <version>${aai.release.version}</version>
180 <groupId>org.onap.aai.aai-common</groupId>
181 <artifactId>aai-aaf-auth</artifactId>
182 <version>${aai.release.version}</version>
186 <groupId>org.onap.aai.aai-common</groupId>
187 <artifactId>aai-els-onap-logging</artifactId>
188 <version>${aai.release.version}</version>
192 <groupId>org.onap.aai.aai-common</groupId>
193 <artifactId>aai-annotations</artifactId>
194 <version>${aai.release.version}</version>
198 <groupId>org.onap.aai.aai-common</groupId>
199 <artifactId>aai-rest</artifactId>
200 <version>${aai.release.version}</version>
204 <groupId>com.fasterxml.jackson</groupId>
205 <artifactId>jackson-bom</artifactId>
206 <version>${jackson.bom.version}</version>
208 <scope>import</scope>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot-starter-web</artifactId>
214 <version>${spring.boot.version}</version>
218 <groupId>org.springframework.boot</groupId>
219 <artifactId>spring-boot-starter-parent</artifactId>
220 <version>${spring.boot.version}</version>
222 <scope>import</scope>
226 <groupId>org.springframework.boot</groupId>
227 <artifactId>spring-boot-dependencies</artifactId>
228 <version>${spring.boot.version}</version>
230 <scope>import</scope>
234 <groupId>org.springframework.boot</groupId>
235 <artifactId>spring-boot-test</artifactId>
237 <version>${spring.boot.version}</version>
241 <groupId>org.springframework</groupId>
242 <artifactId>spring-test</artifactId>
243 <version>${spring.test.version}</version>
247 <groupId>commons-configuration</groupId>
248 <artifactId>commons-configuration</artifactId>
249 <version>${commons.configuration.version}</version>
253 <groupId>org.apache.commons</groupId>
254 <artifactId>commons-lang3</artifactId>
255 <version>${commons.lang3.version}</version>
259 <groupId>commons-lang</groupId>
260 <artifactId>commons-lang</artifactId>
261 <version>${commons.lang.version}</version>
265 <groupId>com.att.eelf</groupId>
266 <artifactId>eelf-core</artifactId>
267 <version>${eelf.core.version}</version>
271 <groupId>ch.qos.logback</groupId>
272 <artifactId>logback-core</artifactId>
273 <version>${logback.version}</version>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-classic</artifactId>
279 <version>${logback.version}</version>
283 <groupId>ch.qos.logback</groupId>
284 <artifactId>logback-access</artifactId>
285 <version>${logback.version}</version>
289 <groupId>org.slf4j</groupId>
290 <artifactId>slf4j-api</artifactId>
291 <version>${slf4j.version}</version>
295 <groupId>org.hamcrest</groupId>
296 <artifactId>java-hamcrest</artifactId>
297 <version>${hamcrest.junit.version}</version>
301 <groupId>org.hamcrest</groupId>
302 <artifactId>hamcrest-core</artifactId>
303 <version>${hamcrest.core.version}</version>
307 <groupId>org.hamcrest</groupId>
308 <artifactId>hamcrest-junit</artifactId>
309 <version>${hamcrest.junit.version}</version>
313 <groupId>javax.servlet</groupId>
314 <artifactId>javax.servlet-api</artifactId>
315 <version>${javax.servlet.version}</version>
316 <scope>provided</scope>
319 <groupId>javax.annotation</groupId>
320 <artifactId>javax.annotation-api</artifactId>
321 <version>${javax.annotation.version}</version>
322 <scope>provided</scope>
326 <groupId>junit</groupId>
327 <artifactId>junit</artifactId>
328 <version>${junit.version}</version>
333 <groupId>com.google.guava</groupId>
334 <artifactId>guava</artifactId>
335 <version>${google.guava.version}</version>
339 <groupId>org.janusgraph</groupId>
340 <artifactId>janusgraph-core</artifactId>
341 <version>${janusgraph.version}</version>
345 <groupId>org.janusgraph</groupId>
346 <artifactId>janusgraph-cassandra</artifactId>
347 <version>${janusgraph.version}</version>
351 <groupId>org.janusgraph</groupId>
352 <artifactId>janusgraph-cql</artifactId>
353 <version>${janusgraph.version}</version>
357 <groupId>com.github.jnr</groupId>
358 <artifactId>jnr-ffi</artifactId>
359 <version>${jnr.ffi.version}</version>
363 <groupId>org.apache.tinkerpop</groupId>
364 <artifactId>tinkergraph-gremlin</artifactId>
365 <version>${gremlin.version}</version>
368 <groupId>org.apache.tinkerpop</groupId>
369 <artifactId>gremlin-core</artifactId>
370 <version>${gremlin.version}</version>
373 <groupId>org.apache.tinkerpop</groupId>
374 <artifactId>gremlin-driver</artifactId>
375 <version>${gremlin.version}</version>
379 <groupId>org.apache.tinkerpop</groupId>
380 <artifactId>gremlin-groovy</artifactId>
381 <version>${gremlin.version}</version>
385 <groupId>org.codehaus.groovy</groupId>
386 <artifactId>groovy</artifactId>
387 <version>${groovy.version}</version>
388 <classifier>indy</classifier>
392 <groupId>org.mockito</groupId>
393 <artifactId>mockito-all</artifactId>
394 <version>${mockito.all.version}</version>
398 <groupId>org.mockito</groupId>
399 <artifactId>mockito-core</artifactId>
400 <version>${mockito.core.version}</version>
404 <groupId>org.powermock</groupId>
405 <artifactId>powermock-module-junit4</artifactId>
406 <version>${powermock.version}</version>
410 <groupId>org.powermock</groupId>
411 <artifactId>powermock-module-junit4-rule-agent</artifactId>
412 <version>${powermock.version}</version>
416 <groupId>org.powermock</groupId>
417 <artifactId>powermock-api-mockito2</artifactId>
418 <version>${powermock.api.mockito2.version}</version>
421 <groupId>org.powermock</groupId>
422 <artifactId>powermock-core</artifactId>
423 <version>${powermock.api.mockito2.version}</version>
426 <groupId>org.powermock</groupId>
427 <artifactId>powermock-module-javaagent</artifactId>
428 <version>${powermock.version}</version>
431 <groupId>com.beust</groupId>
432 <artifactId>jcommander</artifactId>
433 <version>${jcommander.version}</version>
437 <groupId>org.antlr</groupId>
438 <artifactId>antlr4-runtime</artifactId>
439 <version>${antlr.version}</version>
442 <groupId>org.antlr</groupId>
443 <artifactId>antlr4-maven-plugin</artifactId>
444 <version>${antlr.version}</version>
448 <groupId>org.json</groupId>
449 <artifactId>json</artifactId>
450 <version>${json.version}</version>
454 <groupId>org.freemarker</groupId>
455 <artifactId>freemarker</artifactId>
456 <version>${freemarker.version}</version>
460 <groupId>javax.xml.bind</groupId>
461 <artifactId>jaxb-api</artifactId>
462 <version>${jaxb.version}</version>
466 <groupId>org.apache.activemq</groupId>
467 <artifactId>activemq-broker</artifactId>
468 <version>${activemq.version}</version>
472 <groupId>org.apache.activemq</groupId>
473 <artifactId>activemq-client</artifactId>
474 <version>${activemq.version}</version>
478 <groupId>org.apache.activemq</groupId>
479 <artifactId>activemq-openwire-legacy</artifactId>
480 <version>${activemq.version}</version>
484 <groupId>org.onap.aaf.authz</groupId>
485 <artifactId>aaf-cadi-core</artifactId>
486 <version>${aaf.version}</version>
487 <scope>compile</scope>
490 <groupId>org.onap.aaf.authz</groupId>
491 <artifactId>aaf-cadi-aaf</artifactId>
492 <version>${aaf.version}</version>
493 <scope>compile</scope>
497 <groupId>org.easymock</groupId>
498 <artifactId>easymock</artifactId>
499 <version>${easy.mock.version}</version>
504 <groupId>com.sun.xml.bind</groupId>
505 <artifactId>jaxb-xjc</artifactId>
506 <version>${old.jaxb.version}</version>
510 <groupId>com.sun.xml.bind</groupId>
511 <artifactId>jaxb-impl</artifactId>
512 <version>${old.jaxb.version}</version>
516 <groupId>com.sun.xml.bind</groupId>
517 <artifactId>jaxb-core</artifactId>
518 <version>${old.jaxb.version}</version>
522 <groupId>org.eclipse.persistence</groupId>
523 <artifactId>eclipselink</artifactId>
524 <version>${eclipse.persistence.version}</version>
528 <groupId>org.eclipse.persistence</groupId>
529 <artifactId>org.eclipse.persistence.moxy</artifactId>
530 <version>${eclipse.persistence.version}</version>
534 <groupId>com.github.fge</groupId>
535 <artifactId>json-patch</artifactId>
536 <version>${json.patch.version}</version>
540 <groupId>com.jayway.jsonpath</groupId>
541 <artifactId>json-path</artifactId>
542 <version>${json.path.version}</version>
545 <groupId>com.jayway.jsonpath</groupId>
546 <artifactId>json-path-assert</artifactId>
547 <version>${json.path.version}</version>
551 <groupId>org.javatuples</groupId>
552 <artifactId>javatuples</artifactId>
553 <version>${javatuples.version}</version>
557 <groupId>com.google.code.gson</groupId>
558 <artifactId>gson</artifactId>
559 <version>${gson.version}</version>
563 <groupId>org.apache.commons</groupId>
564 <artifactId>commons-text</artifactId>
565 <version>${commons.text.version}</version>
569 <groupId>org.codehaus.jackson</groupId>
570 <artifactId>jackson-core-asl</artifactId>
571 <version>${codehaus.jackson.version}</version>
575 <groupId>com.sun.jersey</groupId>
576 <artifactId>jersey-core</artifactId>
577 <version>${jersey.version}</version>
581 <groupId>com.sun.jersey</groupId>
582 <artifactId>jersey-client</artifactId>
583 <version>${jersey.version}</version>
587 <groupId>com.sun.jersey</groupId>
588 <artifactId>jersey-json</artifactId>
589 <version>${jersey.version}</version>
593 <groupId>javax.ws.rs</groupId>
594 <artifactId>javax.ws.rs-api</artifactId>
595 <version>${jaxrs.version}</version>
599 <groupId>commons-cli</groupId>
600 <artifactId>commons-cli</artifactId>
601 <version>${commons.cli.version}</version>
605 <groupId>com.bazaarvoice.jolt</groupId>
606 <artifactId>jolt-complete</artifactId>
607 <version>${jolt.version}</version>
611 <groupId>com.opencsv</groupId>
612 <artifactId>opencsv</artifactId>
613 <version>${opencsv.version}</version>
617 <groupId>log4j</groupId>
618 <artifactId>log4j</artifactId>
619 <version>${log4j.version}</version>
623 <groupId>log4j</groupId>
624 <artifactId>apache-log4j-extras</artifactId>
625 <version>${log4j.version}</version>
629 <groupId>commons-io</groupId>
630 <artifactId>commons-io</artifactId>
631 <version>${commons.io.version}</version>
635 <groupId>org.springframework</groupId>
636 <artifactId>spring-web</artifactId>
637 <version>${spring.version}</version>
640 <groupId>org.springframework</groupId>
641 <artifactId>spring-context</artifactId>
642 <version>${spring.version}</version>
645 <groupId>org.springframework</groupId>
646 <artifactId>spring-core</artifactId>
647 <version>${spring.version}</version>
650 <groupId>org.springframework</groupId>
651 <artifactId>spring-orm</artifactId>
652 <version>${spring.version}</version>
655 <groupId>org.springframework</groupId>
656 <artifactId>spring-oxm</artifactId>
657 <version>${spring.version}</version>
660 <groupId>org.springframework</groupId>
661 <artifactId>spring-aspects</artifactId>
662 <version>${spring.version}</version>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-tx</artifactId>
667 <version>${spring.version}</version>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-webmvc</artifactId>
672 <version>${spring.version}</version>
676 <groupId>org.springframework.security</groupId>
677 <artifactId>spring-security-rsa</artifactId>
678 <version>${spring.security.rsa.version}</version>
682 <groupId>org.springframework</groupId>
683 <artifactId>spring-jms</artifactId>
684 <version>${spring.jms.version}</version>
688 <groupId>org.onap.aai.logging-service</groupId>
689 <artifactId>common-logging</artifactId>
690 <version>${aai.common.logging.version}</version>
694 <groupId>org.onap.aai.logging-service</groupId>
695 <artifactId>logging-api</artifactId>
696 <version>${aai.common.logging.version}</version>
700 <groupId>org.onap.logging-analytics</groupId>
701 <artifactId>logging-slf4j</artifactId>
702 <version>${logging.analytics.version}</version>
706 <groupId>org.onap.aai</groupId>
707 <artifactId>rest-client</artifactId>
708 <version>${aai.rest.client.version}</version>
712 <groupId>net.sf.jopt-simple</groupId>
713 <artifactId>jopt-simple</artifactId>
714 <version>${jopt.simple.version}</version>
718 <groupId>io.swagger</groupId>
719 <artifactId>swagger-core</artifactId>
720 <version>${io.swagger.version}</version>
724 <groupId>org.aspectj</groupId>
725 <artifactId>aspectjrt</artifactId>
726 <version>${aspectj.version}</version>
730 <groupId>io.swagger</groupId>
731 <artifactId>swagger-annotations</artifactId>
732 <version>${io.swagger.version}</version>
736 <groupId>io.swagger</groupId>
737 <artifactId>swagger-jersey-jaxrs</artifactId>
738 <version>${io.swagger.version}</version>
742 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
743 <artifactId>dmaapClient</artifactId>
744 <version>${dmaap.client.version}</version>
748 <groupId>io.netty</groupId>
749 <artifactId>netty-handler</artifactId>
750 <version>${netty.handler.version}</version>
754 <groupId>io.netty</groupId>
755 <artifactId>netty-all</artifactId>
756 <version>${netty.version}</version>
760 <groupId>org.onap.aai.schema-service</groupId>
761 <artifactId>aai-schema</artifactId>
762 <version>${aai.schema.service.version}</version>
766 <groupId>org.apache.httpcomponents</groupId>
767 <artifactId>httpclient</artifactId>
768 <version>${httpclient.version}</version>
772 <groupId>org.skyscreamer</groupId>
773 <artifactId>jsonassert</artifactId>
774 <version>${jsonassert.version}</version>
779 <groupId>org.codehaus.plexus</groupId>
780 <artifactId>plexus-utils</artifactId>
781 <version>${plexus.utils.version}</version>
785 <groupId>org.yaml</groupId>
786 <artifactId>snakeyaml</artifactId>
787 <version>${snakeyaml.version}</version>
791 <groupId>org.apache.commons</groupId>
792 <artifactId>commons-compress</artifactId>
793 <version>${commons.compress.version}</version>
797 <groupId>org.reflections</groupId>
798 <artifactId>reflections</artifactId>
799 <version>${reflections.version}</version>
803 <groupId>commons-net</groupId>
804 <artifactId>commons-net</artifactId>
805 <version>${commons.net.version}</version>
810 </dependencyManagement>
816 <groupId>org.springframework.boot</groupId>
817 <artifactId>spring-boot-maven-plugin</artifactId>
818 <version>${spring.boot.version}</version>
821 <groupId>io.fabric8</groupId>
822 <artifactId>docker-maven-plugin</artifactId>
823 <version>${docker.fabric.version}</version>
827 <groupId>org.jacoco</groupId>
828 <artifactId>jacoco-maven-plugin</artifactId>
829 <version>${jacoco.version}</version>
831 <!-- Note: This exclusion list should match <sonar.exclusions> property
834 <exclude>**/gen/**</exclude>
835 <exclude>**/generated-sources/**</exclude>
836 <exclude>**/yang-gen/**</exclude>
837 <exclude>**/pax/**</exclude>
841 <!-- Prepares the property pointing to the JaCoCo runtime agent which
842 is passed as VM argument when Maven the Surefire plugin is executed. -->
844 <id>pre-unit-test</id>
846 <goal>prepare-agent</goal>
849 <!-- Sets the path to the file which contains the execution data
851 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
852 <!-- Sets the name of the property containing the settings for JaCoCo
854 <propertyName>surefireArgLine</propertyName>
857 <!-- Ensures that the code coverage report for unit tests is created
858 after unit tests have been run. -->
860 <id>post-unit-test</id>
866 <!-- Sets the path to the file which contains the execution data
868 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
869 <!-- Sets the output directory for the code coverage report. -->
870 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
874 <id>pre-integration-test</id>
875 <phase>pre-integration-test</phase>
877 <goal>prepare-agent</goal>
880 <!-- Sets the path to the file which contains the execution data
882 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
883 <!-- Sets the name of the property containing the settings for JaCoCo
885 <propertyName>failsafeArgLine</propertyName>
888 <!-- Ensures that the code coverage report for integration tests after
889 integration tests have been run. -->
891 <id>post-integration-test</id>
892 <phase>post-integration-test</phase>
897 <!-- Sets the path to the file which contains the execution data
899 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
900 <!-- Sets the output directory for the code coverage report. -->
901 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
905 <id>default-check</id>
910 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
912 <rule implementation="org.jacoco.maven.RuleConfiguration">
913 <element>BUNDLE</element>
915 <limit implementation="org.jacoco.report.check.Limit">
916 <counter>LINE</counter>
917 <value>COVEREDRATIO</value>
918 <minimum>${jacoco.line.coverage.limit}</minimum>
928 <groupId>org.apache.maven.plugins</groupId>
929 <artifactId>maven-surefire-plugin</artifactId>
930 <version>3.0.0-M4</version>
932 <!-- Sets the VM argument line used when unit tests are run. -->
933 <argLine>${surefireArgLine}</argLine>
934 <!-- Excludes integration tests when unit tests are run. -->
936 <exclude>**/IT*.java</exclude>
941 <groupId>org.apache.maven.plugins</groupId>
942 <artifactId>maven-failsafe-plugin</artifactId>
943 <version>3.0.0-M4</version>
945 <!-- Ensures that both integration-test and verify goals of the Failsafe
946 Maven plugin are executed. -->
948 <id>integration-tests</id>
950 <goal>integration-test</goal>
954 <!-- Sets the VM argument line used when integration tests are run. -->
955 <argLine>${failsafeArgLine}</argLine>
961 <groupId>org.sonarsource.scanner.maven</groupId>
962 <artifactId>sonar-maven-plugin</artifactId>
963 <version>${sonar.scanner.version}</version>
971 <groupId>org.jacoco</groupId>
972 <artifactId>jacoco-maven-plugin</artifactId>
975 <groupId>org.apache.maven.plugins</groupId>
976 <artifactId>maven-surefire-plugin</artifactId>
979 <groupId>org.apache.maven.plugins</groupId>
980 <artifactId>maven-failsafe-plugin</artifactId>