Ensure one jacoco output file 86/100386/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 16 Jan 2020 17:31:52 +0000 (12:31 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 16 Jan 2020 17:31:57 +0000 (12:31 -0500)
Sub-modules under sub-modules need to set the path to
ensure a single jacoco-ut.exec file is produced and
appended to.

This doesn't seem to affect the results, but I'd like
to be consistent.

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

index a12875b..c1af6b8 100644 (file)
@@ -2,7 +2,7 @@
   ============LICENSE_START=======================================================
   ONAP
   ================================================================================
-  Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2019-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.
   <groupId>org.onap.policy.xacml-pdp.applications</groupId>
   <artifactId>applications</artifactId>
 
+  <properties>
+    <jacoco.dataFile>${project.basedir}/../../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
+  </properties>
+
   <modules>
     <module>common</module>
     <module>monitoring</module>