diff options
author | 2018-05-08 11:51:10 +0300 | |
---|---|---|
committer | 2018-05-08 11:51:10 +0300 | |
commit | 3aca52ff05239bf137962499fd73a241170e20a0 (patch) | |
tree | 676733cb71be4b38521a673863021d6804ae57bb | |
parent | d6777bfb011b66fed7c7693499355cb695023582 (diff) |
Fix pom.xml file
Add repository and distribution management, Remove att nexus references, add nexus.proxy property
Change-Id: I51ca6fd310d0b36b9749e6d22416fc12b12e4711
Issue-ID: SDC-1313
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
-rw-r--r-- | pom.xml | 45 |
1 files changed, 38 insertions, 7 deletions
@@ -38,6 +38,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> + <nexus.proxy>https://nexus.onap.org</nexus.proxy> </properties> <build> <plugins> @@ -235,13 +236,43 @@ </plugin> </plugins> </build> - <distributionManagement> - <site> - <id>nexus</id> - <url>dav:${nexus.url}${sitePath}</url> - </site> - </distributionManagement> - </profile> + </profile> </profiles> + <repositories> + <!-- LF repositories --> + <repository> + <id>ecomp-releases</id> + <name>Release Repository</name> + <url>${nexus.proxy}/content/repositories/releases/</url> + </repository> + <repository> + <id>ecomp-snapshots</id> + <name>Snapshots Repository</name> + <url>${nexus.proxy}/content/repositories/snapshots/</url> + </repository> + <repository> + <id>ecomp-public</id> + <name>Public Repository</name> + <url>${nexus.proxy}/content/repositories/public/</url> + </repository> + <!-- LF repositories END--> + </repositories> + + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>Release Repository</name> + <url>${nexus.proxy}/content/repositories/releases/</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>Snapshot Repository</name> + <url>${nexus.proxy}/content/repositories/snapshots/</url> + </snapshotRepository> + <site> + <id>ecomp-site</id> + <url>dav:${nexus.proxy}${sitePath}</url> + </site> + </distributionManagement> </project> |