Add repository
Add ONAP repo
Issue-ID: OAM-68
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: Id62fd1eb32a9752dd900b85abcbe331a23e6f5ad
Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com>
diff --git a/.gitignore b/.gitignore
index 5fe0c16..17e6a16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,4 +48,5 @@
# documentation
.tox
-docs/_build/
\ No newline at end of file
+docs/_build/
+ci-management/
diff --git a/features/pom.xml b/features/pom.xml
index 87a72a9..563290c 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -32,9 +32,70 @@
<packaging>pom</packaging>
<name>o-ran-sc features</name>
+ <properties>
+ <!-- ONAP repositories -->
+ <onap.nexus.host>nexus.onap.org</onap.nexus.host>
+ <onap.nexus.port>443</onap.nexus.port>
+ <onap.nexus.protocol>https</onap.nexus.protocol>
+ <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
+ <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
+ <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
+ <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
+ </properties>
<modules>
<module>devicemanager/o-ran/ru-fh</module>
<module>devicemanager/x-ran/ru-fh</module>
</modules>
+
+ <repositories>
+ <repository>
+ <id>onap-public</id>
+ <url>${onap.nexus.public-url}</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>onap-staging</id>
+ <url>${onap.nexus.staging-url}</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>ecomp-release</id>
+ <name>onap-repository-releases</name>
+ <url>${onap.nexus.release-url}</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>ecomp-snapshot</id>
+ <name>onap-repository-snapshots</name>
+ <url>${onap.nexus.snapshot-url}</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
</project>