[
http://jira.codehaus.org/browse/MNG-4057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-4057.
----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 3.0-alpha-3
2.1.0
2.0.11
Done in [r748815|http://svn.eu.apache.org/viewvc?view=rev&revision=748815],
[r748817|http://svn.eu.apache.org/viewvc?view=rev&revision=748817] and
[r748820|http://svn.eu.apache.org/viewvc?view=rev&revision=748820],
respectively.
> Propose checking of plugin artifact when plugin descriptor cannot be found
> --------------------------------------------------------------------------
>
> Key: MNG-4057
> URL: http://jira.codehaus.org/browse/MNG-4057
> Project: Maven 2
> Issue Type: Improvement
> Components: Plugins and Lifecycle
> Affects Versions: 2.0.10, 2.1.0-M1
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Trivial
> Fix For: 2.0.11, 2.1.0, 3.0-alpha-3
>
>
> From the plugin manager:
> {code:java}
> PluginDescriptor addedPlugin = pluginCollector.getPluginDescriptor( plugin );
> if ( addedPlugin == null )
> {
> throw new IllegalStateException( "The PluginDescriptor for the plugin " +
> plugin + " was not found." );
> }
> {code}
> One scenario where this actually happens is when the plugin JAR is
> unreadable. Hence, we should extend the error message and propose to the
> users to check whether the plugin JAR ({{pluginArtifact.getFile()}}) is
> intact.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira