From c1935dba4855c4e2f60ef628eb0cdb663fde64dd Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Jan 2020 14:11:20 -0500 Subject: [PATCH] Override oparent sonar We don't have any IT tests, so let's skip them. This may have a trivial bump in speed. Use the same datafile, and make sure the results are being appended to support multi-module. This will result in all the repos removing this configuration as it only needs to be set here in policy/parent. Cleans up things a bit. Issue-ID: POLICY-2321 Change-Id: I999cb3bb8a7a764ffc7459fc9e0b9b8377dbecb3 Signed-off-by: Pamela Dragosh --- integration/pom.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/integration/pom.xml b/integration/pom.xml index 40903723..c840fac7 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -47,6 +47,7 @@ 2.3.1 1.1.4 20190722 + ${project.basedir}/../target/code-coverage/jacoco-ut.exec @@ -625,6 +626,53 @@ ${java.version} + + org.jacoco + jacoco-maven-plugin + + + pre-unit-test + + prepare-agent + + + ${jacoco.dataFile} + true + + + + post-unit-test + test + + report + + + ${jacoco.dataFile} + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + true + + + + post-integration-test + post-integration-test + + report + + + true + + + + + -- 2.16.6