Hi,

if you build the zip with the assembly-plugin just use the singe or attach goal to build the assembly. It will then get attached to the project automatically and the deploy plugin will deploy it alongside the other project artifacts in the deploy phase.

If you generate the zip in some other way, you can use the buildhelper-plugin [1] from the mojo project to attach arbitrary artifacts to your projects.

-Tim

[1] http://mojo.codehaus.org/build-helper-maven-plugin/

Nicolai Wöller schrieb:
Hi again,

I know that I have to use the deploy phase when I want to deploy an artifact 
;-) My question was how do I tell maven to deploy or install a custom artifact 
and not just a plain .jar-file.


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jeff MAURY
Gesendet: Dienstag, 20. Mai 2008 12:46
An: Maven Users List
Betreff: Re: How to install / deploy a custom artifact?

Use the mvn deploy phase.

Jeff MAURY

On Tue, May 20, 2008 at 12:40 PM, Nicolai Wöller <[EMAIL PROTECTED]>
wrote:

Hello,

I am building a custom artifact (.zip-file) during the package phase, which I'd like to install and / or deploy into a local / remote maven repository instead of the plain .jar-file.
Is this possible and how do I manage to do this?

Thanks

Nico




--
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste 
C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui 
rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec 
des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de 
permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to