You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/12 21:38:35 UTC

[jira] Created: (MAVEN-1371) maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1371

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1371
    Summary: maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc4

   Assignee: 
   Reporter: Ian P. Springer

    Created: Mon, 12 Jul 2004 3:35 PM
    Updated: Mon, 12 Jul 2004 3:35 PM
Environment: n/a

Description:
In my project.xml, I have:
maven.repo.remote=http://www.ibiblio.org/maven/,http://mip.esr.hp.com/wsdm/repository/

I would expect this to mean: Attempt to download each dep jar from www.ibiblio.org first. If that fails, then try to download the jar from mip.esr.hp.com. 

However, the way it's working, even if it successfully downloads a jar from ibiblio, it still proceeds to redownload the jar from the second repository and overwrite the first one it just downloaded.





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MAVEN-1371) maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Tim McCune
    Created: Fri, 19 Nov 2004 12:39 PM
       Body:
This isn't working for me in 1.0 final.  Here is the output from
maven -X

Attempting to download hmsCommon-util-SNAPSHOT.jar.
Getting URL: http://cvs/maven/hmsCommon/jars/hmsCommon-util-SNAPSHOT.jar
sending ==> If-Modified-Since: Fri, 19-Nov-04 17:17:21 GMT
(1100884641000)
Received status code: 304
Not modified
Getting URL: http://cvs/maven/hmsCommon/jars/hmsCommon-util-SNAPSHOT.jar.md5
sending ==> If-Modified-Since: Fri, 19-Nov-04 17:25:07 GMT
(1100885107000)
Received status code: 304
Not modified
Getting URL: http://www.ibiblio.org/maven/hmsCommon/jars/hmsCommon-util-SNAPSHOT.jar
sending ==> If-Modified-Since: Fri, 19-Nov-04 17:17:21 GMT
(1100884641000)
Received status code: 404
File not found on one of the repos
java.io.FileNotFoundException: http://www.ibiblio.org/maven/hmsCommon/jars/hmsCommon-util-SNAPSHOT.jar
        at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
        at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
        at org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
        at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
        at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
        at org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:486)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1371?page=comments#action_26897

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1371

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1371
    Summary: maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0
   Versions:
             1.0-rc4

   Assignee: 
   Reporter: Ian P. Springer

    Created: Mon, 12 Jul 2004 3:35 PM
    Updated: Fri, 19 Nov 2004 12:39 PM
Environment: n/a

Description:
In my project.xml, I have:
maven.repo.remote=http://www.ibiblio.org/maven/,http://mip.esr.hp.com/wsdm/repository/

I would expect this to mean: Attempt to download each dep jar from www.ibiblio.org first. If that fails, then try to download the jar from mip.esr.hp.com. 

However, the way it's working, even if it successfully downloads a jar from ibiblio, it still proceeds to redownload the jar from the second repository and overwrite the first one it just downloaded.





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MAVEN-1371) maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1371

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1371
    Summary: maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0
   Versions:
             1.0-rc4

   Assignee: 
   Reporter: Ian P. Springer

    Created: Mon, 12 Jul 2004 3:35 PM
    Updated: Mon, 12 Jul 2004 7:17 PM
Environment: n/a

Description:
In my project.xml, I have:
maven.repo.remote=http://www.ibiblio.org/maven/,http://mip.esr.hp.com/wsdm/repository/

I would expect this to mean: Attempt to download each dep jar from www.ibiblio.org first. If that fails, then try to download the jar from mip.esr.hp.com. 

However, the way it's working, even if it successfully downloads a jar from ibiblio, it still proceeds to redownload the jar from the second repository and overwrite the first one it just downloaded.





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MAVEN-1371) maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Fri, 19 Nov 2004 10:51 PM
       Body:
that is working.

It is a SNAPSHOT, so it checks all of them. From the first three: 304 Not Modified so nothing downloaded.

The last is 404, noting downloaded, but I believe the build continues and ends up using the one from your local repository.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1371?page=comments#action_26974

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1371

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1371
    Summary: maven.repo.remote w/ multiple repos specified redownloads jar from each repo in the list
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0
   Versions:
             1.0-rc4

   Assignee: 
   Reporter: Ian P. Springer

    Created: Mon, 12 Jul 2004 3:35 PM
    Updated: Fri, 19 Nov 2004 10:51 PM
Environment: n/a

Description:
In my project.xml, I have:
maven.repo.remote=http://www.ibiblio.org/maven/,http://mip.esr.hp.com/wsdm/repository/

I would expect this to mean: Attempt to download each dep jar from www.ibiblio.org first. If that fails, then try to download the jar from mip.esr.hp.com. 

However, the way it's working, even if it successfully downloads a jar from ibiblio, it still proceeds to redownload the jar from the second repository and overwrite the first one it just downloaded.





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org