Ticket #75 (closed defect: wontfix)

Opened 2 years ago

Last modified 1 year ago

Problem downloading things from repositories

Reported by: ebrown Assigned to: ebrown
Priority: medium Milestone:
Component: build-system Version: 0.5-SNAPSHOT
Keywords: maven, developer Cc:
Blocking: Blocked By:

Description

This is hopefully a bug with maven itself or its repository servers. Need to isolate and determine if it is reliably reproducible -- suspect it isn't. (503 would seem to indicate intermittent problem with repo1.maven.org server.)

I've experienced this multiple times running the first steps of DevSetup (mvn clean install) on new systems. I get an error like:

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.0/maven-jar-plugin-2.0.jar
7K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact. 

Error transferring file
  org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  topaz (http://gandalf.topazproject.org/maven2)


Caused by I/O exception: Server returned HTTP response code: 503 for URL: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.0/maven-jar-plugin-2.0.jar.sha1

Just running mvn clean install again and it gets past this:

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.0/maven-jar-plugin-2.0.jar
7K downloaded
Downloading: http://gandalf.topazproject.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom

Suggest attempt to reproduce again on clean system. Then post complaint on maven mailing-list to see if others have similar problem. I didn't see anything in its archives about this kind of thing.

Dependency Graph

Change History

07/13/06 18:11:48 changed by amit

  • milestone set to TBD.

Transferred to TBD

09/20/06 16:40:43 changed by ebrown

  • keywords set to maven.

01/16/07 16:42:11 changed by ebrown

  • keywords changed from maven to maven, developer.
  • status changed from new to closed.
  • resolution set to wontfix.

First the frequency of this type of problem as gone down considerably.

Also, adding mirrors to ones settings.xml seems to help this a lot.

  <mirrors>
    <mirror>
      <id>lsu.edu</id>
      <url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- United States, Louisiana -->
    </mirror>
    <mirror>
      <id>ibiblio.net</id>
      <url>http://www.ibiblio.net/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- United States, North Carolina -->
    </mirror>
  </mirrors>

See also MavenInfo, DevSetup

08/07/07 16:25:51 changed by

  • milestone deleted.

Milestone Bugs deleted