From d8a77c8c154573c58bef23a161c6cd2cc5e258df Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 15 Sep 2021 12:07:01 +0100 Subject: Fix staging error, remove tests jar dependency We are skipping tests in staging jobs so the policy-clamp-common tests jar is not staged. This commit introduces profiles to avoid a dependency error in staging jobs for that jar. Issue-ID: POLICY-3587 Change-Id: I1b893fa1cbfd5da38272b531cc7f1130421a5cc6 Signed-off-by: liamfallon --- participant/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) (limited to 'participant/pom.xml') diff --git a/participant/pom.xml b/participant/pom.xml index 015308bbe..3545b9dda 100644 --- a/participant/pom.xml +++ b/participant/pom.xml @@ -40,6 +40,49 @@ participant-impl + + + + ExcludeTestJar1 + + + maven.test.skip + false + + + + + org.onap.policy.clamp + policy-clamp-common + tests + test-jar + ${project.version} + test + + + + + ExcludeTestJar2 + + + skipTests + false + + + + + org.onap.policy.clamp + policy-clamp-common + tests + test-jar + ${project.version} + test + + + + + org.onap.policy.clamp @@ -51,14 +94,6 @@ policy-clamp-models ${project.version} - - org.onap.policy.clamp - policy-clamp-common - tests - test-jar - ${project.version} - test - -- cgit 1.2.3-korg