aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-04-12 12:38:57 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-04-12 12:39:13 +0200
commitc2aad6527c903cc3359ef9673d0706f37d4b89ec (patch)
tree4d741630a04d60ef4f4240d1ddc721a959ca0054
parent8a986b29b7dc8a5da6d7ec11012bc05bfdc585bc (diff)
Allow push on custom repo
Current configuration doesn't give the possibility to fully change where the artifacts should be pushed. This blocks the possibility to push artifacts to a custom repository outside of the LF Change-Id: I0a0f02ec72c06ffe3d41d25538072c0db0e99317 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r--pom.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 37361bc9..072f29f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ <releases.path>content/repositories/releases/</releases.path>
+ <snapshots.path>content/repositories/snapshots/</snapshots.path>
+ <staging.path>content/repositories/staging/</staging.path>
</properties>
@@ -56,12 +59,12 @@
<repository>
<id>ecomp-releases</id>
<name>OpenECOMP Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
+ <url>${nexusproxy}/${releases.path}</url>
</repository>
<repository>
<id>ecomp-staging</id>
<name>OpenECOMP Staging Repository</name>
- <url>${nexusproxy}/content/repositories/staging/</url>
+ <url>${nexusproxy}/${staging.path}</url>
</repository>
</repositories>
@@ -69,12 +72,12 @@
<repository>
<id>ecomp-releases</id>
<name>OpenECOMP Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
+ <url>${nexusproxy}/${releases.path}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
<name>OpenECOMP Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
+ <url>${nexusproxy}/${snapshots.path}</url>
</snapshotRepository>
<site>
<id>ecomp-site</id>