From c75b13efe0a7ed33e70822fd149d29c9f3b40de7 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 21 Feb 2017 13:31:06 -0500 Subject: [STAGING] Add build profiles Use build profiles to enable/disable staging and blackduck scans Change-Id: I2e1d749843cff8f051da4beee379a32d3f9ea86c Signed-off-by: Dan Timoney --- pom.xml | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 64 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 229b945c..a2f6aeb5 100644 --- a/pom.xml +++ b/pom.xml @@ -42,26 +42,73 @@ dav:https://${openecomp.nexus.host}:${openecomp.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version} + + + 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 1.2.3-korg