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( "helpPackageName", "" );
|
||||||
}
|
}
|
||||||
properties.put( "propertiesFilePath", propertiesFilePath + "/plugin-description.xml" );
|
properties.put( "pluginDescriptionPath", propertiesFilePath + "/plugin-description.xml" );
|
||||||
// FIXME encoding !
|
// FIXME encoding !
|
||||||
|
|
||||||
StringWriter stringWriter = new StringWriter();
|
StringWriter stringWriter = new StringWriter();
|
||||||
|
|
|
||||||
|
|
@ -82,15 +82,15 @@ public class HelpMojo
|
||||||
*/
|
*/
|
||||||
private int indentSize;
|
private int indentSize;
|
||||||
|
|
||||||
// groupId/artifactId/version
|
// groupId/artifactId/plugin-description.xml
|
||||||
private String pluginDescriptorPath = "/${propertiesFilePath}";
|
private String pluginDescriptionPath = "/${pluginDescriptionPath}";
|
||||||
|
|
||||||
private Xpp3Dom build()
|
private Xpp3Dom build()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
// olamy more than one pluginDescriptor in the classloader possible ?
|
// olamy more than one pluginDescriptor in the classloader possible ?
|
||||||
getLog().debug( "load pluginDescriptorPath: " + pluginDescriptorPath );
|
getLog().debug( "load plugin-description.xml: " + pluginDescriptionPath );
|
||||||
InputStream is = getClass().getResourceAsStream( pluginDescriptorPath );
|
InputStream is = getClass().getResourceAsStream( pluginDescriptionPath );
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return Xpp3DomBuilder.build( is, "ISO-8859-1" );
|
return Xpp3DomBuilder.build( is, "ISO-8859-1" );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue