From 96e3b9dc1f664bf0a65cb88d7dbc04681ee86f67 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Tue, 10 Oct 2017 03:29:34 +0000 Subject: Change artifact deployment locations Issue-Id: DCAEGEN2-128 Change-Id: I55f533c0fa1a2a51e6a11b1e8e1dbb221b992fbe Signed-off-by: Lusheng Ji --- cdap/pom.xml | 98 +----------- dcae-policy/pom.xml | 173 ++++++++++++++++++++ docker/pom.xml | 94 ----------- mvn-phase-lib.sh | 424 ++++++++++++++++++++++++++++++++++++++++++++++++++ mvn-phase-script.sh | 241 +++------------------------- pom.xml | 122 ++++++++++++++- relationships/pom.xml | 94 ----------- 7 files changed, 738 insertions(+), 508 deletions(-) create mode 100644 dcae-policy/pom.xml create mode 100755 mvn-phase-lib.sh diff --git a/cdap/pom.xml b/cdap/pom.xml index 95e8a6f..bacd7e8 100644 --- a/cdap/pom.xml +++ b/cdap/pom.xml @@ -34,112 +34,16 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. UTF-8 - false + true cdapplugin/ cdapplugin/xunit-reports/xunit-result-cdapcloudify.xml cdapplugin/coverage-reports/coverage-cdapcloudify.xml py python */cdapcloudify/**.py - http://135.205.228.63:9000 - ${project.artifactId}-${project.version} - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - - true - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - true - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - true - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - default-jar - - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - true - - - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - ${session.executionRootDirectory}/mvn-phase-script.sh - - - ${parent.groupId} - ${parent.artifactId} - ${parent.version} - ${onap.nexus.url} - ${onap.nexus.rawrepo.baseurl.upload} - ${onap.nexus.rawrepo.baseurl.download} - ${onap.nexus.rawrepo.serverid} - ${onap.nexus.dockerregistry.daily} - ${onap.nexus.dockerregistry.release} - - - - - + + 4.0.0 + + org.onap.dcaegen2.platform + plugins + 1.0.0-SNAPSHOT + + org.onap.dcaegen2.platform.plugins + dcae-policy + dcae-policy-plugin + 1.0.0-SNAPSHOT + http://maven.apache.org + + UTF-8 + true + . + + + + + py + Python + **/*.py + + + + + ${project.artifactId}-${project.version} + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + clean phase script + clean + + exec + + + + ${project.artifactId} + clean + + + + + generate-sources script + generate-sources + + exec + + + + ${project.artifactId} + generate-sources + + + + + compile script + compile + + exec + + + + ${project.artifactId} + compile + + + + + package script + package + + exec + + + + ${project.artifactId} + package + + + + + test script + test + + exec + + + + ${project.artifactId} + test + + + + + install script + install + + exec + + + + ${project.artifactId} + install + + + + + deploy script + deploy + + exec + + + + ${project.artifactId} + deploy + + + + + + + + diff --git a/docker/pom.xml b/docker/pom.xml index 5da1c31..6da9cd4 100644 --- a/docker/pom.xml +++ b/docker/pom.xml @@ -50,100 +50,6 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. ${project.artifactId}-${project.version} - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - - true - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - true - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - true - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - default-jar - - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - true - - - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - ${session.executionRootDirectory}/mvn-phase-script.sh - - - ${parent.groupId} - ${parent.artifactId} - ${parent.version} - ${onap.nexus.url} - ${onap.nexus.rawrepo.baseurl.upload} - ${onap.nexus.rawrepo.baseurl.download} - ${onap.nexus.rawrepo.serverid} - ${onap.nexus.dockerregistry.daily} - ${onap.nexus.dockerregistry.release} - - - - - + https://nexus.onap.org/content/sites/raw + https://nexus.onap.org/service/local/repositories/raw/content + ecomp-raw + + nexus3.onap.org:10003 + nexus3.onap.org:10003 + nexus3.onap.org:10001 + nexus3.onap.org:10003 + nexus3.onap.org:10003 + nexus3.onap.org:10001 + + https://nexus3.onap.org/repository/PyPi + onap-pypi + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + + true + + + + org.apache.maven.plugins + maven-deploy-plugin + + 2.8 + + true + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + + true + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + true + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + default-jar + + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.4 + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + ${session.executionRootDirectory}/mvn-phase-script.sh + + + + ${project.groupId} + ${project.artifactId} + ${project.version} + ${onap.nexus.url} + ${onap.nexus.rawrepo.baseurl.upload} + ${onap.nexus.rawrepo.baseurl.download} + ${onap.nexus.rawrepo.serverid} + ${onap.nexus.dockerregistry.snapshot} + ${onap.nexus.dockerregistry.release} + ${onap.nexus.dockerregistry.public} + ${onap.nexus.dockerregistry.snapshot.serverid} + ${onap.nexus.dockerregistry.release.serverid} + ${onap.nexus.dockerregistry.public.serverid} + ${onap.nexus.pypiserver.baseurl} + ${onap.nexus.pypiserver.serverid} + + + + + + diff --git a/relationships/pom.xml b/relationships/pom.xml index 2cfbec5..cf7fefd 100644 --- a/relationships/pom.xml +++ b/relationships/pom.xml @@ -50,100 +50,6 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. ${project.artifactId}-${project.version} - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - - true - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - true - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - true - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - default-jar - - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - true - - - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - ${session.executionRootDirectory}/mvn-phase-script.sh - - - ${parent.groupId} - ${parent.artifactId} - ${parent.version} - ${onap.nexus.url} - ${onap.nexus.rawrepo.baseurl.upload} - ${onap.nexus.rawrepo.baseurl.download} - ${onap.nexus.rawrepo.serverid} - ${onap.nexus.dockerregistry.daily} - ${onap.nexus.dockerregistry.release} - - - - -