Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 3.0-beta-3
-
Fix Version/s: None
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Environment:JDK 6u21, Ubuntu.
-
Complexity:Intermediate
-
Number of attachments :
Description
See https://netbeans.org/bugzilla/show_bug.cgi?id=190033 for steps to reproduce, and in particular delete ~/.m2/repository/org/codehaus/mojo/archetypes/webapp-javaee6/1.1/webapp-javaee6-1.1.jar first. Maven 2.2.1 works; 3.0-beta-3 fails. The difference is that M3 tries to download this JAR but the HTTP transport does not handle redirects, so the JAR file in the local repo is actually a text file:
<!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="https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/archetypes/webapp-javaee6/1.1/webapp-javaee6-1.1.jar">here</a>.</p> <hr> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org Port 80</address> </body></html>
Issue Links
- duplicates
-
WAGON-314
Permament move (error 301) not handled properly by Lightweight HTTP Wagon
-
Activity
Jesse Glick
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link | This issue duplicates MNG-4428 [ MNG-4428 ] |
Jesse Glick
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Duplicate [ 3 ] |
Already filed. Why is the duplicate such a low priority? Important regression I think.