From 9a9955b09abdf0094b25acf35dcd3b53fff0cece Mon Sep 17 00:00:00 2001 From: Tomas Kraus Date: Thu, 9 Jan 2020 14:12:02 +0100 Subject: [PATCH] Moved Nexus URLs to properties. Signed-off-by: Tomas Kraus --- parent/pom.xml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index f279ab1..08ace7c 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -96,6 +96,19 @@ + + https://jakarta.oss.sonatype.org/ + ${sonatypeOssDistMgmtNexusUrl}content/repositories/snapshots/ + ${sonatypeOssDistMgmtNexusUrl}content/repositories/staging/ + ${sonatypeOssDistMgmtNexusUrl}service/local/staging/deploy/maven2/ + UTF-8 + + + + ossrh @@ -109,17 +122,6 @@ - - https://jakarta.oss.sonatype.org/content/repositories/snapshots/ - https://jakarta.oss.sonatype.org/service/local/staging/deploy/maven2/ - UTF-8 - - - - @@ -139,7 +141,7 @@ 1.6.8 ossrh - https://jakarta.oss.sonatype.org/ + ${sonatypeOssDistMgmtNexusUrl} false ${maven.deploy.skip} @@ -247,7 +249,7 @@ sonatype-nexus-snapshots Sonatype Nexus Snapshots - https://jakarta.oss.sonatype.org/content/repositories/snapshots + ${sonatypeOssDistMgmtSnapshotsUrl} false @@ -260,7 +262,7 @@ sonatype-nexus-snapshots Sonatype Nexus Snapshots - https://jakarta.oss.sonatype.org/content/repositories/snapshots + ${sonatypeOssDistMgmtSnapshotsUrl} false @@ -284,7 +286,7 @@ sonatype-nexus-staging Sonatype Nexus Staging - https://jakarta.oss.sonatype.org/content/repositories/staging + ${sonatypeOssDistMgmtStagingUrl} true @@ -297,7 +299,7 @@ sonatype-nexus-staging Sonatype Nexus Staging - https://jakarta.oss.sonatype.org/content/repositories/staging + ${sonatypeOssDistMgmtStagingUrl} true