aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-04-11 14:54:59 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-04-11 14:55:28 +0200
commit473bcb6c7dea189d9481f894b82358f6ec93629b (patch)
treec7707946a1bccff9e3e4aa73940153c4bb2bd841
parentb13fd280fa882c2a3ed2cb00fd150e1a8f1a19bb (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: Ibab60d47d3ed1836d35a0901009fd302d55cc753 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r--pom.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 5e29a41..a90d5d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,9 @@
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
<docker.registry>nexus3.onap.org:10003</docker.registry>
<nexusproxy>https://nexus.onap.org</nexusproxy>
+ <snapshots.path>content/repositories/snapshots/</snapshots.path>
+ <releases.path>content/repositories/releases/</releases.path>
+ <site.path>content/sites/site/org/onap/dcae/dcae-inventory/${project.artifactId}/${project.version}/</site.path>
</properties>
<pluginRepositories>
@@ -427,16 +430,16 @@
<repository>
<id>ecomp-releases</id>
<name>Open eCOMP Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
+ <url>${nexusproxy}/${releases.path}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
<name>Open eCOMP Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
+ <url>${nexusproxy}/${snapshots.path}</url>
</snapshotRepository>
<site>
<id>ecomp-site</id>
- <url>dav:${nexusproxy}/content/sites/site/org/onap/dcae/dcae-inventory/${project.artifactId}/${project.version}/</url>
+ <url>dav:${nexusproxy}/${site.path}</url>
</site>
</distributionManagement>
</project>