diff options
author | Patrick Brady <pb071s@att.com> | 2017-04-10 12:50:37 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-04-10 12:50:45 -0700 |
commit | 4f1f92dd35feba0eda0edde376aed252d0f41456 (patch) | |
tree | 63b382687f1dfe733788167b7aada9343ecf7855 | |
parent | 4d55ce831cbaf43c149e70a35abf28cf71452351 (diff) |
Using properties for nexus server definition
Change-Id: I85f8d5c2809835b4acdfb613310475bb6365cadb
Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r-- | pom.xml | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -13,10 +13,11 @@ <description>The APP-C component contains SDNC Docker Image, and installs APPC/SDNC components on top.</description> <properties> - <nexusproxy>https://nexus.onap.org</nexusproxy> - <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> - <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> - <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> + <!-- NEXUS URLS --> + <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host> + <openecomp.nexus.url>https://${openecomp.nexus.host}/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> </properties> <!-- ================================================================================== --> @@ -35,13 +36,6 @@ <url>http://maven.restlet.com</url> </pluginRepository> </pluginRepositories> - <repositories> - <repository> - <id>ecomp-staging</id> - <name>ecomp Staging Repository</name> - <url>${nexusproxy}/${stagingNexusPath}</url> - </repository> - </repositories> <build> <plugins> <!--maven staging plugin--> @@ -51,7 +45,7 @@ <version>1.6.7</version> <extensions>true</extensions> <configuration> - <nexusUrl>${nexusproxy}</nexusUrl> + <nexusUrl>https://${openecomp.nexus.host}</nexusUrl> <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId> </configuration> |