aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-04-12 12:10:33 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-04-12 13:39:00 +0200
commitf584f1b1c77a90dcbcb314bc5b8736e81ab287ae (patch)
treede3def0c1fd10fc8cba290e83fd96c927fdd1e59
parentd05b4774f4f05a7281088cf8a6f3108696c0f350 (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: Iaa516c436f2f5ec94c20e732b124d9dedf108e89 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r--pom.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 8ca1b80..decfcd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,10 @@
<!-- <sonar.host.url>http://localhost:9000</sonar.host.url> -->
<!-- <maven.test.skip>true</maven.test.skip> -->
<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/collectors/ves/${project.artifactId}/${project.version}</site.path>
+
</properties>
<pluginRepositories>
@@ -698,17 +702,17 @@
<site>
<id>ecomp-site</id>
<!-- <url>file:LOCALDIR/${project.artifactId}/</url> -->
- <url>dav:${nexusproxy}/content/sites/site/org/onap/dcae/collectors/ves/${project.artifactId}/${project.version}/</url>
+ <url>dav:${nexusproxy}/${site.path}/</url>
</site>
<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>
</distributionManagement>