You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2005/03/18 08:50:24 UTC

Re: suggestion/enhancement request : how to deprecate an artifact

I agree my repo should be managed a better way, but I sometimes have 
holidays and they're is no rule to define the groupId - artifactId.

Let's take a look at ibiblio, that should be a reference. What do you 
thing about
xml-apis/xmlParserAPIs-2.0.0.jar 
<http://www.ibiblio.org/maven/xml-apis/jars/xmlParserAPIs-2.0.0.jar>
xml-apis/xml-apis-2.0.0.jar 
<http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.0.jar>
and
xerces/xmlParserAPIs-2.0.0.jar 
<http://www.ibiblio.org/maven/xerces/jars/xmlParserAPIs-2.0.0.jar>

If I'm a developper, what artifact should I depend on ?

As old build may depend on any of those artifact locations, they're is 
no way to avoid such duplicated artifacts in the repo. Having a 
"deprecated-dependency" warning may be a good way to help developpers to 
use the correct groupId/artifactId.

Nico.




>3) Moreover, you can define more than one repository with the property
>maven.repo.remote. For instance, a dev repository and a production one.
>  
>
This is probably the best way to handle it. Split your repository into a
"current" and "archive". Don't promote builds that require the archive
(unless they are old builds).

- Brett



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


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