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

svn commit: r293448 - in /maven/components/trunk/maven-plugins/maven-projecthelp-plugin: pom.xml src/main/java/org/apache/maven/plugins/projecthelp/DescribeMojo.java

Author: jdcasey
Date: Mon Oct  3 13:56:44 2005
New Revision: 293448

URL: http://svn.apache.org/viewcvs?rev=293448&view=rev
Log:
Fixing DescribeMojo for changes to PluginManager API, and setting prerequisite maven version for this version of the projecthelp-plugin because of this.

Modified:
    maven/components/trunk/maven-plugins/maven-projecthelp-plugin/pom.xml
    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/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-projecthelp-plugin/pom.xml?rev=293448&r1=293447&r2=293448&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-projecthelp-plugin/pom.xml (original)
+++ maven/components/trunk/maven-plugins/maven-projecthelp-plugin/pom.xml Mon Oct  3 13:56:44 2005
@@ -10,6 +10,11 @@
   <name>Maven Project-Help Plugin</name>
   <version>2.0-beta-2-SNAPSHOT</version>
   <inceptionYear>2001</inceptionYear>
+  
+  <prerequisites>
+    <maven>2.0-beta-3-SNAPSHOT</maven>
+  </prerequisites>
+  
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
@@ -19,7 +24,7 @@
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
-      <version>2.0-beta-1</version>
+      <version>2.0-beta-3-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>

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=293448&r1=293447&r2=293448&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 13:56:44 2005
@@ -131,15 +131,7 @@
 
         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 )
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org