This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-help-plugin-2.0
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git

commit aadea91a8ef4af1b10a74e4f710e71f3d100bb9c
Author: Jason van Zyl <jvan...@apache.org>
AuthorDate: Mon Oct 3 19:26:42 2005 +0000

    o throwing required exception
    
    
    git-svn-id: 
https://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-projecthelp-plugin@293439
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/maven/plugins/projecthelp/DescribeMojo.java   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java 
b/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java
index be099a0..7532b87 100644
--- a/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java
+++ b/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 )
         {

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <commits@maven.apache.org>.

Reply via email to