From 74c384ebe51d7ec71b38afabbf0b54f06612b451 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Tue, 2 Sep 2008 08:26:12 +0000 Subject: [PATCH] [MPLUGIN-138] Suppress bogus warning in case goalPrefix has been set to default goal prefix git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@691149 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java index 2f77aa0..758a215 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java @@ -115,7 +115,7 @@ public abstract class AbstractGeneratorMojo { goalPrefix = defaultGoalPrefix; } - else + else if ( !goalPrefix.equals( defaultGoalPrefix ) ) { getLog().warn( "\n\nGoal prefix is specified as: '" + goalPrefix + "'. "