4.0.0 org.onap.dmaap.datarouter parent 2.0.2-SNAPSHOT ../pom.xml datarouter-subscriber jar datarouter-subscriber java false true /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} ${basedir}/target/${artifactId} onap/dmaap/datarouter-subscriber ${maven.build.timestamp} yyyyMMdd'T'HHmmss'Z' com.google.guava guava ${google.guava.version} commons-codec commons-codec ${commons-codec.version} org.eclipse.jetty jetty-server ${jetty.version} org.eclipse.jetty jetty-continuation ${jetty.version} org.eclipse.jetty jetty-util ${jetty.version} org.eclipse.jetty jetty-deploy ${jetty.version} org.eclipse.jetty jetty-servlet ${jetty.version} org.eclipse.jetty jetty-servlets ${jetty.version} org.eclipse.jetty jetty-http ${jetty.version} org.eclipse.jetty jetty-security ${jetty.version} org.eclipse.jetty jetty-websocket ${jetty.websocket.version} org.eclipse.jetty jetty-io ${jetty.version} com.thoughtworks.xstream xstream ${thoughtworks.version} ch.qos.logback logback-classic ${qos.logback.version} compile ch.qos.logback logback-core ${qos.logback.version} compile org.apache.httpcomponents httpclient 4.5.3 org.sonatype.http-testing-harness junit-runner 0.11 org.databene contiperf junit junit 4.10 test log4j log4j 1.2.17 compile org.apache.commons commons-io 1.3.2 docker false false true org.codehaus.groovy.maven gmaven-plugin validate execute ${project.version} ${maven.build.timestamp} println 'ver: ' + project.properties['ver']; 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']=project.properties['ver'] + "-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']; io.fabric8 docker-maven-plugin 0.28.0 ${docker.verbose} ${docker.apiVersion} ${docker.pull.registry} ${docker.push.registry} ${datarouter.prov.image.name} try ${basedir}/target/docker-stage Dockerfile ${dockertag1} ${dockertag2} generate-images install build push-images deploy push datarouter-subscriber src/main/resources true **/*.properties src/main/resources true **/subscriber.properties src/main/resources true **/log4j.properties src/test/resources true **/log4j.properties maven-assembly-plugin 2.4 jar-with-dependencies ${basedir}/target/docker-stage/opt/app/subscriber/lib true org.onap.dmaap.datarouter.subscriber.SubscriberMain make-assembly package single org.apache.maven.plugins maven-compiler-plugin 1.8 1.8 3.6.0 maven-resources-plugin 2.7 copy-docker-file validate copy-resources ${basedir}/target/docker-stage true ${basedir}/src/main/resources/docker true **/* copy-startup-script validate copy-resources ${basedir}/target/docker-stage/opt true ${basedir}/src/main/resources/docker true startup.sh copy-resources-2 validate copy-resources ${basedir}/target/docker-stage/opt/app/subscriber/etc ${basedir}/src/main/resources *.properties org.apache.maven.plugins maven-dependency-plugin 2.10 copy-dependencies package copy-dependencies ${project.build.directory}/opt/app/subscriber/lib false false true org.apache.maven.plugins maven-source-plugin 2.2.1 attach-sources jar-no-fork org.jacoco jacoco-maven-plugin ${jacoco.version} **/gen/** **/generated-sources/** **/yang-gen/** **/pax/** pre-unit-test prepare-agent ${project.build.directory}/code-coverage/jacoco-ut.exec surefireArgLine post-unit-test test report ${project.build.directory}/code-coverage/jacoco-ut.exec ${project.reporting.outputDirectory}/jacoco-ut pre-integration-test pre-integration-test prepare-agent ${project.build.directory}/code-coverage/jacoco-it.exec failsafeArgLine post-integration-test post-integration-test report ${project.build.directory}/code-coverage/jacoco-it.exec ${project.reporting.outputDirectory}/jacoco-it