[ 
https://jira.codehaus.org/browse/MNG-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343580#comment-343580
 ] 

Klaus Claszen commented on MNG-5604:
------------------------------------

Mirko & Paul, thanks for the hints to the usage of the enforcer plugin. But I 
think similar to the "relocation" element in the pom some kind of "deprecated" 
would also be useful. The information should be provided in the artifact itself 
by the author of the module and would be a first hand information. Of course 
new version(s) have to be provided with this information because you can not 
republish released versions.

As the author of a module I just would like to have the possibility to provide 
the information that this module should not be used anymore. So far I need to 
mark all classes as @Deprecated.

> make it possible to mark a maven module as deprected
> ----------------------------------------------------
>
>                 Key: MNG-5604
>                 URL: https://jira.codehaus.org/browse/MNG-5604
>             Project: Maven 2 & 3
>          Issue Type: Wish
>          Components: Artifacts and Repositories
>    Affects Versions: 3.2.1
>            Reporter: Klaus Claszen
>            Priority: Minor
>              Labels: build, pom.xml
>
> It would be great if it would be possible to mark a maven module as 
> 'deprecated'. It would help to document that a module is outdated. The 
> information could be used during build processes to show warnings and guide 
> the user to a better alternative.
> Maybe it could be a pom enhancement linke this
> {code:xml}
> <deprecated>
>   <reason>not maintained anymore</reason>
>   <instead>
>     <groupId>foo</groupId>
>     <artifactId>bar</artifactId>
>   </instead>
> </deprecated>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to