org.onap.holmes.rule-management holmes-rulemgt-parent 1.1.0-SNAPSHOT holmes-rulemgt-standalone 4.0.0 holmes-rulemgt/holmes-rulemgt-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 Dockerfile ../rulemgt/src/main/resources false true copy-resources-${win64id} process-resources copy-resources ${win64outputdir} src/main/assembly/ false **/* **/*.sh Dockerfile ../rulemgt/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.rule-management holmes-rulemgt jar true ${linux64outputdir} holmes-rulemgt.jar copy-jar-${win64id} copy prepare-package org.onap.holmes.rule-management holmes-rulemgt jar true ${win64outputdir} holmes-rulemgt.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.rule.project.version']; def versionArray; if ( project.properties['holmes.rule.project.version'] != null ) { versionArray = project.properties['holmes.rule.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/rule-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.rule-management holmes-rulemgt ${project.version}