org.onap.appc.deployment
appc-docker-project
1.3.0-SNAPSHOT
4.0.0
pom
org.onap.appc.deployment
installation-cdt
1.3.0-SNAPSHOT
Installation - CDT Docker
Creates APPC CDT Docker container
onap/appc-cdt-image
1.3.0
1.3.0-SNAPSHOT
1.0.0
yyyyMMdd'T'HHmmss'Z'
maven-resources-plugin
2.6
copy-dockerfile
copy-resources
validate
${basedir}/target/docker-stage
src/main/docker
Dockerfile
true
exec-maven-plugin
org.codehaus.mojo
1.5.0
Get features
generate-sources
exec
bash
${appc.version}
${project.version}
${project.version}
${basedir}/src/main/scripts/installZips.sh
${basedir}/target/docker-stage
docker
org.codehaus.groovy.maven
gmaven-plugin
validate
execute
${project.version}
${maven.build.timestamp}
println project.properties['ver'];
def versionArray;
if ( project.properties['ver'] != null ) {
versionArray = project.properties['ver'].split('\\.');
}
if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
project.properties['dockertag1']=project.properties['ver'] + "-latest";
project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
project.properties['appc.version']=project.properties['appc.snapshot.version'];
} else {
project.properties['dockertag1']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
project.properties['appc.version']=project.properties['appc.release.version'];
}
println 'docker tag 1: ' + project.properties['dockertag1'];
println 'docker tag 2: ' + project.properties['dockertag2'];
io.fabric8
docker-maven-plugin
0.16.5
false
${image.name}
try
${basedir}/target/docker-stage
${basedir}/target/docker-stage/Dockerfile
${dockertag1}
${dockertag2}
generate-images
package
build
push-images
deploy
build
push
maven-resources-plugin
2.6
copy-dockerfile
copy-resources
validate
${basedir}/target/docker-stage
src/main/docker
Dockerfile
true
exec-maven-plugin
org.codehaus.mojo
1.5.0
Get features
generate-sources
exec
bash
${appc.version}
${project.version}
${project.version}
${basedir}/src/main/scripts/installZips.sh
${basedir}/target/docker-stage
${basedir}/target/docker-stage
ONAP