renamed variable
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1342925 13f79535-47bb-0310-9956-ffa450edef68master
parent
2e6586509a
commit
402137be54
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue