From: Dan Timoney Date: Tue, 21 Feb 2017 19:41:15 +0000 (-0500) Subject: [STAGING] Add build profiles X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5257c04804bd05c83b99e6e11fae2aa4f446f652;p=sdnc%2Fplugins.git [STAGING] Add build profiles Use build profiles to enable/disable staging and blackduck scans Change-Id: Ie0b9d7ea65cd7f141a034e65b3325ebd51f2aa10 Signed-off-by: Dan Timoney --- 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