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;