Skip to content

Commit

Permalink
fix: Use http for maven downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
1ambda committed Sep 18, 2023
1 parent 0aae60d commit 2d54ee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/debezium/maven-downloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ set -e

# If there's not maven repository url set externally,
# default to the ones below
MAVEN_REPO_CENTRAL=${MAVEN_REPO_CENTRAL:-"https://repo1.maven.org/maven2"}
MAVEN_REPO_CENTRAL=${MAVEN_REPO_CENTRAL:-"http://repo1.maven.org/maven2"}
MAVEN_REPOS_ADDITIONAL=${MAVEN_REPOS_ADDITIONAL:-""}
MAVEN_REPO_CONFLUENT=${MAVEN_REPO_CONFLUENT:-"https://packages.confluent.io/maven"}
MAVEN_REPO_CONFLUENT=${MAVEN_REPO_CONFLUENT:-"http://packages.confluent.io/maven"}
MAVEN_DEP_DESTINATION=${MAVEN_DEP_DESTINATION}
EXTERNAL_LIBS_DIR=${EXTERNAL_LIBS_DIR}

Expand All @@ -21,7 +21,7 @@ maven_dep() {
DOWNLOAD_FILE="$DOWNLOAD_FILE_TMP_PATH/$FILE"
test -d $DOWNLOAD_FILE_TMP_PATH || mkdir -p $DOWNLOAD_FILE_TMP_PATH

curl -sfSL -o "$DOWNLOAD_FILE" "$REPO/$GROUP/$PACKAGE/$VERSION/$FILE"
curl -o "$DOWNLOAD_FILE" "$REPO/$GROUP/$PACKAGE/$VERSION/$FILE"
}

maven_central_dep() {
Expand Down

0 comments on commit 2d54ee5

Please sign in to comment.