chore: update utility scripts still referencing old maven repo

This commit is contained in:
Roman Acevedo
2025-07-24 16:16:41 +02:00
parent ee6a2ae9a3
commit a7b07e5556
2 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ install-plugins:
else \
${KESTRA_BASEDIR}/bin/kestra plugins install $$CURRENT_PLUGIN \
--plugins ${KESTRA_BASEDIR}/plugins \
--repositories=https://s01.oss.sonatype.org/content/repositories/snapshots || exit 1; \
--repositories=https://central.sonatype.com/repository/maven-snapshots || exit 1; \
fi \
done < $$PLUGIN_LIST

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
#===============================================================================
# SCRIPT: check-plugin-artifacts.sh
#
@@ -29,7 +29,7 @@ PLUGIN_FILE="$BASEDIR/../.plugins"
# Maven Central URL
MAVEN_CENTRAL="https://repo1.maven.org/maven2"
SONATYPE_SNAPSHOT="https://s01.oss.sonatype.org/content/repositories/snapshots"
SONATYPE_SNAPSHOT="https://central.sonatype.com/repository/maven-snapshots"
###############################################################
# Functions
@@ -142,7 +142,7 @@ do
if [[ "$VERSION" == *"-SNAPSHOT" ]]; then
ARTIFACT_URL="${GROUP_PATH}/${ARTIFACT_ID}/${VERSION}/maven-metadata.xml"
ARTIFACT_URL="${SONATYPE_SNAPSHOT}/${ARTIFACT_URL}"
else
else
ARTIFACT_URL="${GROUP_PATH}/${ARTIFACT_ID}/${VERSION}/${ARTIFACT_ID}-${VERSION}.jar"
ARTIFACT_URL="${MAVEN_CENTRAL}/${ARTIFACT_URL}"
fi