4.0.0
org.onap.music.mdbc
mdbc-packages
0.0.1-SNAPSHOT
pom
mdbc-docker
mdbc-docker
MDBC Docker Images
UTF-8
UTF-8
${project.version}
false
false
false
nexus3.onap.org:10001
nexus3.onap.org:10003
${project.artifactId}-${project.version}
org.codehaus.groovy.maven
gmaven-plugin
1.0
validate
execute
println 'Project version: ' + project.properties['mdbc.project.version'];
def versionArray;
if ( project.properties['mdbc.project.version'] != null ) {
versionArray = project.properties['mdbc.project.version'].split('-');
}
if ( project.properties['mdbc.project.version'].endsWith("-SNAPSHOT") ) {
project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest";
} else {
project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest";
}
println 'New tag for docker: ' + project.properties['project.docker.latesttag.version'];
io.fabric8
docker-maven-plugin
0.19.1
true
1.23
${docker.pull.registry}
${docker.push.registry}
onap/music/mdbc-server
try
docker-files
Dockerfile.mdbc-server
${project.version}
${project.version}-${maven.build.timestamp}
${project.docker.latesttag.version}
org.onap.music.mdbc:mdbc-server:jar:jar-with-dependencies
mdbc-server.jar
onap/music/mdbc-cassandra
try
docker-files
Dockerfile.mdbc-cassandra
${project.version}
${project.version}-${maven.build.timestamp}
${project.docker.latesttag.version}
clean-images
pre-clean
remove
true
generate-images
generate-sources
build
push-images
deploy
build
push
onap/music/mdbc-server,onap/music/mdbc-cassandra
org.apache.maven.plugins
maven-deploy-plugin
2.8
true
org.onap.music.mdbc
mdbc-server
jar-with-dependencies
${project.version}