X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdatarouter.git;a=blobdiff_plain;f=datarouter-prov%2Fpom.xml;h=c6f6ff3e8010b315f9a797c5928ec33356603b4d;hp=d0f757bd576c2a86a46ea58210518dce86a87fb2;hb=1c11ab87dd4954903734c8a95a17a56aefea4758;hpb=22843ae3fa946fd8259f6bb2aa10a894a43e7e67 diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml index d0f757bd..c6f6ff3e 100755 --- a/datarouter-prov/pom.xml +++ b/datarouter-prov/pom.xml @@ -1,647 +1,440 @@ - - - 4.0.0 - - org.onap.dmaap.datarouter - parent - 2.1.0-SNAPSHOT - ../pom.xml - - datarouter-prov - jar - datarouter-prov - https://github.com/att/DMAAP_DATAROUTER - - java - false - true - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - ${basedir}/target/${artifactId} - onap/dmaap/datarouter-prov - - ${maven.build.timestamp} - yyyyMMdd'T'HHmmss'Z' - - true - 1.23 - - - - xml-apis - xml-apis - ${xml-apis.version} - - - org.dom4j - dom4j - ${dom4j.version} - - - commons-codec - commons-codec - ${commons-codec.version} - - - com.google.guava - guava - ${google.guava.version} - - - ch.qos.logback - logback-classic - ${qos.logback.version} - compile - - - ch.qos.logback - logback-core - ${qos.logback.version} - compile - - - com.thoughtworks.xstream - xstream - ${thoughtworks.version} - - - org.json - json - 20160810 - - - javax.mail - javax.mail-api - ${javax.mail-api.version} - - - com.att.eelf - eelf-core - 0.0.1 - - - 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} - - - 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.sonatype.http-testing-harness - junit-runner - 0.11 - - - org.databene - contiperf - - - - - junit - junit - 4.10 - test - - - 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.mariadb.jdbc - mariadb-java-client - 2.2.5 - - - org.eclipse.jetty.cdi - cdi-websocket - ${jetty.version} - - - com.h2database - h2 - 1.4.197 - - - org.hibernate - hibernate-entitymanager - 5.2.9.Final - - - dom4j - dom4j - - - - - org.onap.aaf.authz - aaf-cadi-aaf - ${aaf-cadi-aaf.version} - - - - - 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-prov - - - src/main/resources - true - - **/*.properties - - - - src/main/resources - true - - **/provserver.properties - - - - src/main/resources - true - - **/EelfMessages.properties - - - - - - maven-assembly-plugin - 2.4 - - - jar-with-dependencies - - ${basedir}/target/docker-stage/opt/app/datartr/lib - - - true - org.onap.dmaap.datarouter.provisioning.Main - - - - - - make-assembly - - package - - - single - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - 3.6.0 - - - - - maven-resources-plugin - 2.7 - - - copy-dockerfile - validate - - copy-resources - - - ${basedir}/target/docker-stage - true - - - ${basedir}/src/main/resources/docker - true - - Dockerfile - - - - - - - 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/datartr/etc - - - ${basedir}/src/main/resources - - misc/** - **/** - - - - - - - copy-resources-3 - validate - - copy-resources - - - ${basedir}/target/docker-stage/opt/app/datartr - - - ${basedir}/data - - misc/** - **/** - - - - - - - copy-resources-4 - validate - - copy-resources - - - ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs - - - ${basedir}/aaf_certs - - misc/** - **/** - - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.10 - - - copy-dependencies - package - - copy-dependencies - - - ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs - false - false - true - - - - - - 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 - - - - - - - + + + 4.0.0 + + org.onap.dmaap.datarouter + parent + ${revision} + ../pom.xml + + datarouter-prov + jar + https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/index.html + + /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/reports/** + java + false + + + + org.hamcrest + hamcrest-library + + + org.slf4j + slf4j-api + + + commons-codec + commons-codec + + + ch.qos.logback + logback-classic + + + ch.qos.logback + logback-core + + + org.json + json + + + com.intellij + annotations + + + javax.servlet + javax.servlet-api + + + javax.mail + javax.mail-api + + + com.att.eelf + eelf-core + + + org.onap.aaf.authz + aaf-cadi-core + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-continuation + + + org.eclipse.jetty + jetty-util + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-http + + + org.eclipse.jetty + jetty-io + + + commons-io + commons-io + + + org.apache.httpcomponents + httpcore + + + org.apache.httpcomponents + httpclient + + + org.sonatype.http-testing-harness + junit-runner + + + junit + junit + + + org.mockito + mockito-core + + + org.powermock + powermock-module-junit4 + + + org.powermock + powermock-api-mockito + + + org.powermock + powermock-api-support + + + org.powermock + powermock-core + + + org.apache.commons + commons-lang3 + + + org.mariadb.jdbc + mariadb-java-client + 2.2.5 + + + com.h2database + h2 + 1.4.197 + + + org.hibernate + hibernate-entitymanager + 5.2.9.Final + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.hibernate.javax.persistence + hibernate-jpa-2.1-api + 1.0.2.Final + + + + + docker + + true + + + + + org.codehaus.gmaven + gmaven-plugin + + + io.fabric8 + docker-maven-plugin + + + + ${datarouter.prov.image.name} + + try + ${basedir}/target/docker-stage + Dockerfile + + ${dockertag1} + ${dockertag2} + + + + + + + + generate-images + install + + build + + + + push-images + deploy + + push + + + + + + + + + + datarouter-prov + + + src/main/resources + true + + **/*.properties + + + + src/main/resources + true + + **/provserver.properties + + + + src/main/resources + true + + **/EelfMessages.properties + + + + + + maven-assembly-plugin + 2.4 + + + jar-with-dependencies + + ${basedir}/target/docker-stage/opt/app/datartr/lib + + + true + org.onap.dmaap.datarouter.provisioning.Main + + + + + + make-assembly + + package + + + single + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + maven-resources-plugin + 2.7 + + + copy-dockerfile + validate + + copy-resources + + + ${basedir}/target/docker-stage + true + + + ${basedir}/src/main/resources/docker + true + + Dockerfile + + + + + + + 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/datartr/etc + + + ${basedir}/src/main/resources + + misc/** + **/** + + + + + + + copy-resources-3 + validate + + copy-resources + + + ${basedir}/target/docker-stage/opt/app/datartr + + + ${basedir}/data + + misc/** + **/** + + + + + + + copy-resources-4 + validate + + copy-resources + + + ${basedir}/target/docker-stage/opt/app/datartr/aaf_certs + + + ${basedir}/aaf_certs + + misc/** + **/** + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + ${project.build.directory}/docker-stage/opt/app/datartr/lib + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + org.apache.maven.plugins + maven-source-plugin + + + org.codehaus.mojo + cobertura-maven-plugin + + + org.sonatype.plugins + nexus-staging-maven-plugin + + + org.jacoco + jacoco-maven-plugin + + + **/src/main/java/org/onap/dmaap/datarouter/reports/** + + + + + org.codehaus.mojo + properties-maven-plugin + + + +