Fix pom.xml file
Add repository and distribution management, Remove att nexus references, add nexus.proxy property
Change-Id: I64161125872ed61b61ba68b41cdc8009f443f46b
Issue-ID: SDC-1313
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
diff --git a/pom.xml b/pom.xml
index d039caf..d8d899f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,6 +11,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
+ <nexus.proxy>https://nexus.onap.org</nexus.proxy>
</properties>
<dependencies>
@@ -64,22 +65,40 @@
</plugin>
</plugins>
</build>
+ <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>
- <repositories>
- <repository>
- <id>nexus</id>
- <name>2020</name>
- <url>http://mavencentral.it.att.com:8084/nexus/content/groups/2020SAPC/</url>
- <layout>default</layout>
- </repository>
-
- <repository>
- <id>ATT public</id>
- <name>ATT public</name>
- <url>http://mavencentral.it.att.com:8084/nexus/content/groups/att-public-group/</url>
- <layout>default</layout>
- </repository>
-
- </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>