The following issue has been updated:
Updater: Brian Murray (mailto:[EMAIL PROTECTED])
Date: Fri, 26 Sep 2003 12:50 PM
Comment:
Here's a patch which catches the exception, breaks out of the loop as soon as the
plugin is found and <ant:fails> if the plugin was not found in any repo.
Changes:
Attachment changed to plugin-pluginjelly.diff
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-860&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-860
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-860
Summary: plugin:download fails if plugin is not found in first repository
Type: Bug
Status: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-plugin
Versions:
1.0-rc1
Assignee:
Reporter: Brian Murray
Created: Fri, 26 Sep 2003 12:48 PM
Updated: Fri, 26 Sep 2003 12:50 PM
Description:
The download goal of the plugin plug-in fails if you have multiple remote repositories
in ${maven.repo.remote} and the plugin you're looking for is not found in the first
repository.
The problem is caused because HttpUtils.getFile(...) throws a FileNotFound exception
if the file you are trying to get is not found. plugin:download does not catch this
exception so the exception floats up and kills the build.
---------------------------------------------------------------------
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]