org.onap.ccsdk.parent odlparent-lite 1.2.1-SNAPSHOT 4.0.0 pom org.onap.ccsdk.distribution ansible-server 0.4.1-SNAPSHOT ccsdk :: distribution :: ${project.artifactId} Creates ansible-server Docker container onap/ccsdk-ansible-server-image ${project.version} ${project.version} ${https_proxy} yyyyMMdd'T'HHmmss'Z' true org.codehaus.groovy.maven gmaven-plugin 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']; maven-resources-plugin 2.6 copy-dockerfile copy-resources validate ${basedir}/target/docker-stage src/main **/* false exec-maven-plugin org.codehaus.mojo 1.5.0 change python permissions process-sources exec /usr/bin/find ${basedir}/target/docker-stage/ansible-server -name *.py -exec chmod +x {} ; docker io.fabric8 docker-maven-plugin 0.16.5 false ${image.name} try ${basedir}/target/docker-stage ${basedir}/target/docker-stage/Dockerfile ${project.version} ${project.version}-STAGING-${maven.build.timestamp} ${project.docker.latesttag.version} generate-images package build push-images deploy build push ONAP