From 1c11ab87dd4954903734c8a95a17a56aefea4758 Mon Sep 17 00:00:00 2001 From: efiacor Date: Tue, 9 Apr 2019 13:52:17 +0000 Subject: pom updates for version settings Refactored some of the fabric8 also. Change-Id: Ib5a62cab9d917728d42f54a1bbe42b937d48793e Issue-ID: DMAAP-854 Signed-off-by: efiacor --- datarouter-node/pom.xml | 328 ++++++++---------------------------------------- 1 file changed, 50 insertions(+), 278 deletions(-) (limited to 'datarouter-node') diff --git a/datarouter-node/pom.xml b/datarouter-node/pom.xml index cab4ce1e..06aa3fcf 100755 --- a/datarouter-node/pom.xml +++ b/datarouter-node/pom.xml @@ -26,255 +26,125 @@ org.onap.dmaap.datarouter parent - 2.1.0-SNAPSHOT + ${revision} ../pom.xml datarouter-node jar - datarouter-node - https://github.com/att/DMAAP_DATAROUTER + https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/index.html - false - true /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - ${basedir}/target/${artifactId} - - ${maven.build.timestamp} - yyyyMMdd'T'HHmmss'Z' - - onap/dmaap/datarouter-node + ${basedir}/target/${project.artifactId} + ${docker.image.root}${project.artifactId} + java + false - com.google.guava - guava - ${google.guava.version} + org.hamcrest + hamcrest-library + + + org.slf4j + slf4j-api commons-codec commons-codec - ${commons-codec.version} junit junit - 4.10 - test org.json json - 20160810 - - - javax.mail - javax.mail-api - ${javax.mail-api.version} com.att.eelf eelf-core - 0.0.1 - - - com.thoughtworks.xstream - xstream - ${thoughtworks.version} - - - org.codehaus.janino - janino - 3.0.7 ch.qos.logback logback-classic - ${qos.logback.version} - compile ch.qos.logback logback-core - ${qos.logback.version} - compile - org.eclipse.jetty - jetty-server - ${jetty.version} + com.intellij + annotations - 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.eclipse.jetty - jetty-io - ${jetty.version} - - - org.apache.commons - commons-io - 1.3.2 - - - commons-lang - commons-lang - 2.4 - - - commons-io - commons-io - 2.1 - compile - - - org.apache.httpcomponents - httpcore - 4.4 - - - org.mozilla - rhino - 1.7R3 - - - org.apache.james - apache-mime4j-core - 0.7 - - - org.apache.httpcomponents - httpclient - 4.5.3 + org.onap.aaf.authz + aaf-cadi-core org.sonatype.http-testing-harness junit-runner - 0.11 - - - org.databene - contiperf - - org.mockito mockito-core - 1.10.19 - test org.powermock powermock-module-junit4 - 1.6.4 - test org.powermock powermock-api-mockito - 1.6.4 - test - org.apache.commons - commons-lang3 - 3.0 + org.powermock + powermock-api-support - org.onap.aaf.authz - aaf-cadi-aaf - ${aaf-cadi-aaf.version} + org.powermock + powermock-core + + + org.apache.commons + commons-lang3 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']; - - - - + org.codehaus.gmaven + gmaven-plugin io.fabric8 docker-maven-plugin - 0.28.0 - ${docker.verbose} - ${docker.apiVersion} - ${docker.pull.registry} - ${docker.push.registry} ${datarouter.node.image.name} @@ -290,28 +160,27 @@ - - - generate-images - install - - build - - - - push-images - deploy - - push - - - + + + generate-images + install + + build + + + + push-images + deploy + + push + + + - datarouter-node @@ -334,11 +203,6 @@ org.apache.maven.plugins maven-compiler-plugin - - 1.8 - 1.8 - - 3.6.0 maven-assembly-plugin @@ -474,19 +338,12 @@ org.apache.maven.plugins maven-dependency-plugin - 2.10 copy-dependencies package - - copy-dependencies - ${project.build.directory}/docker-stage/opt/app/datartr/lib - false - false - true @@ -494,111 +351,26 @@ org.apache.maven.plugins maven-javadoc-plugin - - false - - - - attach-javadocs - - jar - - - org.apache.maven.plugins maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - org.codehaus.mojo cobertura-maven-plugin - 2.7 - - - html - xml - - - org.sonatype.plugins nexus-staging-maven-plugin - 1.6.7 - true - - ${onap.nexus.url} - 176c31dfe190a - ecomp-staging - 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 - - - + + + org.codehaus.mojo + properties-maven-plugin -- cgit 1.2.3-korg