aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-04-03 22:53:26 -0700
committerPatrick Brady <pb071s@att.com>2017-04-04 06:17:03 +0000
commit942162768080660bdf06ee82a3cf0830f41a0fe4 (patch)
tree00fbb01de7b7fc8b617276877a989af86faabf72 /pom.xml
parentafc6c2afb19fac02461cd8bb5f4f2af0c24f4bd2 (diff)
Replacing nexus urls with properties
Change-Id: I5a018f0652b4ad6f35a83ec47203cf0a6efa5366 Signed-off-by: Patrick Brady <pb071s@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 1e1bea649..5297fca95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,6 +76,12 @@
<jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
<salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
<checkstyle.skip>true</checkstyle.skip>
+
+ <!-- NEXUS URLS -->
+ <openecomp.nexus.url>https://nexus.onap.org/content</openecomp.nexus.url>
+ <openecomp.nexus.snapshot-url>${openecomp.nexus.url}/repositories/snapshots/</openecomp.nexus.snapshot-url>
+ <openecomp.nexus.release-url>${openecomp.nexus.url}/repositories/releases/</openecomp.nexus.release-url>
+ <openecomp.nexus.javadocs-url>dav:${openecomp.nexus.url}/sites/site/org/openecomp/appc/${project.version}</openecomp.nexus.javadocs-url>
</properties>
@@ -112,17 +118,17 @@
<!-- This site is used for Javadocs -->
<site>
<id>ecomp-site</id>
- <url>dav:https://nexus.onap.org/content/sites/site/org/openecomp/appc/${project.version}</url>
+ <url>${openecomp.nexus.javadocs-url}</url>
</site>
<repository>
<id>ecomp-releases</id>
<name>openecomp-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
+ <url>${openecomp.nexus.release-url}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
<name>openecomp-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+ <url>${openecomp.nexus.snapshot-url}</url>
</snapshotRepository>
</distributionManagement>