You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/07/20 09:26:35 UTC
[jira] Updated: (MNG-507) Implement POM repository relocation
[ http://jira.codehaus.org/browse/MNG-507?page=all ]
Brett Porter updated MNG-507:
-----------------------------
Description:
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.
was:
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.
Environment:
Summary: Implement POM repository relocation (was: Add deprecation information to POM)
I don't think we should do a deprecation of artifacts, as of the chicken and egg problem, so lets just aim for the supersedes functionality in a later version. We can, however, do pointers which are similar and I think what is intended in the discussion so far: a POM is moved and replaced with a POM that points to the new one with a message. This makes historical builds work with a warning (from a clean repository).
Suggested syntax:
<distributionManagement>
<relocation>
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
<message>...</message>
</relocation>
</distributionManagement>
Version would match by default.
> Implement POM repository relocation
> -----------------------------------
>
> 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: Blocker
> 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