[MPLUGIN-161] plugin:xdoc generates an incomplete description about the execution of another plugin goal
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@821367 13f79535-47bb-0310-9956-ffa450edef68master
parent
63cd33c8c4
commit
0556d6182d
|
|
@ -771,9 +771,13 @@ public class PluginXdocGenerator
|
||||||
*/
|
*/
|
||||||
private String format( String key, Object[] args )
|
private String format( String key, Object[] args )
|
||||||
{
|
{
|
||||||
|
String pattern = getString( key );
|
||||||
|
// we don't need quoting so spare us the confusion in the resource bundle to double them up in some keys
|
||||||
|
pattern = StringUtils.replace( pattern, "'", "''" );
|
||||||
|
|
||||||
MessageFormat messageFormat = new MessageFormat( "" );
|
MessageFormat messageFormat = new MessageFormat( "" );
|
||||||
messageFormat.setLocale( locale );
|
messageFormat.setLocale( locale );
|
||||||
messageFormat.applyPattern( getBundle().getString( key ) );
|
messageFormat.applyPattern( pattern );
|
||||||
|
|
||||||
return messageFormat.format( args );
|
return messageFormat.format( args );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue