You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Brian Egge (JIRA)" <ji...@apache.org> on 2007/10/06 23:18:50 UTC
[jira] Created: (COLLECTIONS-268) maven gets 301 error when
attempting to download dependencies
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.
[jira] Closed: (COLLECTIONS-268) maven gets 301 error when
attempting to download dependencies
Posted by "Brian Egge (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (COLLECTIONS-268) maven gets 301 error when
attempting to download dependencies
Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COLLECTIONS-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754225#action_12754225 ]
Matt Benson commented on COLLECTIONS-268:
-----------------------------------------
I don't see any such error; could this have been resolved by defaults in recent versions of 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.