MPLUGIN-71: Make JavaMojoDescriptorExtractor extract class-level deprecated tag
Submitted by: Benjamin Bentmann Reviewed by: Vincent Siveton o applied git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@620120 13f79535-47bb-0310-9956-ffa450edef68master
parent
da2a058a67
commit
99f6b964ab
|
|
@ -223,6 +223,17 @@ public class JavaMojoDescriptorExtractor
|
||||||
mojoDescriptor.setSince( since.getValue() );
|
mojoDescriptor.setSince( since.getValue() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------
|
||||||
|
// Deprecation hint
|
||||||
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
DocletTag deprecated = javaClass.getTagByName( DEPRECATED );
|
||||||
|
|
||||||
|
if ( deprecated != null )
|
||||||
|
{
|
||||||
|
mojoDescriptor.setDeprecated( deprecated.getValue() );
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// Phase name
|
// Phase name
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue