[MPLUGIN-262] fixed mojo deprecation too
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590392 13f79535-47bb-0310-9956-ffa450edef68master
parent
4f4c32b9dc
commit
8f0a5ee56a
|
|
@ -2,6 +2,8 @@
|
||||||
Tests generation and compilation of the help mojo.
|
Tests generation and compilation of the help mojo.
|
||||||
|
|
||||||
help:test
|
help:test
|
||||||
|
Deprecated. As of 1.0, use the "quoted" goal instead.
|
||||||
|
|
||||||
MOJO-DESCRIPTION. Some 'quotation' marks and backslashes '\\', some important
|
MOJO-DESCRIPTION. Some 'quotation' marks and backslashes '\\', some important
|
||||||
javadoc
|
javadoc
|
||||||
and an inline link to AnotherMojo.
|
and an inline link to AnotherMojo.
|
||||||
|
|
|
||||||
|
|
@ -282,9 +282,9 @@ public class HelpMojo
|
||||||
{
|
{
|
||||||
append( sb, goalPrefix + ":" + mojoGoal, 0 );
|
append( sb, goalPrefix + ":" + mojoGoal, 0 );
|
||||||
Node deprecated = findSingleChild( mojo, "deprecated" );
|
Node deprecated = findSingleChild( mojo, "deprecated" );
|
||||||
if ( ( deprecated != null ) && isNotEmpty( deprecated.getNodeValue() ) )
|
if ( ( deprecated != null ) && isNotEmpty( deprecated.getTextContent() ) )
|
||||||
{
|
{
|
||||||
append( sb, "Deprecated. " + deprecated, 1 );
|
append( sb, "Deprecated. " + deprecated.getTextContent(), 1 );
|
||||||
if ( detail && description != null )
|
if ( detail && description != null )
|
||||||
{
|
{
|
||||||
append( sb, "", 0 );
|
append( sb, "", 0 );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue