[MPLUGIN-232] java-basic-annotations IT for maven-plugin-plugin fails with M2.2.1 due to a missing description-tag in the plugin-help.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405401 13f79535-47bb-0310-9956-ffa450edef68master
parent
6e6ee108b7
commit
224a654684
|
|
@ -214,7 +214,7 @@ public class PluginDescriptorGenerator
|
|||
|
||||
String description = mojoDescriptor.getDescription();
|
||||
|
||||
if ( description != null )
|
||||
if ( StringUtils.isNotEmpty( description ) )
|
||||
{
|
||||
w.startElement( "description" );
|
||||
if ( helpDescriptor )
|
||||
|
|
|
|||
Loading…
Reference in New Issue