org.onap.ccsdk.parent
odlparent-lite
1.0.1-SNAPSHOT
4.0.0
pom
installation-ueb-listener
1.3.1-SNAPSHOT
sdnc-oam :: installation :: ${project.artifactId}
Creates ueb-listener Docker container
onap/sdnc-ueb-listener-image
${project.version}
${https_proxy}
org.codehaus.groovy.maven
gmaven-plugin
validate
execute
println
project.properties['sdnc.project.version'];
def versionArray;
if (
project.properties['sdnc.project.version']
!= null ) {
versionArray = project.properties['sdnc.project.version'].split('\\.');
}
if
(project.properties['sdnc.project.version'].endsWith("-SNAPSHOT"))
{
project.properties['project.docker.latesttag.version']=versionArray[0]
+ '.' + versionArray[1] +
"-STAGING-latest";
} else {
project.properties['project.docker.latesttag.version']=versionArray[0]
+ '.' + versionArray[1] +
"-STAGING-latest";
}
println 'New Tag for
docker:' +
project.properties['project.docker.latesttag.version'];
maven-resources-plugin
2.6
copy-dockerfile
copy-resources
validate
${basedir}/target/docker-stage
src/main/docker
Dockerfile
true
copy-scripts
copy-resources
validate
${basedir}/target/docker-stage/opt/onap/sdnc/ueb-listener/bin
src/main/scripts
*.sh
false
copy-properties
copy-resources
validate
${basedir}/target/docker-stage/opt/onap/sdnc/data/properties
src/main/properties
*
false
org.apache.maven.plugins
maven-dependency-plugin
unpack
unpack
initialize
org.onap.ccsdk.sli.northbound
ueb-listener
zip
${ccsdk.sli.northbound.version}
${basedir}/target/docker-stage/opt/onap/sdnc/ueb-listener
bin/**,**/*-javadoc.jar,**/*-sources.jar
true
true
exec-maven-plugin
org.codehaus.mojo
1.5.0
change shell permissions
process-sources
exec
/usr/bin/find
${basedir}/target/docker-stage/opt/onap/sdnc
-name
*.sh
-exec
chmod
+x
{}
;
docker
io.fabric8
docker-maven-plugin
0.16.5
false
${image.name}
try
${basedir}/target/docker-stage
${basedir}/target/docker-stage/Dockerfile
${project.version}
${project.version}-STAGING-${maven.build.timestamp}
${project.docker.latesttag.version}
generate-images
package
build
push-images
deploy
build
push
ONAP