[
https://issues.apache.org/jira/browse/COLLECTIONS-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Egge closed COLLECTIONS-268.
----------------------------------
Resolution: Fixed
This seems to have been fixed within Maven.
> maven gets 301 error when attempting to download dependencies
> -------------------------------------------------------------
>
> Key: COLLECTIONS-268
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-268
> Project: Commons Collections
> Issue Type: Improvement
> Affects Versions: Generics
> Environment: Run maven, which hasn't been run in a while
> Reporter: Brian Egge
> Priority: Minor
> Fix For: Generics
>
>
> I was getting this error:
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
> Attempting to download junit-4.3.1.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/junit/jars/junit-4.3.1.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download junit-4.3.1.jar.
> Attempting to download easymock-2.0.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/easymock/jars/easymock-2.0.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download easymock-2.0.jar.
> The build cannot continue because of the following unsatisfied dependencies:
> junit-4.3.1.jar
> easymock-2.0.jar
> Total time: 2 seconds
> Finished at: Sun Oct 07 07:04:46 EST 2007
> I found this solution, and it worked for me:
> http://blogs.atlassian.com/developer/2006/12/maven_1_repository_changes.html
> Here's the one line patch (ASF ok)
> Index: project.properties
> ===================================================================
> --- project.properties (revision 582533)
> +++ project.properties (working copy)
> @@ -63,3 +63,4 @@
> maven.junit.fork=true
>
> clover.excludes=**/Test*.java
> +maven.repo.remote=http://mirrors.ibiblio.org/pub/mirrors/maven,http://www.ibiblio.org/maven
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.