4.0.0 org.onap.policy.xacml-pdp packages 2.1.3-SNAPSHOT pom policy-xacmlpdp-docker ${project.artifactId} Creates Policy Xacml PDP docker images UTF-8 UTF-8 ${project.version} false false false nexus3.onap.org:10001 nexus3.onap.org:10003 yyyyMMdd'T'HHmm ${project.artifactId}-${project.version} org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute println 'Project version: ' + project.properties['pdpx.project.version']; if (project.properties['pdpx.project.version'] != null) { def versionArray = project.properties['pdpx.project.version'].split('-') def minMaxVersionArray = versionArray[0].tokenize('.') if (project.properties['pdpx.project.version'].endsWith("-SNAPSHOT")) { project.properties['project.docker.latest.minmax.tag.version'] = minMaxVersionArray[0] + "." + minMaxVersionArray[1] + "-SNAPSHOT-latest" } else { project.properties['project.docker.latest.minmax.tag.version'] = minMaxVersionArray[0] + "." + minMaxVersionArray[1] + "-STAGING-latest" } println 'New tag for docker: ' + project.properties['project.docker.latest.minmax.tag.version'] } io.fabric8 docker-maven-plugin 0.28.0 true 1.23 ${docker.pull.registry} ${docker.push.registry} onap/policy-xacml-pdp try Dockerfile ${project.version} ${project.version}-${maven.build.timestamp} ${project.docker.latest.minmax.tag.version} org.onap.policy.xacml-pdp:policy-xacmlpdp-tarball /lib policy-xacmlpdp.tar.gz clean-images pre-clean remove true generate-images generate-sources build push-images deploy build push onap/policy-xacml-pdp org.apache.maven.plugins maven-deploy-plugin true org.onap.policy.xacml-pdp policy-xacmlpdp-tarball ${project.version} tarball tar.gz