Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.8
-
Fix Version/s: None
-
Component/s: dependencies task
-
Labels:None
-
Environment:Any
-
Number of attachments :
Description
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.
Issue Links
| This issue is related to: | ||||
| WAGON-314 | Permament move (error 301) not handled properly by Lightweight HTTP Wagon |
|
|
|