> -----Original Message-----
> From: Rafal Krzewski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 9:54 AM
> To: Maven Users List
> Subject: Re: Using Maven on a very large integration project - how far
> can Maven go?
>
>
> Tomasz Pik wrote:
>
> > if war plugin finds 'war' dependency then un-war it and
> merge content
> > of dependency war into created war.
> > At least web.xml files should be merged together, probably more
> > descriptor files too - but this may be done as postGoals.
>
> I don't think that merging web.xml or other files is a good idea. The
> logic for that has a good chance of becoming obscure and fragile.
> I would just make the dependant project files override the
> dependencies
> files. Simpler & more predictable...
>
> R.
I agree in 100%.
That's what I did in my version. For the people which were intersted in this
functinality:
I won't manage to push it to CVS before holidays (no time)
I pratically finshed zip plugin which pacakes all project resources into zip
files and merges the content of multiple zips (declared as dependencies_. I
just gave it to somebody for testing (I still have some problems with
resource filtering) and when I'll be sure that it works I can add it to CVS.
Anybody opposes to add this funcionality to RC3?
With this plugin I am able(will be able) to keep in local repositoriy zip
files which contains even such artifacts like JRE/JDKs, Java Service Wrapper
files
etc and only compose those artifacts for particual application.
(To Jason)I belive it will be easy to construct plexus runtime using this
techniue. Pratically no java nor jelly code is needed.
I mean just something like:
<dependencies>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus-runtime</artifactId>
<version>1.0</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus-startup-scripts-win32</artifactId>
<version>1.0</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus-jws-win32</artifactId>
<version>1.0</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>jre</groupId>
<artifactId>jre</artifactId>
<version>1.4.2</version>
<type>zip</type>
</dependency>
.....
</dependencies>
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]