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.7-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.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 <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.2.12</jaxb.version>
76 <jaxrs.version>2.0.1</jaxrs.version>
77 <jcommander.version>1.78</jcommander.version>
78 <jersey.version>1.19.4</jersey.version>
79 <jnr.ffi.version>2.1.11</jnr.ffi.version>
80 <jolt.version>0.0.24</jolt.version>
81 <jopt.simple.version>5.0.4</jopt.simple.version>
82 <jsonassert.version>1.5.0</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.10</httpclient.version>
99 <io.swagger.version>1.5.24</io.swagger.version>
100 <logback.version>1.2.3</logback.version>
101 <slf4j.version>1.7.25</slf4j.version>
102 <log4j.version>1.2.17</log4j.version>
103 <mockito.all.version>1.10.19</mockito.all.version>
104 <mockito.core.version>2.15.0</mockito.core.version>
105 <netty.handler.version>4.1.43.Final</netty.handler.version>
106 <netty.version>4.0.56.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.25</snakeyaml.version>
113 <spring.boot.version>1.5.22.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>4.3.25.RELEASE</spring.version>
133 <spring.jms.version>4.3.25.RELEASE</spring.jms.version>
134 <spring.test.version>4.3.25.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>1.5.22.RELEASE</spring.boot.version>
151 <dependencyManagement>
155 <groupId>com.googlecode.json-simple</groupId>
156 <artifactId>json-simple</artifactId>
157 <version>${json.simple.version}</version>
161 <groupId>org.onap.aai.aai-common</groupId>
162 <artifactId>aai-schema-ingest</artifactId>
163 <version>${aai.release.version}</version>
167 <groupId>org.onap.aai.aai-common</groupId>
168 <artifactId>aai-core</artifactId>
169 <version>${aai.release.version}</version>
173 <groupId>org.onap.aai.aai-common</groupId>
174 <artifactId>aai-aaf-auth</artifactId>
175 <version>${aai.release.version}</version>
179 <groupId>org.onap.aai.aai-common</groupId>
180 <artifactId>aai-els-onap-logging</artifactId>
181 <version>${aai.release.version}</version>
185 <groupId>org.onap.aai.aai-common</groupId>
186 <artifactId>aai-annotations</artifactId>
187 <version>${aai.release.version}</version>
191 <groupId>org.onap.aai.aai-common</groupId>
192 <artifactId>aai-rest</artifactId>
193 <version>${aai.release.version}</version>
197 <groupId>com.fasterxml.jackson</groupId>
198 <artifactId>jackson-bom</artifactId>
199 <version>${jackson.bom.version}</version>
201 <scope>import</scope>
205 <groupId>org.springframework.boot</groupId>
206 <artifactId>spring-boot-starter-web</artifactId>
207 <version>${spring.boot.version}</version>
211 <groupId>org.springframework.boot</groupId>
212 <artifactId>spring-boot-starter-parent</artifactId>
213 <version>${spring.boot.version}</version>
215 <scope>import</scope>
219 <groupId>org.springframework.boot</groupId>
220 <artifactId>spring-boot-dependencies</artifactId>
221 <version>${spring.boot.version}</version>
223 <scope>import</scope>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-test</artifactId>
230 <version>${spring.boot.version}</version>
234 <groupId>org.springframework</groupId>
235 <artifactId>spring-test</artifactId>
236 <version>${spring.test.version}</version>
240 <groupId>commons-configuration</groupId>
241 <artifactId>commons-configuration</artifactId>
242 <version>${commons.configuration.version}</version>
246 <groupId>org.apache.commons</groupId>
247 <artifactId>commons-lang3</artifactId>
248 <version>${commons.lang3.version}</version>
253 <groupId>commons-lang</groupId>
254 <artifactId>commons-lang</artifactId>
255 <version>${commons.lang.version}</version>
259 <groupId>com.att.eelf</groupId>
260 <artifactId>eelf-core</artifactId>
261 <version>${eelf.core.version}</version>
265 <groupId>ch.qos.logback</groupId>
266 <artifactId>logback-core</artifactId>
267 <version>${logback.version}</version>
271 <groupId>ch.qos.logback</groupId>
272 <artifactId>logback-classic</artifactId>
273 <version>${logback.version}</version>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-access</artifactId>
279 <version>${logback.version}</version>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-api</artifactId>
285 <version>${slf4j.version}</version>
289 <groupId>org.hamcrest</groupId>
290 <artifactId>java-hamcrest</artifactId>
291 <version>${hamcrest.junit.version}</version>
295 <groupId>org.hamcrest</groupId>
296 <artifactId>hamcrest-core</artifactId>
297 <version>${hamcrest.core.version}</version>
301 <groupId>org.hamcrest</groupId>
302 <artifactId>hamcrest-junit</artifactId>
303 <version>${hamcrest.junit.version}</version>
307 <groupId>javax.servlet</groupId>
308 <artifactId>javax.servlet-api</artifactId>
309 <version>${javax.servlet.version}</version>
310 <scope>provided</scope>
313 <groupId>javax.annotation</groupId>
314 <artifactId>javax.annotation-api</artifactId>
315 <version>${javax.annotation.version}</version>
316 <scope>provided</scope>
320 <groupId>junit</groupId>
321 <artifactId>junit</artifactId>
322 <version>${junit.version}</version>
327 <groupId>com.google.guava</groupId>
328 <artifactId>guava</artifactId>
329 <version>${google.guava.version}</version>
333 <groupId>org.janusgraph</groupId>
334 <artifactId>janusgraph-core</artifactId>
335 <version>${janusgraph.version}</version>
339 <groupId>org.janusgraph</groupId>
340 <artifactId>janusgraph-cassandra</artifactId>
341 <version>${janusgraph.version}</version>
345 <groupId>org.janusgraph</groupId>
346 <artifactId>janusgraph-cql</artifactId>
347 <version>${janusgraph.version}</version>
351 <groupId>com.github.jnr</groupId>
352 <artifactId>jnr-ffi</artifactId>
353 <version>${jnr.ffi.version}</version>
357 <groupId>org.apache.tinkerpop</groupId>
358 <artifactId>tinkergraph-gremlin</artifactId>
359 <version>${gremlin.version}</version>
362 <groupId>org.apache.tinkerpop</groupId>
363 <artifactId>gremlin-core</artifactId>
364 <version>${gremlin.version}</version>
367 <groupId>org.apache.tinkerpop</groupId>
368 <artifactId>gremlin-driver</artifactId>
369 <version>${gremlin.version}</version>
373 <groupId>org.apache.tinkerpop</groupId>
374 <artifactId>gremlin-groovy</artifactId>
375 <version>${gremlin.version}</version>
379 <groupId>org.codehaus.groovy</groupId>
380 <artifactId>groovy</artifactId>
381 <version>${groovy.version}</version>
382 <classifier>indy</classifier>
386 <groupId>org.mockito</groupId>
387 <artifactId>mockito-all</artifactId>
388 <version>${mockito.all.version}</version>
392 <groupId>org.mockito</groupId>
393 <artifactId>mockito-core</artifactId>
394 <version>${mockito.core.version}</version>
398 <groupId>org.powermock</groupId>
399 <artifactId>powermock-module-junit4</artifactId>
400 <version>${powermock.version}</version>
404 <groupId>org.powermock</groupId>
405 <artifactId>powermock-module-junit4-rule-agent</artifactId>
406 <version>${powermock.version}</version>
410 <groupId>org.powermock</groupId>
411 <artifactId>powermock-api-mockito2</artifactId>
412 <version>${powermock.api.mockito2.version}</version>
415 <groupId>org.powermock</groupId>
416 <artifactId>powermock-core</artifactId>
417 <version>${powermock.api.mockito2.version}</version>
420 <groupId>org.powermock</groupId>
421 <artifactId>powermock-module-javaagent</artifactId>
422 <version>${powermock.version}</version>
425 <groupId>com.beust</groupId>
426 <artifactId>jcommander</artifactId>
427 <version>${jcommander.version}</version>
431 <groupId>org.antlr</groupId>
432 <artifactId>antlr4-runtime</artifactId>
433 <version>${antlr.version}</version>
436 <groupId>org.antlr</groupId>
437 <artifactId>antlr4-maven-plugin</artifactId>
438 <version>${antlr.version}</version>
442 <groupId>org.json</groupId>
443 <artifactId>json</artifactId>
444 <version>${json.version}</version>
448 <groupId>org.freemarker</groupId>
449 <artifactId>freemarker</artifactId>
450 <version>${freemarker.version}</version>
454 <groupId>javax.xml.bind</groupId>
455 <artifactId>jaxb-api</artifactId>
456 <version>${jaxb.version}</version>
460 <groupId>org.apache.activemq</groupId>
461 <artifactId>activemq-broker</artifactId>
462 <version>${activemq.version}</version>
466 <groupId>org.apache.activemq</groupId>
467 <artifactId>activemq-client</artifactId>
468 <version>${activemq.version}</version>
472 <groupId>org.apache.activemq</groupId>
473 <artifactId>activemq-openwire-legacy</artifactId>
474 <version>${activemq.version}</version>
478 <groupId>org.onap.aaf.authz</groupId>
479 <artifactId>aaf-cadi-core</artifactId>
480 <version>${aaf.version}</version>
481 <scope>compile</scope>
484 <groupId>org.onap.aaf.authz</groupId>
485 <artifactId>aaf-cadi-aaf</artifactId>
486 <version>${aaf.version}</version>
487 <scope>compile</scope>
491 <groupId>org.easymock</groupId>
492 <artifactId>easymock</artifactId>
493 <version>${easy.mock.version}</version>
498 <groupId>com.sun.xml.bind</groupId>
499 <artifactId>jaxb-xjc</artifactId>
500 <version>${jaxb.version}</version>
504 <groupId>org.eclipse.persistence</groupId>
505 <artifactId>eclipselink</artifactId>
506 <version>${eclipse.persistence.version}</version>
510 <groupId>org.eclipse.persistence</groupId>
511 <artifactId>org.eclipse.persistence.moxy</artifactId>
512 <version>${eclipse.persistence.version}</version>
516 <groupId>com.github.fge</groupId>
517 <artifactId>json-patch</artifactId>
518 <version>${json.patch.version}</version>
522 <groupId>com.jayway.jsonpath</groupId>
523 <artifactId>json-path</artifactId>
524 <version>${json.path.version}</version>
527 <groupId>com.jayway.jsonpath</groupId>
528 <artifactId>json-path-assert</artifactId>
529 <version>${json.path.version}</version>
533 <groupId>org.javatuples</groupId>
534 <artifactId>javatuples</artifactId>
535 <version>${javatuples.version}</version>
539 <groupId>com.google.code.gson</groupId>
540 <artifactId>gson</artifactId>
541 <version>${gson.version}</version>
546 <groupId>org.apache.commons</groupId>
547 <artifactId>commons-text</artifactId>
548 <version>${commons.text.version}</version>
552 <groupId>org.codehaus.jackson</groupId>
553 <artifactId>jackson-core-asl</artifactId>
554 <version>${codehaus.jackson.version}</version>
558 <groupId>com.sun.jersey</groupId>
559 <artifactId>jersey-core</artifactId>
560 <version>${jersey.version}</version>
564 <groupId>com.sun.jersey</groupId>
565 <artifactId>jersey-client</artifactId>
566 <version>${jersey.version}</version>
570 <groupId>com.sun.jersey</groupId>
571 <artifactId>jersey-json</artifactId>
572 <version>${jersey.version}</version>
576 <groupId>javax.ws.rs</groupId>
577 <artifactId>javax.ws.rs-api</artifactId>
578 <version>${jaxrs.version}</version>
582 <groupId>commons-cli</groupId>
583 <artifactId>commons-cli</artifactId>
584 <version>${commons.cli.version}</version>
588 <groupId>com.bazaarvoice.jolt</groupId>
589 <artifactId>jolt-complete</artifactId>
590 <version>${jolt.version}</version>
594 <groupId>com.opencsv</groupId>
595 <artifactId>opencsv</artifactId>
596 <version>${opencsv.version}</version>
600 <groupId>log4j</groupId>
601 <artifactId>log4j</artifactId>
602 <version>${log4j.version}</version>
606 <groupId>log4j</groupId>
607 <artifactId>apache-log4j-extras</artifactId>
608 <version>${log4j.version}</version>
612 <groupId>commons-io</groupId>
613 <artifactId>commons-io</artifactId>
614 <version>${commons.io.version}</version>
618 <groupId>org.springframework</groupId>
619 <artifactId>spring-web</artifactId>
620 <version>${spring.version}</version>
623 <groupId>org.springframework</groupId>
624 <artifactId>spring-context</artifactId>
625 <version>${spring.version}</version>
628 <groupId>org.springframework</groupId>
629 <artifactId>spring-core</artifactId>
630 <version>${spring.version}</version>
633 <groupId>org.springframework</groupId>
634 <artifactId>spring-orm</artifactId>
635 <version>${spring.version}</version>
638 <groupId>org.springframework</groupId>
639 <artifactId>spring-oxm</artifactId>
640 <version>${spring.version}</version>
643 <groupId>org.springframework</groupId>
644 <artifactId>spring-aspects</artifactId>
645 <version>${spring.version}</version>
648 <groupId>org.springframework</groupId>
649 <artifactId>spring-tx</artifactId>
650 <version>${spring.version}</version>
653 <groupId>org.springframework</groupId>
654 <artifactId>spring-webmvc</artifactId>
655 <version>${spring.version}</version>
659 <groupId>org.springframework.security</groupId>
660 <artifactId>spring-security-rsa</artifactId>
661 <version>${spring.security.rsa.version}</version>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-jms</artifactId>
667 <version>${spring.jms.version}</version>
671 <groupId>org.onap.aai.logging-service</groupId>
672 <artifactId>common-logging</artifactId>
673 <version>${aai.common.logging.version}</version>
677 <groupId>org.onap.aai.logging-service</groupId>
678 <artifactId>logging-api</artifactId>
679 <version>${aai.common.logging.version}</version>
683 <groupId>org.onap.logging-analytics</groupId>
684 <artifactId>logging-slf4j</artifactId>
685 <version>${logging.analytics.version}</version>
689 <groupId>org.onap.aai</groupId>
690 <artifactId>rest-client</artifactId>
691 <version>${aai.rest.client.version}</version>
695 <groupId>net.sf.jopt-simple</groupId>
696 <artifactId>jopt-simple</artifactId>
697 <version>${jopt.simple.version}</version>
701 <groupId>io.swagger</groupId>
702 <artifactId>swagger-core</artifactId>
703 <version>${io.swagger.version}</version>
707 <groupId>org.aspectj</groupId>
708 <artifactId>aspectjrt</artifactId>
709 <version>${aspectj.version}</version>
713 <groupId>io.swagger</groupId>
714 <artifactId>swagger-annotations</artifactId>
715 <version>${io.swagger.version}</version>
719 <groupId>io.swagger</groupId>
720 <artifactId>swagger-jersey-jaxrs</artifactId>
721 <version>${io.swagger.version}</version>
725 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
726 <artifactId>dmaapClient</artifactId>
727 <version>${dmaap.client.version}</version>
731 <groupId>io.netty</groupId>
732 <artifactId>netty-handler</artifactId>
733 <version>${netty.handler.version}</version>
737 <groupId>io.netty</groupId>
738 <artifactId>netty-all</artifactId>
739 <version>${netty.version}</version>
743 <groupId>org.onap.aai.schema-service</groupId>
744 <artifactId>aai-schema</artifactId>
745 <version>${aai.schema.service.version}</version>
749 <groupId>org.apache.httpcomponents</groupId>
750 <artifactId>httpclient</artifactId>
751 <version>${httpclient.version}</version>
755 <groupId>org.skyscreamer</groupId>
756 <artifactId>jsonassert</artifactId>
757 <version>${jsonassert.version}</version>
762 <groupId>org.codehaus.plexus</groupId>
763 <artifactId>plexus-utils</artifactId>
764 <version>${plexus.utils.version}</version>
768 <groupId>org.yaml</groupId>
769 <artifactId>snakeyaml</artifactId>
770 <version>${snakeyaml.version}</version>
774 <groupId>org.apache.commons</groupId>
775 <artifactId>commons-compress</artifactId>
776 <version>${commons.compress.version}</version>
780 <groupId>org.reflections</groupId>
781 <artifactId>reflections</artifactId>
782 <version>${reflections.version}</version>
786 <groupId>commons-net</groupId>
787 <artifactId>commons-net</artifactId>
788 <version>${commons.net.version}</version>
793 </dependencyManagement>
799 <groupId>org.springframework.boot</groupId>
800 <artifactId>spring-boot-maven-plugin</artifactId>
801 <version>${spring.boot.version}</version>
804 <groupId>io.fabric8</groupId>
805 <artifactId>docker-maven-plugin</artifactId>
806 <version>${docker.fabric.version}</version>
810 <groupId>org.jacoco</groupId>
811 <artifactId>jacoco-maven-plugin</artifactId>
812 <version>${jacoco.version}</version>
814 <!-- Note: This exclusion list should match <sonar.exclusions> property
817 <exclude>**/gen/**</exclude>
818 <exclude>**/generated-sources/**</exclude>
819 <exclude>**/yang-gen/**</exclude>
820 <exclude>**/pax/**</exclude>
824 <!-- Prepares the property pointing to the JaCoCo runtime agent which
825 is passed as VM argument when Maven the Surefire plugin is executed. -->
827 <id>pre-unit-test</id>
829 <goal>prepare-agent</goal>
832 <!-- Sets the path to the file which contains the execution data
834 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
835 <!-- Sets the name of the property containing the settings for JaCoCo
837 <propertyName>surefireArgLine</propertyName>
840 <!-- Ensures that the code coverage report for unit tests is created
841 after unit tests have been run. -->
843 <id>post-unit-test</id>
849 <!-- Sets the path to the file which contains the execution data
851 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
852 <!-- Sets the output directory for the code coverage report. -->
853 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
857 <id>pre-integration-test</id>
858 <phase>pre-integration-test</phase>
860 <goal>prepare-agent</goal>
863 <!-- Sets the path to the file which contains the execution data
865 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
866 <!-- Sets the name of the property containing the settings for JaCoCo
868 <propertyName>failsafeArgLine</propertyName>
871 <!-- Ensures that the code coverage report for integration tests after
872 integration tests have been run. -->
874 <id>post-integration-test</id>
875 <phase>post-integration-test</phase>
880 <!-- Sets the path to the file which contains the execution data
882 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
883 <!-- Sets the output directory for the code coverage report. -->
884 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
888 <id>default-check</id>
893 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
895 <rule implementation="org.jacoco.maven.RuleConfiguration">
896 <element>BUNDLE</element>
898 <limit implementation="org.jacoco.report.check.Limit">
899 <counter>LINE</counter>
900 <value>COVEREDRATIO</value>
901 <minimum>${jacoco.line.coverage.limit}</minimum>
911 <groupId>org.apache.maven.plugins</groupId>
912 <artifactId>maven-surefire-plugin</artifactId>
913 <version>3.0.0-M4</version>
915 <!-- Sets the VM argument line used when unit tests are run. -->
916 <argLine>${surefireArgLine}</argLine>
917 <!-- Excludes integration tests when unit tests are run. -->
919 <exclude>**/IT*.java</exclude>
924 <groupId>org.apache.maven.plugins</groupId>
925 <artifactId>maven-failsafe-plugin</artifactId>
926 <version>3.0.0-M4</version>
928 <!-- Ensures that both integration-test and verify goals of the Failsafe
929 Maven plugin are executed. -->
931 <id>integration-tests</id>
933 <goal>integration-test</goal>
937 <!-- Sets the VM argument line used when integration tests are run. -->
938 <argLine>${failsafeArgLine}</argLine>
944 <groupId>org.sonarsource.scanner.maven</groupId>
945 <artifactId>sonar-maven-plugin</artifactId>
946 <version>${sonar.scanner.version}</version>
954 <groupId>org.jacoco</groupId>
955 <artifactId>jacoco-maven-plugin</artifactId>
958 <groupId>org.apache.maven.plugins</groupId>
959 <artifactId>maven-surefire-plugin</artifactId>
962 <groupId>org.apache.maven.plugins</groupId>
963 <artifactId>maven-failsafe-plugin</artifactId>