diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-01-16 11:55:29 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-01-16 11:55:35 -0500 |
commit | 3d14abe94ac03a900178f5b9dbd1eeec222e2994 (patch) | |
tree | 7fe8d1369f64746f48ead2ff65e2717e1e776376 | |
parent | b3323cb896c1e565d7776a255ee99628c85957e1 (diff) |
Ensure one jacoco output file
Sub-modules under sub-modules need to set the path to
ensure a single jacoco-ut.exec file is produced and
appended to.
I think this only gives us .1% - but that's ok. Its a
step towards consolidation.
Issue-ID: POLICY-2321
Change-Id: I31023843f55200096a905482ee55ad19bf681494
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r-- | models-interactions/model-actors/pom.xml | 4 | ||||
-rw-r--r-- | models-interactions/model-impl/pom.xml | 4 | ||||
-rw-r--r-- | models-interactions/pom.xml | 5 | ||||
-rw-r--r-- | models-sim/pom.xml | 5 |
4 files changed, 18 insertions, 0 deletions
diff --git a/models-interactions/model-actors/pom.xml b/models-interactions/model-actors/pom.xml index 8b8188a72..8765eb44b 100644 --- a/models-interactions/model-actors/pom.xml +++ b/models-interactions/model-actors/pom.xml @@ -30,6 +30,10 @@ <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId> <artifactId>model-actors</artifactId> + <properties> + <jacoco.dataFile>${project.basedir}/../../../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile> + </properties> + <modules> <module>actorServiceProvider</module> <module>actor.appc</module> diff --git a/models-interactions/model-impl/pom.xml b/models-interactions/model-impl/pom.xml index a66abe821..e29a818c8 100644 --- a/models-interactions/model-impl/pom.xml +++ b/models-interactions/model-impl/pom.xml @@ -33,6 +33,10 @@ <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> <artifactId>model-impl</artifactId> + <properties> + <jacoco.dataFile>${project.basedir}/../../../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile> + </properties> + <modules> <module>aai</module> <module>appc</module> diff --git a/models-interactions/pom.xml b/models-interactions/pom.xml index 5d5828cd1..64b2d21a4 100644 --- a/models-interactions/pom.xml +++ b/models-interactions/pom.xml @@ -29,6 +29,11 @@ <artifactId>policy-models-interactions</artifactId> <packaging>pom</packaging> <name>${project.artifactId}</name> + + <properties> + <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile> + </properties> + <modules> <module>model-simulators</module> <module>model-yaml</module> diff --git a/models-sim/pom.xml b/models-sim/pom.xml index 6a763a206..5bcb87807 100644 --- a/models-sim/pom.xml +++ b/models-sim/pom.xml @@ -31,6 +31,11 @@ <artifactId>policy-models-sim</artifactId> <packaging>pom</packaging> <name>${project.artifactId}</name> + + <properties> + <jacoco.dataFile>${project.basedir}/../../target/code-coverage/jacoco-ut.exec</jacoco.dataFile> + </properties> + <modules> <module>models-sim-dmaap</module> <module>policy-models-sim-pdp</module> |