4.0.0 org.onap.so.so-etsi-nfvo packages 1.7.1-SNAPSHOT org.onap.so.so-etsi-nfvo.packages docker pom SO ETSI NFVO Docker Packaging ${project.version} false false false onap/so deploy ${project.artifactId}-${project.version} org.codehaus.groovy.maven gmaven-plugin 1.0 validate execute println 'Project version: ' + project.properties['etsi-nfvo-project-version']; def versionArray; if ( project.properties['etsi-nfvo-project-version'] != null ) { versionArray = project.properties['etsi-nfvo-project-version'].split('-'); } if ( project.properties['etsi-nfvo-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 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-etsi-nfvo-ns-lcm try docker-files/Dockerfile.so-app ${project.version} ${project.version}-${maven.build.timestamp} ${project.docker.latesttag.version} org.onap.so.so-etsi-nfvo.ns.lcm:so-etsi-nfvo-ns-lcm-application app.jar clean-images pre-clean remove true generate-images generate-sources build push-images ${docker.push.phase} build push ${docker.image.prefix}/so-etsi-nfvo-ns-lcm org.apache.maven.plugins maven-deploy-plugin true org.onap.so.so-etsi-nfvo.ns.lcm so-etsi-nfvo-ns-lcm-application ${project.version}