diff --git a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java index 0a296ce6f2..18a7f613a2 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java @@ -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 );