You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Edward Gruber <cg...@israfil.net> on 2008/04/09 15:46:57 UTC

Renaming an artifact...

Hey,

     I was looking for examples of the following, or instructions.  I  
have a plugin (maven-flex2-plugin) that really should be called (maven- 
flex-plugin), since it can run flex2 or flex3.  I'd like to rename the  
artifactId, but somehow have the original there redirecting to the new  
artifact.  I seem to recall there was some metadata that I could use  
to do this, but cannot for the life of me find an example.  Any clues?

Christian.


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


RE: Renaming an artifact...

Posted by MATHUS Baptiste <ma...@mipih.fr>.
> -----Message d'origine-----
> De : Wendy Smoak [mailto:wsmoak@gmail.com] 
> Envoyé : mercredi 9 avril 2008 17:22
> You may be thinking of "relocation" [1] ,but so far I've only 
> seen it used for changing groupIds.
> 
> [1] http://maven.apache.org/guides/mini/guide-relocation.html

FWIW: I already used this guide to relocate an artifact whom I'm changed groupId, artifactId AND version. 
It worked very well.

Cheers.

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


RE: Renaming an artifact...

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
You can relocate any part of the signature...however it does _not_ work
for plugins.

-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com] 
Sent: Wednesday, April 09, 2008 11:22 AM
To: Maven Users List
Subject: Re: Renaming an artifact...

On Wed, Apr 9, 2008 at 3:46 PM, Christian Edward Gruber
<cg...@israfil.net> wrote:
>     I was looking for examples of the following, or instructions.  I
have a
> plugin (maven-flex2-plugin) that really should be called
> (maven-flex-plugin), since it can run flex2 or flex3.  I'd like to
rename
> the artifactId, but somehow have the original there redirecting to the
new
> artifact.  I seem to recall there was some metadata that I could use
to do
> this, but cannot for the life of me find an example.  Any clues?

You may be thinking of "relocation" [1] ,but so far I've only seen it
used for changing groupIds.

[1] http://maven.apache.org/guides/mini/guide-relocation.html

-- 
Wendy

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


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


Re: Renaming an artifact...

Posted by Wendy Smoak <ws...@gmail.com>.
On Wed, Apr 9, 2008 at 3:46 PM, Christian Edward Gruber
<cg...@israfil.net> wrote:
>     I was looking for examples of the following, or instructions.  I have a
> plugin (maven-flex2-plugin) that really should be called
> (maven-flex-plugin), since it can run flex2 or flex3.  I'd like to rename
> the artifactId, but somehow have the original there redirecting to the new
> artifact.  I seem to recall there was some metadata that I could use to do
> this, but cannot for the life of me find an example.  Any clues?

You may be thinking of "relocation" [1] ,but so far I've only seen it
used for changing groupIds.

[1] http://maven.apache.org/guides/mini/guide-relocation.html

-- 
Wendy

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