diff --git a/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java b/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java index be099a040a..7532b8773e 100644 --- a/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java +++ b/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java @@ -131,15 +131,15 @@ public class DescribeMojo if ( pluginPrefix != null ) { -// try -// { + try + { descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix ); -// } -// catch ( PluginManagerException e ) -// { -// throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix -// + "\'.", e ); -// } + } + catch ( PluginManagerException e ) + { + throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix + + "\'.", e ); + } } else if ( groupId != null && artifactId != null ) {