org.onap.ccsdk.distribution distribution-root 0.1.0-SNAPSHOT 4.0.0 pom distribution-odlsli 0.1.0-SNAPSHOT Distribution - odlsli Creates SDN Controller Docker container onap/ccsdk-odlsli-image ${project.version} 0.1.2-SNAPSHOT ${project.version} ${project.version} ${project.version} 5.1.39 ${https_proxy} org.codehaus.groovy.maven gmaven-plugin validate execute println project.properties['ccsdk.project.version']; def versionArray; if ( project.properties['ccsdk.project.version'] != null ) { versionArray = project.properties['ccsdk.project.version'].split('\\.'); } if (project.properties['ccsdk.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/bin src/main/scripts *.sh false copy-tarballs copy-resources validate ${basedir}/target/docker-stage src/main/resources idmlight.db.mv.db false copy-config copy-resources validate ${basedir}/target/docker-stage src/main/resources org.ops4j.pax.logging.cfg false copy-data copy-resources validate ${basedir}/target/docker-stage/opt/onap/sdnc/data src/main/resources *.dump false copy-properties copy-resources validate ${basedir}/target/docker-stage/opt/onap/sdnc/data/properties src/main/properties *.properties false copy-keystores copy-resources validate ${basedir}/target/docker-stage/opt/onap/sdnc/data/stores src/main/stores *.jks false exec-maven-plugin org.codehaus.mojo 1.5.0 Get features generate-sources exec /bin/bash ${ccsdk.core.version} ${ccsdk.adaptors.version} ${ccsdk.northbound.version} ${ccsdk.plugins.version} ${project.version} ${basedir}/src/main/scripts/installZips.sh ${basedir}/target/docker-stage/opt/onap/sdnc 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 openECOMP