org.onap.ccsdk.parent odlparent-lite 1.1.2 4.0.0 pom org.onap.sdnc.oam installation-ansible-server 1.4.2-SNAPSHOT sdnc-oam :: installation :: ${project.artifactId} Creates ansible-server Docker container onap/sdnc-ansible-server-image ${project.version} 0.3-STAGING-latest ${https_proxy} yyyyMMdd'T'HHmmss'Z' org.codehaus.groovy.maven gmaven-plugin validate execute println project.properties['sdnc.project.version']; def versionArray; if ( project.properties['sdnc.project.version'] != null ) { versionArray = project.properties['sdnc.project.version'].split('\\.'); } if (project.properties['sdnc.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/docker Dockerfile true copy-yml copy-resources validate ${basedir}/target/docker-stage/opt/onap/ccsdk/Playbooks src/main/yml * false 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