[
http://jira.codehaus.org/browse/MNG-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Glick closed MNG-4816.
----------------------------
Resolution: Duplicate
> Maven 3 fails to follow 301 redirects
> -------------------------------------
>
> Key: MNG-4816
> URL: http://jira.codehaus.org/browse/MNG-4816
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.0-beta-3
> Environment: JDK 6u21, Ubuntu.
> Reporter: Jesse Glick
>
> 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:
> {code}
> <!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>
> {code}
--
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