summaryrefslogtreecommitdiffstats
path: root/cps-parent/pom.xml
diff options
context:
space:
mode:
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>2020-11-17 13:46:10 +0100
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>2020-11-17 13:46:10 +0100
commit24c217c5eda9b5a889067d2f003a54439238bebe (patch)
tree5c0ebc54bb00bae5cc5b80c5a1df32861546ec18 /cps-parent/pom.xml
parentccea64d2ae8eed18d4626e5de5e3f79a989dd301 (diff)
Add distributionManagement
Issue-ID: cps-5 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I7eee9c1c53f8e13c65b9c8daad5c0b2e5139dcda
Diffstat (limited to 'cps-parent/pom.xml')
-rw-r--r--cps-parent/pom.xml18
1 files changed, 18 insertions, 0 deletions
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>