renamed variable

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342925 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2012-05-26 16:55:47 +00:00
parent 2e6586509a
commit 402137be54
2 changed files with 5 additions and 5 deletions

View File

@ -201,7 +201,7 @@ public class PluginHelpGenerator
{
properties.put( "helpPackageName", "" );
}
properties.put( "propertiesFilePath", propertiesFilePath + "/plugin-description.xml" );
properties.put( "pluginDescriptionPath", propertiesFilePath + "/plugin-description.xml" );
// FIXME encoding !
StringWriter stringWriter = new StringWriter();

View File

@ -82,15 +82,15 @@ public class HelpMojo
*/
private int indentSize;
// groupId/artifactId/version
private String pluginDescriptorPath = "/${propertiesFilePath}";
// groupId/artifactId/plugin-description.xml
private String pluginDescriptionPath = "/${pluginDescriptionPath}";
private Xpp3Dom build()
throws MojoExecutionException
{
// olamy more than one pluginDescriptor in the classloader possible ?
getLog().debug( "load pluginDescriptorPath: " + pluginDescriptorPath );
InputStream is = getClass().getResourceAsStream( pluginDescriptorPath );
getLog().debug( "load plugin-description.xml: " + pluginDescriptionPath );
InputStream is = getClass().getResourceAsStream( pluginDescriptionPath );
try
{
return Xpp3DomBuilder.build( is, "ISO-8859-1" );