You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/10/26 20:52:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Slawomir Jaranowski updated MPLUGIN-396:
----------------------------------------
    Issue Type: New Feature  (was: Improvement)

> 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: New Feature
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.7.0
>
>
> 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.10#820010)