From 52accfae6e6ec414d606a8f3ddbb3369e10c7011 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 21 Feb 2017 12:10:35 -0500 Subject: [STAGING] Add build profiles Use build profiles to enable/disable staging and blackduck scans Change-Id: I075c076206a401afc46c76b06cb3b642cb9c3eed Signed-off-by: Dan Timoney --- pom.xml | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 69 insertions(+), 18 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 0da84cf..ad855f1 100755 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,72 @@ + + + + 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} + + + + + + + + + @@ -106,23 +172,8 @@ - - - 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 @@ -144,7 +195,7 @@ sliapi - AT&T + OpenECOMP 1.0.0 -- cgit 1.2.3-korg