4.0.0 org.onap.ccsdk.apps.controllerblueprints parent 0.3.2-SNAPSHOT ../parent distribution pom Controller Blueprints Distribution maven org.onap.ccsdk.apps controllerblueprints onap/ccsdk-controllerblueprints ${https_proxy} deploy true org.onap.ccsdk.apps.controllerblueprints application maven-resources-plugin 2.6 copy-dockerfile copy-resources validate ${basedir}/target/docker-stage src/main/docker * true org.apache.maven.plugins maven-antrun-plugin ant-test package run maven-assembly-plugin 3.0.0 ${basedir}/target/docker-stage src/main/docker/distribution.xml posix ${assembly.id} package single org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute println project.properties['ccsdk.project.version']; def versionArray; if (project.properties['ccsdk.project.version'] != null ) { versionArray = project.properties['ccsdk.project.version'].split('\\.'); } if (project.properties['ccsdk.project.version'].endsWith("-SNAPSHOT")) { project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; } else { project.properties['project.docker.latesttag.version']=versionArray[0]+'.' + versionArray[1]+"-STAGING-latest"; } println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; docker io.fabric8 docker-maven-plugin 0.26.1 false ${image.name} try ${basedir}/target/docker-stage ${project.version} ${project.version}-STAGING-${maven.build.timestamp} ${project.docker.latesttag.version} true generate-images package build push-images ${docker.push.phase} build push