diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2021-06-09 17:31:32 -0400 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2021-06-09 17:46:19 -0400 |
commit | a6b77092e938295d1821393f3c13c43fda2cd43a (patch) | |
tree | 1fee113ac2a03da1388348525efbcb95379f4838 | |
parent | ea781b75ca8a3f68b1662b43d9fcf64832f9e288 (diff) |
Adding distributionManagement section to oparent and standaloneParent poms
Replacing hardocded url with properties variable
Issue-ID: CCSDK-3329
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ifaa84b695ae45f0de7c431af3489d9b33d4b9fce
-rwxr-xr-x | oparent/pom.xml | 10 | ||||
-rwxr-xr-x | standalone/pom.xml | 61 |
2 files changed, 67 insertions, 4 deletions
diff --git a/oparent/pom.xml b/oparent/pom.xml index 22de429f..0ab2b163 100755 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -25,6 +25,16 @@ <system>JIRA</system> <url>https://jira.onap.org/</url> </issueManagement> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <url>${onap.nexus.release-url}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <url>${onap.nexus.snapshot-url}</url> + </snapshotRepository> + </distributionManagement> <properties> <!-- Sonar properties --> diff --git a/standalone/pom.xml b/standalone/pom.xml index 4880f0b1..6c9e039a 100755 --- a/standalone/pom.xml +++ b/standalone/pom.xml @@ -25,6 +25,16 @@ <system>JIRA</system> <url>https://jira.onap.org/</url> </issueManagement> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <url>${onap.nexus.release-url}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <url>${onap.nexus.snapshot-url}</url> + </snapshotRepository> + </distributionManagement> <properties> <!-- Sonar properties --> @@ -145,7 +155,7 @@ <repositories> <repository> <id>onap-public</id> - <url>https://nexus.onap.org/content/groups/public</url> + <url>${onap.nexus.public-url}</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> @@ -157,7 +167,7 @@ </repository> <repository> <id>onap-staging</id> - <url>https://nexus.onap.org/content/groups/staging</url> + <url>${onap.nexus.staging-url}</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> @@ -170,7 +180,7 @@ <repository> <id>ecomp-release</id> <name>onap-repository-releases</name> - <url>https://nexus.onap.org/content/repositories/releases</url> + <url>${onap.nexus.release-url}</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> @@ -182,7 +192,7 @@ <repository> <id>ecomp-snapshot</id> <name>onap-repository-snapshots</name> - <url>https://nexus.onap.org/content/repositories/snapshots</url> + <url>${onap.nexus.snapshot-url}</url> <releases> <enabled>false</enabled> </releases> @@ -191,6 +201,49 @@ </snapshots> </repository> </repositories> + <pluginRepositories> + <pluginRepository> + <id>onap-public</id> + <url>${onap.nexus.public-url}</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>onap-staging</id> + <url>${onap.nexus.staging-url}</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>onap-snapshot</id> + <url>${onap.nexus.snapshot-url}</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + <!-- Black Duck plugin dependencies --> + <pluginRepository> + <id>JCenter</id> + <name>JCenter Repository</name> + <url>http://jcenter.bintray.com</url> + </pluginRepository> + <pluginRepository> + <id>Restlet</id> + <name>Restlet Repository</name> + <url>http://maven.restlet.com</url> + </pluginRepository> + </pluginRepositories> <build> <pluginManagement> |