o be sure that deprecated tag for parameter is not empty
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@690503 13f79535-47bb-0310-9956-ffa450edef68master
parent
e14d6818b1
commit
e4a1c9311d
|
|
@ -351,7 +351,14 @@ public class PluginDescriptorGenerator
|
|||
|
||||
if ( parameter.getDeprecated() != null )
|
||||
{
|
||||
PluginUtils.element( w, "deprecated", parameter.getDeprecated() );
|
||||
if ( StringUtils.isEmpty( parameter.getDeprecated() ) )
|
||||
{
|
||||
PluginUtils.element( w, "deprecated", "No reason given" );
|
||||
}
|
||||
else
|
||||
{
|
||||
PluginUtils.element( w, "deprecated", parameter.getDeprecated() );
|
||||
}
|
||||
}
|
||||
|
||||
if ( parameter.getImplementation() != null )
|
||||
|
|
|
|||
Loading…
Reference in New Issue