You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2005/10/03 21:26:44 UTC

svn commit: r293439 - /maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java

Author: jvanzyl
Date: Mon Oct  3 12:26:42 2005
New Revision: 293439

URL: http://svn.apache.org/viewcvs?rev=293439&view=rev
Log:
o throwing required exception

Modified:
    maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java

Modified: maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java?rev=293439&r1=293438&r2=293439&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java (original)
+++ maven/components/trunk/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java Mon Oct  3 12:26:42 2005
@@ -131,15 +131,15 @@
 
         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 unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org