Temporary fix for jenkins
Temporary fix for the issue where maven running on jenkins
is not able to find the platform logic installer zip file
in the maven local repository. By setting this version to
snapshot, maven will be able to find the version in nexus
that was build by another job, since it can't find the one
being build by the docker build job.
Change-Id: I9e2125134f9ef0984eb3406848c98d6687212771
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816
diff --git a/installation/appc/src/main/scripts/installZips.sh b/installation/appc/src/main/scripts/installZips.sh
index 5428f16..b13d6bd 100644
--- a/installation/appc/src/main/scripts/installZips.sh
+++ b/installation/appc/src/main/scripts/installZips.sh
@@ -106,7 +106,7 @@
echo "Installing platform-logic for APP-C"
rm -f ${tmpDir}/platform-logic-installer*.zip
-mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.deployment:platform-logic-installer:${APPC_OAM_VERSION}:zip -DoutputDirectory=${tmpDir} -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.ssl.insecure=true
+mvn -U ${mavenOpts} org.apache.maven.plugins:maven-dependency-plugin:2.9:copy -Dartifact=org.onap.appc.deployment:platform-logic-installer:1.7.1-SNAPSHOT:zip -DoutputDirectory=${tmpDir} -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.ssl.insecure=true
unzip -d ${targetDir} ${tmpDir}/platform-logic-installer*.zip
echo "Downloading dg-loader DGs from nexus"