Maven Ant Tasks doesn't follow HTTP redirects
---------------------------------------------

                 Key: MANTTASKS-176
                 URL: http://jira.codehaus.org/browse/MANTTASKS-176
             Project: Maven 2.x Ant Tasks
          Issue Type: Bug
          Components: dependencies task
    Affects Versions: 2.0.8
         Environment: Any
            Reporter: James Ring


Maven Ant Tasks appears to not follow HTTP redirects. Using the build.xml file 
at:

http://code.google.com/p/xuml-compiler/source/browse/trunk/xUmlCompiler/build.xml

and simply running ant (Apache Ant version 1.7.0 compiled on August 29 2007), I 
get

get.maven.dependencies:
[artifact:dependencies] Downloading: javax.mail/poms/mail-1.4.pom from java.net
[artifact:dependencies] Transferring 0K from java.net
[artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on 
download: local = 'b521e8e2d0286806e747b071b969ba7a78dab3fb'; remote = 
'<!DOCTYPE' - RETRYING

/home/sjr/.m2/repository/javax/mail/mail/1.4/mail-1.4.pom now contains

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a 
href="http://download.java.net/maven/1/javax.mail/poms/mail-1.4.pom";>here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>

rather than the expected POM files.

This is busted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to