Author: hboutemy Date: Sat May 26 16:55:47 2012 New Revision: 1342925 URL: http://svn.apache.org/viewvc?rev=1342925&view=rev Log: renamed variable
Modified: maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm Modified: maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java?rev=1342925&r1=1342924&r2=1342925&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java (original) +++ maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java Sat May 26 16:55:47 2012 @@ -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(); Modified: maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm?rev=1342925&r1=1342924&r2=1342925&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm (original) +++ maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm Sat May 26 16:55:47 2012 @@ -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" );