You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/04/12 08:22:00 UTC

[jira] [Commented] (MPLUGIN-396) Allow only @Deprecated annotation without @deprecated javadoc tag

    [ https://issues.apache.org/jira/browse/MPLUGIN-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521004#comment-17521004 ] 

Michael Osipov commented on MPLUGIN-396:
----------------------------------------

[~sjaranowski], thanks for creating this issue. I exactly had this in mind.

> Allow only @Deprecated annotation without @deprecated javadoc tag
> -----------------------------------------------------------------
>
>                 Key: MPLUGIN-396
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-396
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>
> Currently to effective deprecate Mojo parameters we must define both {{@Deprecated}} annotation and {{@deprecated}} javadoc tag.
> Definition must be:
> {code:java}
>     /**
>      * A parameter description
>      *
>      * @deprecated
>      */
>     @Deprecated
>     @Parameter
>     private String param;
> {code}
> should be allowed as:
> {code:java}
>     @Deprecated
>     @Parameter
>     private String param;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)