diff --git a/maven-plugins/maven-projecthelp-plugin/pom.xml b/maven-plugins/maven-projecthelp-plugin/pom.xml index fcbdc61499..c9a209e30b 100644 --- a/maven-plugins/maven-projecthelp-plugin/pom.xml +++ b/maven-plugins/maven-projecthelp-plugin/pom.xml @@ -10,6 +10,11 @@ Maven Project-Help Plugin 2.0-beta-2-SNAPSHOT 2001 + + + 2.0-beta-3-SNAPSHOT + + org.apache.maven @@ -19,7 +24,7 @@ org.apache.maven maven-core - 2.0-beta-1 + 2.0-beta-3-SNAPSHOT org.apache.maven 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 7532b8773e..39ecdddabc 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,7 @@ public class DescribeMojo if ( pluginPrefix != null ) { - try - { - descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix ); - } - catch ( PluginManagerException e ) - { - throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix - + "\'.", e ); - } + descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix ); } else if ( groupId != null && artifactId != null ) {