X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=datarouter-prov%2Fpom.xml;h=2c69cbd47d09113ea2fb4b4355138e27c8afc31d;hb=5a41037c1c6085febf8d5d9a41f055c9bca3f0d1;hp=3c0256443dcf8a1248850a865fa6b2f373f48751;hpb=82c721e43342d3254d5bfda3a1e78030857278b8;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml old mode 100644 new mode 100755 index 3c025644..2c69cbd4 --- a/datarouter-prov/pom.xml +++ b/datarouter-prov/pom.xml @@ -3,13 +3,14 @@ * 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. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,526 +21,588 @@ * ECOMP is a trademark and service mark of AT&T Intellectual Property. * --> - - 4.0.0 - - org.onap.dmaap.datarouter - parent - 1.0.0-SNAPSHOT - ../pom.xml - - - datarouter-prov - jar - datarouter-prov - https://github.com/att/DMAAP_DATAROUTER - - - BSD License - - - - - 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} - - - - - 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 - - - - 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 - - - junit - junit - 4.10 - test - + + 4.0.0 + + org.onap.dmaap.datarouter + parent + 1.0.3-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} - - 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 - - - - mysql - mysql-connector-java - 5.1.21 - - - org.eclipse.jetty.cdi - cdi-websocket - 9.3.11.v20160721 - - - - log4j - log4j - 1.2.17 - compile - - - - - datarouter-prov - - - src/main/resources - true - - **/*.properties - - - - src/main/resources - true - - **/proserver.properties - - - - src/main/resources - true - - **/EelfMessages.properties - - - - src/main/resources - true - - **/log4j.properties - - - - - - - - maven-assembly-plugin - 2.4 - - - jar-with-dependencies - - ${basedir}/target/opt/app/datartr/lib - - - - true - org.onap.datarouter.provisioning.Main - - - - - - - - make-assembly - package - - single - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - true - org.onap.datarouter.provisioning.Main - ${basedir}/target/opt/app/datartr/lib - - - - 1.8 - 1.8 - - 3.6.0 - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package - - copy-resources - - - ${dockerLocation} - true - - - ${basedir}/src/main/resources/docker - true - - **/* - - - - - - - - - com.spotify - docker-maven-plugin - 0.4.11 - - onap/dmaap/datarouter-prov - ${dockerLocation} - docker-hub - https://${docker.registry} - - ${project.version} - latest - - true - - - - - - - maven-resources-plugin - 2.7 - - - copy-resources-1 - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr/lib - + ${basedir}/target/${artifactId} + onap/dmaap/datarouter-prov + + + + xml-apis + xml-apis + ${xml-apis.version} + + + 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} + + + log4j + log4j + 1.2.17 + compile + + + com.h2database + h2 + 1.4.197 + + + org.hibernate + hibernate-entitymanager + 5.2.9.Final + + + + + docker + + false + false + true + + + + + com.spotify + docker-maven-plugin + 1.0.0 + + ${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name} + java:8 + ${onap.nexus.dockerregistry.daily} + false + + ${project.version} + latest + + true + ["/startup.sh", "start"] + + + /opt + ${project.build.directory}/opt + + + / + ${docker.location} + startup.sh + + + + chmod 0700 /startup.sh + + + 8080 + 8443 + + + + + + + + + datarouter-prov + - ${project.basedir}/src/main/resources - - **/*.jar - - - - - - - copy-resources-2 - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr/etc - + src/main/resources + true + + **/*.properties + + - ${basedir}/src/main/resources - - misc/** - **/** - - - - - - - copy-resources-3 - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr - + src/main/resources + true + + **/provserver.properties + + - ${basedir}/data - - misc/** - **/** - - - - - - - copy-resources-4 - validate - - copy-resources - - - ${basedir}/target/opt/app/datartr/self_signed - + src/main/resources + true + + **/EelfMessages.properties + + - ${basedir}/self_signed - - misc/** - **/** - - - - - - - - - - - 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 - - - + src/main/resources + true + + **/log4j.properties + + + + src/test/resources + true + + **/log4j.properties + + + + + + maven-assembly-plugin + 2.4 + + + jar-with-dependencies + + ${basedir}/target/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-docker-file + package + + copy-resources + + + ${docker.location} + true + + + ${basedir}/src/main/resources/docker + true + + **/* + + + + + + + copy-resources-1 + validate + + copy-resources + + + ${basedir}/target/opt/app/datartr/lib + + + ${project.basedir}/src/main/resources + + **/*.jar + + + + + + + copy-resources-2 + validate + + copy-resources + + + ${basedir}/target/opt/app/datartr/etc + + + ${basedir}/src/main/resources + + misc/** + **/** + + + + + + + copy-resources-3 + validate + + copy-resources + + + ${basedir}/target/opt/app/datartr + + + ${basedir}/data + + misc/** + **/** + + + + + + + copy-resources-4 + validate + + copy-resources + + + ${basedir}/target/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}/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 + + + + + +