diff options
Diffstat (limited to 'participant')
-rw-r--r-- | participant/pom.xml | 51 |
1 files changed, 43 insertions, 8 deletions
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 @@ <module>participant-impl</module> </modules> + <profiles> + <!-- These profiles are required because the tests jar from policy-clamp-common is not available in staging + Jenkins jobs --> + <profile> + <id>ExcludeTestJar1</id> + <activation> + <property> + <name>maven.test.skip</name> + <value>false</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.onap.policy.clamp</groupId> + <artifactId>policy-clamp-common</artifactId> + <classifier>tests</classifier> + <type>test-jar</type> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>ExcludeTestJar2</id> + <activation> + <property> + <name>skipTests</name> + <value>false</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.onap.policy.clamp</groupId> + <artifactId>policy-clamp-common</artifactId> + <classifier>tests</classifier> + <type>test-jar</type> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + </profiles> + <dependencies> <dependency> <groupId>org.onap.policy.clamp</groupId> @@ -51,14 +94,6 @@ <artifactId>policy-clamp-models</artifactId> <version>${project.version}</version> </dependency> - <dependency> - <groupId>org.onap.policy.clamp</groupId> - <artifactId>policy-clamp-common</artifactId> - <classifier>tests</classifier> - <type>test-jar</type> - <version>${project.version}</version> - <scope>test</scope> - </dependency> </dependencies> <build> |