diff options
author | Claudio David Gasparini <claudio.gasparini@pantheon.tech> | 2020-11-17 13:46:10 +0100 |
---|---|---|
committer | Claudio David Gasparini <claudio.gasparini@pantheon.tech> | 2020-11-17 13:46:10 +0100 |
commit | 24c217c5eda9b5a889067d2f003a54439238bebe (patch) | |
tree | 5c0ebc54bb00bae5cc5b80c5a1df32861546ec18 | |
parent | ccea64d2ae8eed18d4626e5de5e3f79a989dd301 (diff) |
Add distributionManagement
Issue-ID: cps-5
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I7eee9c1c53f8e13c65b9c8daad5c0b2e5139dcda
-rw-r--r-- | cps-bom/pom.xml | 22 | ||||
-rw-r--r-- | cps-dependencies/pom.xml | 18 | ||||
-rw-r--r-- | cps-parent/pom.xml | 18 |
3 files changed, 58 insertions, 0 deletions
diff --git a/cps-bom/pom.xml b/cps-bom/pom.xml index ae9e806f3c..5b0271a9e9 100644 --- a/cps-bom/pom.xml +++ b/cps-bom/pom.xml @@ -9,6 +9,28 @@ <packaging>pom</packaging> <description>This artifact contains dependencyManagement declarations of all published CPS components.</description> + + <properties> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> + </properties> + + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${nexusproxy}${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${nexusproxy}${snapshotNexusPath}</url> + </snapshotRepository> + </distributionManagement> + <dependencyManagement> <dependencies> <dependency> diff --git a/cps-dependencies/pom.xml b/cps-dependencies/pom.xml index f4546a41c4..6286391a59 100644 --- a/cps-dependencies/pom.xml +++ b/cps-dependencies/pom.xml @@ -17,13 +17,31 @@ <commons-lang3.version>3.11</commons-lang3.version> <groovy.version>3.0.6</groovy.version> <hibernate-types.version>2.10.0</hibernate-types.version> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> <spock-core.version>2.0-M2-groovy-3.0</spock-core.version> <springboot.version>2.3.3.RELEASE</springboot.version> <springfox.version>3.0.0</springfox.version> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> <swagger.version>2.1.4</swagger.version> <yangtools.version>5.0.6</yangtools.version> </properties> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${nexusproxy}${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${nexusproxy}${snapshotNexusPath}</url> + </snapshotRepository> + </distributionManagement> + <dependencyManagement> <dependencies> <dependency> diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 8ff5ead8e5..bd7e1a529a 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -20,13 +20,31 @@ <base.image>openjdk:11-jre-slim</base.image> <java.version>11</java.version> <jib-maven-plugin.version>2.6.0</jib-maven-plugin.version> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> <oparent.version>3.1.0</oparent.version> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> <repository.name>nexus3.onap.org:10001/onap/cps-service</repository.name> <spring-boot-maven-plugin.version>2.3.3.RELEASE</spring-boot-maven-plugin.version> <swagger-codegen-maven-plugin.version>3.0.18</swagger-codegen-maven-plugin.version> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> <tag.version>${project.version}</tag.version> </properties> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>ECOMP Release Repository</name> + <url>${nexusproxy}${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>ECOMP Snapshot Repository</name> + <url>${nexusproxy}${snapshotNexusPath}</url> + </snapshotRepository> + </distributionManagement> + <profiles> <profile> <id>docker</id> |