From aa6019280383679984e3c4ad2a2504bd65d1fe40 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sat, 26 May 2012 21:14:01 +0000 Subject: [PATCH] created PLUGIN_HELP_PATH constant instead of pluginHelpPath attribute git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342969 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/help-class-source.vm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-plugin-tools-generators/src/main/resources/help-class-source.vm b/maven-plugin-tools-generators/src/main/resources/help-class-source.vm index 4f517cb..a39b0bf 100644 --- a/maven-plugin-tools-generators/src/main/resources/help-class-source.vm +++ b/maven-plugin-tools-generators/src/main/resources/help-class-source.vm @@ -84,14 +84,14 @@ public class HelpMojo private int indentSize; // groupId/artifactId/plugin-help.xml - private String pluginHelpPath = "/${pluginHelpPath}"; + private static final String PLUGIN_HELP_PATH = "/${pluginHelpPath}"; private Xpp3Dom build() throws MojoExecutionException { // olamy more than one pluginDescriptor in the classloader possible ? - getLog().debug( "load plugin-help.xml: " + pluginHelpPath ); - InputStream is = getClass().getResourceAsStream( pluginHelpPath ); + getLog().debug( "load plugin-help.xml: " + PLUGIN_HELP_PATH ); + InputStream is = getClass().getResourceAsStream( PLUGIN_HELP_PATH ); try { return Xpp3DomBuilder.build( ReaderFactory.newXmlReader( is ) );