From 5257c04804bd05c83b99e6e11fae2aa4f446f652 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 21 Feb 2017 14:41:15 -0500 Subject: [STAGING] Add build profiles Use build profiles to enable/disable staging and blackduck scans Change-Id: Ie0b9d7ea65cd7f141a034e65b3325ebd51f2aa10 Signed-off-by: Dan Timoney --- pom.xml | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 64 insertions(+), 17 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index e54e6ae..c47017e 100755 --- a/pom.xml +++ b/pom.xml @@ -44,25 +44,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} + + + + + + + + - - - 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 -- cgit