mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
chore: update utility scripts still referencing old maven repo
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user