VELOCITY-860: Fix Velocity 1.7.x, 1.6.x, 1.5 ant download dependency build script
Patch from Mike Kienenberger applied without changes

git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/1.6.x@1682682 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build/build.properties b/build/build.properties
index 31e9216..ea848c2 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -115,8 +115,8 @@
 
 #
 # We download directly from the ibiblio maven repository
-repo.m1.url= http://www.ibiblio.org/maven
-repo.m2.url=http://www.ibiblio.org/maven2
+repo.m1.url= http://mirrors.ibiblio.org/maven2
+repo.m2.url=http://mirrors.ibiblio.org/maven2
 #
 # Jars to be downloaded
 jar.antlr.version= 2.7.5
diff --git a/build/download.xml b/build/download.xml
index 8c891d3..f1d09ad 100644
--- a/build/download.xml
+++ b/build/download.xml
@@ -62,7 +62,7 @@
 
   <target name="do-http-m1-download" unless="skip-download">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
-    <get src="${repo.m1.url}/${download.groupId}/jars/${download.artifactId}-${download.version}.jar"
+    <get src="${repo.m1.url}/${download.groupId}/${download.artifactId}/${download.version}/${download.artifactId}-${download.version}.jar"
          dest="${build.lib}/${download.artifactId}-${download.version}.jar"
          usetimestamp="true"
          verbose="false"
@@ -84,7 +84,7 @@
 
   <target name="do-http-test-m1-download" unless="skip-download">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
-    <get src="${repo.m1.url}/${download.groupId}/jars/${download.artifactId}-${download.version}.jar"
+    <get src="${repo.m1.url}/${download.groupId}/${download.artifactId}/${download.version}/${download.artifactId}-${download.version}.jar"
          dest="${build.test.lib}/${download.artifactId}-${download.version}.jar"
          usetimestamp="true"
          verbose="false"