From 568e98f6835b22e45c2e217da71ef9528d725c94 Mon Sep 17 00:00:00 2001 From: Rob Daugherty Date: Wed, 1 Aug 2018 10:09:48 -0400 Subject: Fix ArrayIndexOutOfBoundsException in docker build [ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (default) on project docker: java.lang.ArrayIndexOutOfBoundsException: 1 Change-Id: Ia1a186ad64d251a01ed03e0e027afca903e4a49e Issue-ID: SO-780 Signed-off-by: Rob Daugherty --- packages/docker/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index 5fafb4afd9..f88b8bebfa 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -49,7 +49,7 @@ if ( project.properties['so.project.version'].endsWith("-SNAPSHOT") ) { project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest"; } else { - project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; + project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; } println 'New tag for docker: ' + project.properties['project.docker.latesttag.version']; -- cgit 1.2.3-korg