X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-subscriber%2Fpom.xml;h=28372f4ecf11a7b5a80c0cf52d89043393a1d911;hb=4c5b91b5ce0901bf3044709fb2a172c2ae7763fc;hp=a7a3151374397febb0d062463f273ebbecb416d7;hpb=aa988a2dd377cbd8e675b7f95636a4e4a3cef17a;p=dmaap%2Fdatarouter.git diff --git a/datarouter-subscriber/pom.xml b/datarouter-subscriber/pom.xml index a7a31513..28372f4e 100755 --- a/datarouter-subscriber/pom.xml +++ b/datarouter-subscriber/pom.xml @@ -3,6 +3,7 @@ * org.onap.dmaap * =========================================================================== * Copyright © 2017 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2018 Nokia. All rights reserved. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,93 +26,63 @@ org.onap.dmaap.datarouter parent - 1.0.1-SNAPSHOT + ${revision} ../pom.xml datarouter-subscriber jar - datarouter-subscriber + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + ${basedir}/target/${project.artifactId} + ${docker.image.root}${project.artifactId} + src/main/java/org/onap/dmaap/datarouter/subscriber/** java false - true - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - ${basedir}/target/${artifactId} - onap/dmaap/datarouter-subscriber - org.eclipse.jetty - jetty-server - ${jetty.version} + commons-codec + commons-codec - org.eclipse.jetty - jetty-continuation - ${jetty.version} + javax.servlet + javax.servlet-api org.eclipse.jetty - jetty-util - ${jetty.version} + jetty-server org.eclipse.jetty - jetty-deploy - ${jetty.version} + jetty-util 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.sonatype.http-testing-harness + junit-runner - org.eclipse.jetty - jetty-io - ${jetty.version} + org.powermock + powermock-module-junit4 - org.apache.httpcomponents - httpclient - 4.5.3 - - - org.sonatype.http-testing-harness - junit-runner - 0.11 - - - org.databene - contiperf - - + org.mockito + mockito-core junit junit - 4.10 - test + + + commons-io + commons-io log4j @@ -119,53 +90,54 @@ 1.2.17 compile - - org.apache.commons - commons-io - 1.3.2 - docker - false - false true - com.spotify + org.codehaus.gmaven + gmaven-plugin + + + io.fabric8 docker-maven-plugin - 1.0.0 - ${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name} - ${docker.location} - ${onap.nexus.dockerregistry.daily} - false - - ${project.version} - latest - - true - - - / - ${project.basedir} - - target/**/* - pom.xml - - - - - / - ${project.build.directory} - **/** - - + + + ${datarouter.sub.image.name} + + try + ${basedir}/target/docker-stage + Dockerfile + + ${dockertag1} + ${dockertag2} + + + + + + + generate-images + install + + build + + + + push-images + deploy + + push + + + @@ -181,27 +153,6 @@ **/*.properties - - src/main/resources - true - - **/subscriber.properties - - - - src/main/resources - true - - **/log4j.properties - - - - src/test/resources - true - - **/log4j.properties - - @@ -211,7 +162,7 @@ jar-with-dependencies - ${basedir}/target/opt/app/subscriber/lib + ${basedir}/target/docker-stage/opt/app/subscriber/lib true @@ -234,11 +185,6 @@ org.apache.maven.plugins maven-compiler-plugin - - 1.8 - 1.8 - - 3.6.0 maven-resources-plugin @@ -246,37 +192,39 @@ copy-docker-file - package + validate copy-resources - ${docker.location} + ${basedir}/target/docker-stage true ${basedir}/src/main/resources/docker true - **/* + Dockerfile - copy-resources-1 + copy-startup-script validate copy-resources - ${basedir}/target/opt/app/subscriber/lib + ${basedir}/target/docker-stage/opt + true - ${project.basedir}/src/main/resources + ${basedir}/src/main/resources/docker + true - **/*.jar + startup.sh @@ -289,7 +237,7 @@ copy-resources - ${basedir}/target/opt/app/subscriber/etc + ${basedir}/target/docker-stage/opt/app/subscriber/etc ${basedir}/src/main/resources @@ -302,96 +250,22 @@ - - 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/** + src/main/java/org/onap/dmaap/datarouter/subscriber/** - - - - 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 - - - + + + + org.codehaus.mojo + properties-maven-plugin