From 643c8de61cd5ff6426485be6b3fbd5d1e9b688c7 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 11 May 2012 16:46:13 +0000 Subject: [PATCH] fix package name parameter for help generation git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337278 13f79535-47bb-0310-9956-ffa450edef68 --- maven-plugin-plugin/src/it/help-package/pom.xml | 2 +- .../src/main/resources/help-class-source.vm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-plugin-plugin/src/it/help-package/pom.xml b/maven-plugin-plugin/src/it/help-package/pom.xml index 842afc1..20b74fd 100644 --- a/maven-plugin-plugin/src/it/help-package/pom.xml +++ b/maven-plugin-plugin/src/it/help-package/pom.xml @@ -23,7 +23,7 @@ under the License. 4.0.0 org.apache.maven.its.plugin - help + help-package 1.0-SNAPSHOT maven-plugin diff --git a/maven-plugin-tools-api/src/main/resources/help-class-source.vm b/maven-plugin-tools-api/src/main/resources/help-class-source.vm index f4e356a..0df0df7 100644 --- a/maven-plugin-tools-api/src/main/resources/help-class-source.vm +++ b/maven-plugin-tools-api/src/main/resources/help-class-source.vm @@ -1,5 +1,5 @@ -#if ($helpPackageName.length>0) - package ${helpPackageName}; +#if ($helpPackageName.length()>0) +package ${helpPackageName}; #end import org.apache.maven.plugin.AbstractMojo;