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
master
Herve Boutemy 2012-05-26 21:14:01 +00:00
parent d6f76bfc90
commit aa60192803
1 changed files with 3 additions and 3 deletions

View File

@ -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 ) );