4.0.0 org.onap.so.so-admin-cockpit packages 1.7.1-SNAPSHOT org.onap.so.so-admin-cockpit.packages docker pom SO Admin Cockpit Docker Packaging ${project.version} false false false nexus3.onap.org:10001 nexus3.onap.org:10003 onap/so deploy ${project.artifactId}-${project.version} org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute println 'Project version: ' + project.properties['admin-cockpit-project-version']; def versionArray; if (project.properties['admin-cockpit-project-version'] != null) { versionArray = project.properties['admin-cockpit-project-version'].split('-'); } if (project.properties['admin-cockpit-project-version'].endsWith("-SNAPSHOT")) { project.properties['project.docker.latesttag.version'] = versionArray[0] + "-SNAPSHOT-latest"; } else { project.properties['project.docker.latesttag.version'] = versionArray[0] + "-STAGING-latest"; } println 'New tag for docker: ' + project.properties['project.docker.latesttag.version']; io.fabric8 docker-maven-plugin 0.31.0 true 1.23 ${docker.pull.registry} ${docker.push.registry} ${docker.image.prefix}/base-image:1.0 try docker-files/Dockerfile.so-base-image ${docker.image.prefix}/so-admin-cockpit try docker-files/Dockerfile.so-app ${project.version}-${maven.build.timestamp} ${project.docker.latesttag.version} org.onap.so.so-admin-cockpit.monitoring.workflow:so-admin-cockpit-monitoring-workflow-service app.jar clean-images pre-clean remove true generate-images generate-sources build push-images ${docker.push.phase} build push org.apache.maven.plugins maven-deploy-plugin 2.8 true org.onap.so.so-admin-cockpit.monitoring.workflow so-admin-cockpit-monitoring-workflow-service ${project.version}