diff options
author | Anaël Closson <ac2550@intl.att.com> | 2017-04-12 12:29:31 +0200 |
---|---|---|
committer | Anaël Closson <ac2550@intl.att.com> | 2017-04-12 12:29:57 +0200 |
commit | e604761275e2cf19190f04e794988909098cb472 (patch) | |
tree | db590bfe119e61e24a590ea7dab30898e32ce5a9 | |
parent | 17ee38b49635a2a1a5286c017369327b9491ada3 (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: I2ce9df66b1ed7a46f9b200c21edeef7e249bb99a
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
-rw-r--r-- | pom.xml | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -37,7 +37,10 @@ <project.source.version>1.8</project.source.version> <project.target.version>1.8</project.target.version> <nexusproxy>https://nexus.onap.org</nexusproxy> - <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> + <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> <repositories> @@ -49,17 +52,17 @@ <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> @@ -238,12 +241,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> |