diff options
-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> |