From 6bd377b8a1b23f7752dfe1e83c15f5e841b4542b Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 21 Feb 2017 13:10:47 -0500 Subject: [STAGING] Add build profiles Use build profiles to enable/disable staging and blackduck scans Change-Id: I32c92bed647d49f428dcd0e3ab681282db413352 Signed-off-by: Dan Timoney --- pom.xml | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 66 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 3cdb1bb..0d5357d 100755 --- a/pom.xml +++ b/pom.xml @@ -42,25 +42,73 @@ + + + blackduck + + + blackduck-scan + + + + + + + com.blackducksoftware.integration + hub-maven-plugin + 1.4.0 + false + + ${project.name} + ${project.basedir} + + + + create-bdio-file + package + + createHubOutput + + + + + + + + + + + + + staging + + + !no-staging + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + https://${openecomp.nexus.host} + ${openecomp.nexus.staging.profile-id} + ${openecomp.nexus.staging.server-id} + + + + + + + + + - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - https://nexus.openecomp.org - 176c31dfe190a - ecomp-staging - - org.apache.maven.plugins maven-surefire-plugin @@ -79,7 +127,7 @@ sql-resource - AT&T + OpenECOMP 1.0.0 -- cgit 1.2.3-korg