You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/09/02 10:26:13 UTC

svn commit: r691149 - /maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java

Author: bentmann
Date: Tue Sep  2 01:26:12 2008
New Revision: 691149

URL: http://svn.apache.org/viewvc?rev=691149&view=rev
Log:
[MPLUGIN-138] Suppress bogus warning in case goalPrefix has been set to default goal prefix

Modified:
    maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java

Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java?rev=691149&r1=691148&r2=691149&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java Tue Sep  2 01:26:12 2008
@@ -115,7 +115,7 @@
         {
             goalPrefix = defaultGoalPrefix;
         }
-        else
+        else if ( !goalPrefix.equals( defaultGoalPrefix ) )
         {
             getLog().warn(
                            "\n\nGoal prefix is specified as: '" + goalPrefix + "'. "