Maven 1 has recently started to produce a lot of 301 errors (after attempting to download certain dependencies) when building a project with a clean local repository.
The reason for this is that the public Maven 1 repository is being moved to http://mirrors.ibiblio.org/pub/mirrors/maven from http://www.ibiblio.org/maven. Maven 1 doesn’t understand redirects and therefore reports a 301 HTTP error when attempting to download certain dependencies (such as commons-logging for example).
To fix this, you simply have to add http://mirrors.ibiblio.org/pub/mirrors/maven to the list of remote repositories in project.properties:
maven.repo.remote=http://repository.atlassian.com,http://mirrors.ibiblio.org/pub/mirrors/maven,http://www.ibiblio.org/maven
If you are building old releases with Maven 1 please update your list of repositories. We’ll include the new mirror in all new releases of our software.


Comments (18)
By Raghu on December 6, 2006 /
By Brendan Patterson on December 7, 2006 /
By Imran on December 11, 2006 /
By sreedhar on December 11, 2006 /
By James on December 20, 2006 /
By Dmitri on December 22, 2006 /
By Jay on July 22, 2007 /
By Andreas Knecht on July 22, 2007 /
By enouvellon on July 24, 2007 /
By senthil on August 9, 2007 /
By Ed on October 16, 2007 /
By Sathish Kumar Kandasamy on October 29, 2007 /
By Steve Jones on January 7, 2008 /
By Andreas Knecht on January 7, 2008 /
By Seto on April 2, 2008 /
By JIRA: JIRA on August 7, 2008 /
By sony on April 9, 2012 /
By Best cheap cigarettes on October 24, 2012 /