Allow push on custom repo 71/3371/3
authorAnaël Closson <ac2550@intl.att.com>
Wed, 12 Apr 2017 09:10:10 +0000 (11:10 +0200)
committerAnaël Closson <ac2550@intl.att.com>
Wed, 12 Apr 2017 11:15:47 +0000 (13:15 +0200)
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: Ie5b9e7549af508b4e413a10abbf270f59d5679e5
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 7b1b200..c1e0ccc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,9 @@
                <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
                <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>
 
 
                <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-snapshots</id>
                        <name>OpenECOMP Snapshot Repository</name>
-                       <url>${nexusproxy}/content/repositories/snapshots/</url>
+                       <url>${nexusproxy}/${snapshots.path}</url>
                </repository>
        </repositories>
 
                <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>