org.onap.holmes.rule-management holmes-rulemgt-parent 1.2.6-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 copy-nginx-conf-file process-resources copy-resources target/version src/main/assembly/ false nginx-*.conf **/holmes-frontend*.* **/*.pem true org.apache.maven.plugins maven-dependency-plugin copy-artifacts-${linux64id} copy prepare-package org.onap.holmes.rule-management holmes-rulemgt jar true ${linux64outputdir} holmes-rulemgt.jar org.onap.holmes.rule-management holmes-rulemgt-frontend tar.gz true target/version holmes-rulemgt-frontend-${project.version}.tar.gz copy-artifacts-${win64id} copy prepare-package org.onap.holmes.rule-management holmes-rulemgt jar true ${win64outputdir} holmes-rulemgt.jar org.onap.holmes.rule-management holmes-rulemgt-frontend tar.gz true target/version holmes-rulemgt-frontend-${project.version}.tar.gz 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"; project.properties['project.docker.latesttag.version.with.timestamp'] = versionArray[0] + "-STAGING-${build.number}"; 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}-${build.number} ${project.docker.latesttag.version} ${project.docker.latesttag.version.with.timestamp} generate-images package build push-images deploy build push org.onap.holmes.rule-management holmes-rulemgt ${project.version} org.onap.holmes.rule-management holmes-rulemgt-frontend ${project.version} tar.gz