> -----Original Message-----
> From: Felipe Leme [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 29, 2004 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PROPOSAL] Zip plugin
> 
> 
> On Thu, 29 Jul 2004 13:57:15 +0200, "Eric Pugh" 
> <[EMAIL PROTECTED]> wrote:
> 
>  > I have two projects that basically take a jar, add a bunch 
> of scripts 
> etc,
>  > and then use the jar plugin to jar it up and then rename 
> to zip.  Not 
> sure
>  > if it needs a whole nother plugin though..
> 
> We need at least a specific goal for that, as your 'zipfied jar' has 
> some META-INF garbage (like MANIFEST.MF) which is probably 
> not necessary.
> 
> Now that you mentioned your problem, I will take advantage to 
> ask a RTFM 
> question: is there a goal that merge two or more jars? For instance, 
> let's say I have a project that is divided in many source 
> directories. 
> The way maven works, I should create one project for each dir and use 
> multiproject to generate all JARs. The problem is, I'd like to 
> distribute the final product in just one JAR. So, do we have 
> a goal for 
> that? If not, maybe we could add it to the maven-jar-plugin
> 

I have my own version of zip plugin which does that - not only creates a zip
but also merges other zips.

I do the same thing with wars (war plugin) - in that case I often need to
replace some files (configuration, css, etc)

>  > Of the top of my head, it feels like something that ought 
> to be added 
> to the
>  > 'dist' plugin...
> 
> I still think it makes more sense to have a separated plugin, as its 
> behaviour and goals (like zip:install, zip:zip, zip:deploy, 
> zip:deploy-snapshot, etc...) would be analogous to existing archiving 
> plugins, like jar, war, rar, etc... (in fact, such a plugin would be 
> part of the plexus-archiver, when it's ready...).
> 

I think so. 

If you're intersted I can send you my version of zip plugin.
In fact I wrote it for other team at my work and I don't use it anymore at
the moment that's why I am not addig it to cvs.
If it will work for you (you can modify it to match your needs) I can add it
to cvs. It is nothing fancy - no more then 100 lines of jelly ...

Michal

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

Reply via email to