From 781c67483dc02b17307f2f767bc5c88d9ac0eafc Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 24 Aug 2017 11:17:44 -0700 Subject: Allow merge job to deploy to Nexus Snapshots repo Change artifact version to -SNAPSHOT (with PEP 440 verioning workarounds) to allow the Jenkins merge job to deploy the artifacts to Snapshots repo. Change-Id: I9aa359da6608696757836e51f63f3512fcd6de4e Issue-id: TEST-48 Signed-off-by: Gary Wu --- pom.xml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 1770604..5f78574 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,11 @@ - + 4.0.0 pom org.onap.testsuite.heatbridge heatbridge heatbridge - 0.3 + 0.3.0-SNAPSHOT heatbridge used to stitch together some holes in the onap tests for release one org.onap.oparent @@ -15,7 +14,7 @@ UTF-8 - ${project.artifactId}-${project.version}-py2-none-any.whl + ${project.artifactId}-${python_version}-py2-none-any.whl ${project.basedir}/heatbridge @@ -25,6 +24,20 @@ build-helper-maven-plugin 3.0.0 + + write-python-version + + regex-property + + initialize + + python_version + -SNAPSHOT + ${project.version} + \.dev0 + false + + attach-artifacts package @@ -47,6 +60,7 @@ maven-python-distribute-plugin 0.2.0 + ${python_version} ${python.sourceDirectory} wheel @@ -94,4 +108,4 @@ 0.2.0 - \ No newline at end of file + -- cgit 1.2.3-korg