mirror of https://github.com/apache/maven.git
[MNG-4057] Propose checking of plugin artifact when plugin descriptor cannot be found
o Merged from r748815 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748820 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8b2bb7b3c
commit
af31b86868
|
@ -354,8 +354,9 @@ public class DefaultPluginManager
|
|||
getLogger().debug( "Removing invalid plugin realm." );
|
||||
realmManager.disposePluginRealm( projectPlugin );
|
||||
|
||||
throw new PluginManagerException( projectPlugin, "The PluginDescriptor for the plugin "
|
||||
+ projectPlugin.getKey() + " was not found. Should have been in realm: " + pluginRealm, project );
|
||||
throw new PluginManagerException( projectPlugin, "The plugin descriptor for the plugin "
|
||||
+ projectPlugin.getKey() + " was not found. Should have been in realm: " + pluginRealm
|
||||
+ " Please verify that the plugin JAR " + pluginArtifact.getFile() + " is intact.", project );
|
||||
}
|
||||
|
||||
pluginDescriptor.setPluginArtifact( pluginArtifact );
|
||||
|
|
Loading…
Reference in New Issue