org.onap.aai.esr-gui aai-esr-gui 1.2.1-SNAPSHOT 4.0.0 distribution pom esr-gui/distribution esr-gui 1.1.2 1.7.6 linux64 win64 target/assembly/${linux64id} target/assembly/${win64id} target/version ${project.version} yyyyMMdd'T'HHmmss'Z' ${maven.build.timestamp} esr-gui org.apache.maven.plugins maven-dependency-plugin unpack-tomcat-to-temporary-dir generate-resources unpack org.apache.tomcat tomcat zip target/tomcat maven-resources-plugin copy-resources-portal-linux process-resources copy-resources ${linux64outputdir}/tomcat/webapps/esr-gui/ ../integration/target/esr-gui/ false **/* true copy-resources-${linux64id} process-resources copy-resources ${linux64outputdir} src/main/assembly/ false **/* **/*.bat true copy-tomcat-resources-${linux64id} process-resources copy-resources ${linux64outputdir}/tomcat ${basedir}/target/tomcat/apache-tomcat-${tomcat.version} **/* **/*.bat copy-resources-portal-win process-resources copy-resources ${win64outputdir}/tomcat/webapps/esr-gui/ ../integration/target/esr-gui/ false **/* true copy-resources-${win64id} process-resources copy-resources ${win64outputdir} src/main/assembly/ false **/* **/*.sh true copy-tomcat-resources-${win64id} process-resources copy-resources ${win64outputdir}/tomcat ${basedir}/target/tomcat/apache-tomcat-${tomcat.version} **/* **/*.sh copy-dockerfile process-resources copy-resources ${version.output} src/main/assembly/ false Dockerfile true org.apache.maven.plugins maven-antrun-plugin distribution package run org.codehaus.groovy.maven gmaven-plugin validate execute println project.properties['aai.esr.gui.project.version']; def versionArray; if ( project.properties['aai.esr.gui.project.version'] != null ) { versionArray = project.properties['aai.esr.gui.project.version'].split('-'); } project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; docker io.fabric8 docker-maven-plugin 0.16.5 com.github.jnr jnr-unixsocket 0.13 false onap/aai/esr-gui try ${basedir}/${version.output} ${basedir}/target/version/Dockerfile ${project.version} ${project.version}-${maven.build.timestamp} ${project.docker.latesttag.version} generate-images package build push-images deploy build push