X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-node%2Fpom.xml;h=3e75e88ceeaa54bd606c861a329ecc656555015b;hb=efad46124485f1572765fad05284d8a070fb9277;hp=d8c2be31b2a0c5596b0eb3f518934a09a86e8e7a;hpb=ee6b47caf5bff344baf3a0616ef3e32c93ba9da3;p=dmaap%2Fdatarouter.git diff --git a/datarouter-node/pom.xml b/datarouter-node/pom.xml old mode 100644 new mode 100755 index d8c2be31..3e75e88c --- a/datarouter-node/pom.xml +++ b/datarouter-node/pom.xml @@ -1,457 +1,608 @@ - - - 4.0.0 - - org.onap.dmaap.datarouter - parent - 1.0.0-SNAPSHOT - ../pom.xml - - - - datarouter-node - jar - datarouter-node - https://github.com/att/DMAAP_DATAROUTER - - - - - UTF-8 - 1.8 - 1.8 - ${basedir}/target/ - https://nexus.onap.org - /content/repositories/snapshots/ - /content/repositories/releases/ - /content/repositories/staging/ - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - - - - junit - junit - 3.8.1 - test - - - org.json - json - 20160810 - - - - javax.mail - javax.mail-api - 1.5.1 - - - com.att.eelf - eelf-core - 0.0.1 - - - javax.servlet - servlet-api - 2.5 - - - - org.eclipse.jetty - jetty-server - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-continuation - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-util - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-deploy - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-servlet - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-servlets - 7.6.14.v20131031 - - - org.eclipse.jetty - jetty-http - 7.6.14.v20131031 - - - - org.eclipse.jetty - jetty-security - 7.6.14.v20131031 - - - - org.eclipse.jetty - jetty-websocket - 7.6.14.v20131031 - - - - org.eclipse.jetty - jetty-io - 7.6.14.v20131031 - - - - 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.2.2 - - - - commons-codec - commons-codec - 1.6 - - - - org.mozilla - rhino - 1.7R3 - - - org.apache.james - apache-mime4j-core - 0.7 - - - org.apache.httpcomponents - httpclient - 4.2.3 - - - org.sonatype.http-testing-harness - junit-runner - 0.11 - - - - - log4j - log4j - 1.2.17 - compile - - - - - datarouter-node - - - src/main/resources - true - - **/*.properties - - - - src/main/resources - true - - **/EelfMessages.properties - - - - src/main/resources - true - - **/log4j.properties - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - org.onap.datarouter.node.NodeMain - - - - - 1.8 - 1.8 - - 3.6.0 - - - maven-assembly-plugin - 2.4 - - - jar-with-dependencies - - ${basedir}/target/opt/app/datartr/lib - - - - true - org.onap.datarouter.node.NodeMain - - - - - - - make-assembly - package - - single - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package - - copy-resources - - - ${dockerLocation} - true - - - ${basedir}/src/main/resources/docker - true - - **/* - - - - - - - copy-resources - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr/etc - - - ${basedir}/src/main/resources - - misc/** - **/** - - - - - - - copy-resources-1 - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr/self_signed - - - ${basedir}/self_signed - - misc/** - **/** - - - - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - onap/dmaap/datarouter-node - ${dockerLocation} - docker-hub - https://${docker.registry} - - ${project.version} - latest - - true - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.10 - - - copy-dependencies - package - - copy-dependencies - - - ${project.build.directory}/opt/app/datartr/lib - 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 - - - - - - - - - ecomp-releases - AAF Release Repository - ${nexusproxy}${releaseNexusPath} - - - ecomp-snapshots - AAF Snapshot Repository - ${nexusproxy}${snapshotNexusPath} - - - ecomp-site - dav:${nexusproxy}${sitePath} - - - - - onap-plugin-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - - - - central - Maven 2 repository 2 - http://repo2.maven.org/maven2/ - - - onap-jar-snapshots - https://nexus.onap.org/content/repositories/snapshots - - - spring-repo - Spring repo - https://artifacts.alfresco.com/nexus/content/repositories/public/ - - - repository.jboss.org-public - JBoss.org Maven repository - https://repository.jboss.org/nexus/content/groups/public - - - - - - + + + 4.0.0 + + org.onap.dmaap.datarouter + parent + 2.0.2-SNAPSHOT + ../pom.xml + + datarouter-node + jar + datarouter-node + https://github.com/att/DMAAP_DATAROUTER + + 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 + + + + com.google.guava + guava + ${google.guava.version} + + + 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} + + + 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} + + + 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 + + + + + log4j + log4j + 1.2.17 + compile + + + 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 + + + + + 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.node.image.name} + + try + ${basedir}/target/docker-stage + Dockerfile + + ${dockertag1} + ${dockertag2} + + + + + + + + generate-images + install + + build + + + + push-images + deploy + + push + + + + + + + + + + + datarouter-node + + + src/main/resources + true + + **/*.properties + + + + src/main/resources + true + + **/EelfMessages.properties + + + + src/main/resources + true + + **/log4j.properties + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + 3.6.0 + + + maven-assembly-plugin + 2.4 + + + jar-with-dependencies + + ${basedir}/target/docker-stage/opt/app/datartr/lib + + + true + org.onap.dmaap.datarouter.node.NodeMain + + + + + + make-assembly + + package + + + single + + + + + + org.apache.maven.plugins + 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/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 + + + ${project.build.directory}/docker-stage/opt/app/datartr/lib + 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 + + + + + + +