Anyone have any idea what's going on with ibiblio for the past few days?

Getting URL: http://www.ibiblio.org/maven/asm/jars/asm-1.5.3.jar
Received status code: 302
Location: http://www.ibiblio.org/maven2/asm/asm/1.5.3/asm-1.5.3.jar
Error retrieving artifact from
[http://www.ibiblio.org/maven/asm/jars/asm-1.5.3.jar]:
java.io.IOException: Unknown error downloading; status code was: 302
Error details
java.io.IOException: Unknown error downloading; status code was: 302
 
Looks like maybe someone tried to combine the maven1 and maven2
repositories, but maven isn't following the redirects.  I patched maven
1.0.2 to follow the redirects and I'm attaching it.  It seems like
whoever is responsible for setting up all of these redirects should undo
the change until a version of maven 1.x is released that follows the
redirects properly.


Index: src/java/org/apache/maven/util/HttpUtils.java
===================================================================
--- src/java/org/apache/maven/util/HttpUtils.java	(revision 367358)
+++ src/java/org/apache/maven/util/HttpUtils.java	(working copy)
@@ -531,7 +531,7 @@
 
             // Must read content regardless
             is = get.getResponseBodyAsStream();
-            if ( is == null )
+            if ( redirectUrl != null )
             {
                 // This could be null, which is fine. The reponse just wasn't a redirect.
                 return redirectUrl;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to