org.onap.ccsdk.parent odlparent-lite 1.2.0-SNAPSHOT 4.0.0 pom org.onap.sdnc.oam installation-admportal 1.5.0-SNAPSHOT sdnc-oam :: installation :: ${project.artifactId} Creates admportal Docker container onap/admportal-sdnc-image ${project.version} 0.4-STAGING-latest 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']; 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 generate-sources build push-images deploy build push maven-resources-plugin 2.6 copy-dockerfile copy-resources validate ${basedir}/target/docker-stage src/main/docker Dockerfile true copy-properties copy-resources validate ${basedir}/target/docker-stage/opt/onap/sdnc/data/properties ../src/main/properties *.properties *.properties.sdnctldb01 false exec-maven-plugin org.codehaus.mojo 1.5.0 Unzip admportal generate-sources exec /usr/bin/unzip -d ${basedir}/target/docker-stage/opt/onap/sdnc ../../admportal/target/*.zip Copy admportal config generate-sources exec /bin/cp ../../admportal/config/admportal.json ${basedir}/target/docker-stage/opt/onap/sdnc/data/properties Copy admportal config1 generate-sources exec /bin/cp ../../admportal/config/admportal.log4js.json ${basedir}/target/docker-stage/opt/onap/sdnc/data/properties change shell permissions process-sources exec /usr/bin/find ${basedir}/target/docker-stage/opt/onap/sdnc -name *.sh -exec chmod +x {} ; openECOMP