diff --git a/Vagrantfile b/Vagrantfile index c2d5cae..e90ded7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -42,9 +42,9 @@ mkdir -p "downloads" cd downloads SOLR_TAR="solr-$SOLR_VERSION.tgz" if test ! -f "$SOLR_TAR"; then - SOLR_URL="https://archive.apache.org/dist/solr/solr/$SOLR_VERSION/$SOLR_TAR" + SOLR_URL="https://www.apache.org/dyn/closer.lua/solr/solr/$SOLR_VERSION/$SOLR_TAR?action=download" echo "Getting: $SOLR_URL" - wget -q --show-progress --progress=bar:force $SOLR_URL + wget -q --show-progress --progress=bar:force $SOLR_URL -O $SOLR_TAR fi tar xfz "$SOLR_TAR" -C /home/vagrant cd /home/vagrant/solr-$SOLR_VERSION diff --git a/bin/install_solr_docker.sh b/bin/install_solr_docker.sh index 99e08e2..c36ac9a 100644 --- a/bin/install_solr_docker.sh +++ b/bin/install_solr_docker.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash SOLR_VERSION="9.4.0" -wget -q "https://archive.apache.org/dist/solr/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz" -O - | tar -xz +wget -q "https://www.apache.org/dyn/closer.lua/solr/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz?action=download" -O - | tar -xz cd solr-$SOLR_VERSION ./bin/solr start -force ./bin/solr create -c opus4 -force diff --git a/build.xml b/build.xml index 7f489c2..137f6d2 100644 --- a/build.xml +++ b/build.xml @@ -2,7 +2,7 @@ - + @@ -60,7 +60,7 @@ -