org.onap.holmes.engine-management holmes-engine-parent 1.2.0-SNAPSHOT holmes-engine-d-standalone 4.0.0 holmes-engine/holmes-engine-d-standalone pom ${project.version} yyyyMMdd'T'HHmmss'Z' ${maven.build.timestamp} maven-resources-plugin copy-resources-${linux64id} process-resources copy-resources ${linux64outputdir} src/main/assembly/ false **/* **/*.bat ../engine-d/src/main/resources false true copy-resources-${win64id} process-resources copy-resources ${win64outputdir} src/main/assembly/ false **/* **/*.sh ../engine-d/src/main/resources false true copy-dockerfile process-resources copy-resources target/version src/main/assembly/ false Dockerfile true org.apache.maven.plugins maven-dependency-plugin copy-jar-${linux64id} copy prepare-package org.onap.holmes.engine-management holmes-engine-d jar true ${linux64outputdir} holmes-engine-d.jar copy-jar-${win64id} copy prepare-package org.onap.holmes.engine-management holmes-engine-d jar true ${win64outputdir} holmes-engine-d.jar org.apache.maven.plugins maven-assembly-plugin linux64 linux64-assembly.xml true target/version package attached win64 win64-assembly.xml true target/version package attached org.codehaus.groovy.maven gmaven-plugin validate execute println project.properties['holmes.engine.project.version']; def versionArray; if ( project.properties['holmes.engine.project.version'] != null ) { versionArray = project.properties['holmes.engine.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 false onap/holmes/engine-management try ${basedir}/target/version/ ${basedir}/target/version/Dockerfile ${project.version} ${project.version}-STAGING-${maven.build.timestamp} ${project.docker.latesttag.version} generate-images package build push-images deploy build push org.onap.holmes.engine-management holmes-engine-d ${project.version}