4.0.0 org.onap.oparent oparent 1.2.1 org.onap.dmaap.kafka kafka11aaf 0.0.4-SNAPSHOT dmaap-kafka11aaf Apache License Version 2.0 Sunil Unnava ATT www.att.com org.apache.maven.plugins maven-surefire-plugin 2.12.4 org.codehaus.mojo cobertura-maven-plugin 2.7 html xml org.apache.maven.plugins maven-site-plugin 3.6 org.apache.maven.wagon wagon-webdav-jackrabbit 2.10 org.apache.maven.plugins maven-source-plugin 3.0.0 attach-sources jar-no-fork org.apache.maven.plugins maven-release-plugin 2.5.3 true org.apache.maven.scm maven-scm-provider-gitexe 1.9.4 org.sonatype.plugins nexus-staging-maven-plugin false injected-nexus-deploy none maven-deploy-plugin 2.8 default-deploy none maven-dependency-plugin copy package copy target UTF-8 org.onap.dmaap.messagerouter.mirroragent dmaapMMAgent 1.1.1-SNAPSHOT dmaapMMAgent.jar org.apache.maven.plugins maven-enforcer-plugin enforce-no-snapshots enforce No Snapshots Allowed! org.onap.dmaap.messagerouter.mirroragent:dmaapMMAgent true com.spotify docker-maven-plugin 1.0.0 onap/dmaap/kafka01101 src/main/docker docker-hub ${dockertag1} ${dockertag2} / ${project.build.directory} **/** / ${project.build.directory} dmaapMMAgent.jar build-image install build ${skip.docker.build} tag-image-project-version install tag onap/dmaap/kafka01101 ${docker.push.registry}/onap/dmaap/kafka01101:${dockertag2} ${skip.docker.push} tag-image-latest install tag onap/dmaap/kafka01101 ${docker.push.registry}/onap/dmaap/kafka01101:${dockertag1} ${skip.docker.push} push-image deploy push ${docker.push.registry}/onap/dmaap/kafka01101:${dockertag2} ${skip.docker.push} push-image-latest deploy push ${docker.push.registry}/onap/dmaap/kafka01101:${dockertag1} ${skip.docker.push} org.apache.maven.plugins maven-assembly-plugin 2.4.1 jar-with-dependencies kafka11aaf make-assembly package single UTF-8 ${maven.build.timestamp} yyyyMMdd'T'HHmmss'Z' /content/sites/site/org/onap/dmaap/kafka0111/${project.artifactId}/${project.version} true true https://nexus.onap.org nexus3.onap.org:10003 https://nexus.onap.org ecomp-site dav:${nexusproxy}${sitePath} org.onap.aaf.authz aaf-cadi-aaf 2.1.2 org.slf4j slf4j-api 1.7.2 org.slf4j slf4j-simple 1.7.2 runtime org.apache.kafka kafka_2.11 0.11.0.3 org.powermock powermock-api-mockito 1.6.4 test org.powermock powermock-module-junit4 1.6.4 test org.powermock powermock-module-junit4-rule 1.6.4 test org.mockito mockito-core 1.10.19 test docker false false false 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']; } else { project.properties['dockertag1']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"; project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; } println 'docker tag 1: ' + project.properties['dockertag1']; println 'docker tag 2: ' + project.properties['dockertag2'];