summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-04-12 13:23:17 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-04-12 13:23:29 +0200
commitcb4eb79bf56d20fad92053e457fcea5edfbf1026 (patch)
tree820e50365a701ca09d1c32c39dc2e3bad68884fc
parent64e7ad37685f8e0e763459c3653911d10a8c45dc (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: I56fdd49c664540f1e41ad3d4add07c3237d61504 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r--pom.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index 25968425..662bd3ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,23 +33,26 @@
<properties>
<nexusproxy>https://nexus.onap.org</nexusproxy>
+ <releases.path>content/repositories/releases/</releases.path>
+ <snapshots.path>content/repositories/snapshots/</snapshots.path>
+ <staging.path>content/repositories/staging/</staging.path>
</properties>
<repositories>
<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>
<repository>
<id>ecomp-snapshot</id>
<name>OpenECOMP Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
+ <url>${nexusproxy}/${snapshots.path}</url>
</repository>
</repositories>
@@ -57,12 +60,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>
</distributionManagement>