Finish sonar config update 06/100606/2
authorPamela Dragosh <pdragosh@research.att.com>
Wed, 22 Jan 2020 16:10:01 +0000 (11:10 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 22 Jan 2020 16:15:16 +0000 (11:15 -0500)
Now that JDK11 upgrade done, policy/parent has the right
parameters defined. Cleaned up and made sure only one
.exec file being generated.

Issue-ID: POLICY-2321
Change-Id: I058119982e56bc5c111ba3f2fe44079be97fd889
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
plugins/pom.xml
pom.xml

index a9225f7..d8de562 100644 (file)
@@ -1,6 +1,7 @@
 <!--
   ============LICENSE_START=======================================================
    Copyright (C) 2018 Ericsson. All rights reserved.
+   Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
   ================================================================================
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
     </parent>
 
     <artifactId>plugins</artifactId>
-    
+
     <name>${project.artifactId}</name>
     <description>The module of Policy Distribution that holds plugins for custom policy reception and forwarding.</description>
     <packaging>pom</packaging>
-    
+
+    <properties>
+        <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
+    </properties>
+
     <modules>
         <module>forwarding-plugins</module>
         <module>reception-plugins</module>
diff --git a/pom.xml b/pom.xml
index 58faf41..b9df971 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -41,7 +41,7 @@
 
     <properties>
         <!-- Default Sonar configuration -->
-        <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+        <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
 
         <policy.common.version>1.6.2-SNAPSHOT</policy.common.version>
         <policy.engine.version>1.6.0-SNAPSHOT</policy.engine.version>