You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/07/15 18:46:57 UTC

[jira] Commented: (MNG-507) Add deprecation information to POM

    [ http://jira.codehaus.org/browse/MNG-507?page=comments#action_42890 ] 

John Casey commented on MNG-507:
--------------------------------

I'm adding a section that will look like this:

<deprecated>
  <reason>Foo 1.x is no longer actively maintained.</reason>
  <alternative>
    <groupId>org.myco.stuff</groupId>
    <artifactId>foo</artifactId>
    <version>2.0</version>
  </alternative>
</deprecated>

However, I'm not really in favor of directly adding the suggested alternative as a dependency, since it could get in the way of development where they're not ready to move to the alternative...not to mention changing the dependency information of the project itself to be an inaccurate representation.

The project builder should detect deprecated poms and output warnings along with suggested alternatives.

> Add deprecation information to POM
> ----------------------------------
>
>          Key: MNG-507
>          URL: http://jira.codehaus.org/browse/MNG-507
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-model
>     Reporter: Carlos Sanchez
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
>
> Add deprecation information to POM. Probably just a String explaining why the artifact was deprecated. 
> If we'd like to suggest the use of a different artifact we can add a dependency to it and it'll get added through transitive resolution.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org