Jim Crossley <[EMAIL PROTECTED]> wrote on 18/03/2004 01:57:22 PM:
> Trying once again for a reply. Pretty please...
> > But for testing, it's convenient to deploy the wars separately, in
> > which case the external jars must be put in WEB-INF/lib.
> >
> > How do I arrange my ?ar.bundle dependency properties in the pom so
> > that when I build the war subproject, the external jars are packaged
> > with the war, and when I build the ear subproject, they are not?
> >
> > I've tried this: <war.bundle>${bundle.war}</war.bundle>
> >
> > And then in the root project.properties, I set bundle.war=false. In
> > the war subproject I set bundle.war=true. But it seems the
> > subproject's bundle.war property always takes precedence, whether I
> > build from the root or not.
> >
> > Any other suggestions?
Have a postGoal on war that uses a property set in the parent to remove
the unwanted jars after the war creation?
--
dIon Gillard, Multitask Consulting