From fe78fe6b0e392dc9ca39017184d2f48198b87537 Mon Sep 17 00:00:00 2001
From: Hugo Hills <39260692+hugohills-regnosys@users.noreply.github.com>
Date: Fri, 23 Aug 2024 15:18:09 +0100
Subject: [PATCH] Migrate to s01.oss.sonatype.org (#3102)
---
codefresh.yml | 4 ++--
pom.xml | 2 +-
.../resources/build-resources/kotlin/kotlin-build-pom.xml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/codefresh.yml b/codefresh.yml
index b1fd912955..a29fdfc912 100644
--- a/codefresh.yml
+++ b/codefresh.yml
@@ -36,7 +36,7 @@ steps:
commands:
- cf_export RELEASE_NAME=${{TAG_NAME}}
- cf_export MAVEN_BUILD_PROFILES="daml,scala,typescript,golang,csharp8,csharp9,kotlin,python,full,gpg,excel,json-schema"
- - cf_export MVN_DEPLOY_FILE_FLAGS="${{MVN_BUILD_FLAGS}} ${{MVN_DEPLOY_FLAGS}} -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh-distro -Dgpg.passphrase=${{GPG_PASSPHRASE}}"
+ - cf_export MVN_DEPLOY_FILE_FLAGS="${{MVN_BUILD_FLAGS}} ${{MVN_DEPLOY_FLAGS}} -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh-distro -Dgpg.passphrase=${{GPG_PASSPHRASE}}"
SnapshotProperties:
stage: 'setup'
@@ -49,7 +49,7 @@ steps:
commands:
- cf_export RELEASE_NAME=${{GLOBAL_RELEASE_VERSION}}.${{CF_BRANCH_TAG_NORMALIZED}}-SNAPSHOT
- cf_export MAVEN_BUILD_PROFILES="daml,scala,typescript,golang,csharp8,csharp9,kotlin,python,gpg,excel,json-schema"
- - cf_export MVN_DEPLOY_FILE_FLAGS="${{MVN_BUILD_FLAGS}} ${{MVN_DEPLOY_FLAGS}} -Durl=https://oss.sonatype.org/content/repositories/snapshots -DrepositoryId=ossrh -Dgpg.passphrase=${{GPG_PASSPHRASE}}"
+ - cf_export MVN_DEPLOY_FILE_FLAGS="${{MVN_BUILD_FLAGS}} ${{MVN_DEPLOY_FLAGS}} -Durl=https://s01.oss.sonatype.org/content/repositories/snapshots -DrepositoryId=ossrh -Dgpg.passphrase=${{GPG_PASSPHRASE}}"
Build:
stage: 'build'
diff --git a/pom.xml b/pom.xml
index 5779f2ee3e..78593b97c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,7 +78,7 @@
11
- oss.sonatype.org
+ s01.oss.sonatype.org
10
11.14.2
${rosetta.bundle.version}
diff --git a/rosetta-source/src/main/resources/build-resources/kotlin/kotlin-build-pom.xml b/rosetta-source/src/main/resources/build-resources/kotlin/kotlin-build-pom.xml
index 26f9658e66..88af7951b4 100644
--- a/rosetta-source/src/main/resources/build-resources/kotlin/kotlin-build-pom.xml
+++ b/rosetta-source/src/main/resources/build-resources/kotlin/kotlin-build-pom.xml
@@ -68,7 +68,7 @@
configured-by-release-profile
- oss.sonatype.org
+ s01.oss.sonatype.org
11
11