The following comment has been added to this issue:

     Author: Brill Pappin
    Created: Fri, 23 Jan 2004 1:33 PM
       Body:
There is also the issue of plugin not respecting the override directive for an 
artifact.

I've found as I work with Maven that the override is extramly important (not 
everything is always in the remote repo) and several plugin ignore the diretive, 
generating bad files (ANt plugin and Eclipse plugin are two the are most annoying to 
me personally).


---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-558&page=comments#action_16087

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-558

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-558
    Summary: Errors incorrectly reported when an artifact does not exist on a remote 
repo
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-final
   Versions:
             1.0-beta-9

   Assignee: 
   Reporter: David Zeleznik

    Created: Wed, 9 Jul 2003 9:25 PM
    Updated: Fri, 23 Jan 2004 1:33 PM

Description:
The expected behavior of the DependencyVerifier is to check all remote repos for an 
artifact. If the artifact is successfully downloaded from at least one remote repo, 
the fact that the artifact may not exist on other remote repos is supposed to be 
ignored. Instead, the error is reported to the console "Error retrieving artifact from 
...".

The logic in DependencyVerifier is actually correct. The problem is in r1.26 of 
HttpUtils.getFile() which incorrectly throws a generic Exception when a file is not 
found at a remote URL. Instead, HttpUtils should throw a FileNotFound exception for 
this case, which will then be caught and handled properly by DependencyVerifier.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to