Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-18 Thread Marcel Schutte
Shute, James" <[EMAIL PROTECTED]> To: Maven Users List Sent: Tuesday, April 17, 2007 6:52:08 PM Subject: RE: M2 : Controlling WEB-INF/lib contents in war I had already seen about scopes and my original mail did note that setting the scope to provided for a.jar and b.jar did give me the layo

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Jerome Lacoste
On 4/17/07, Shute, James <[EMAIL PROTECTED]> wrote: The target layout I'm after is: ear | |-lib | |-a.jar | |-b.jar | |-webapp | |-WEB-INF |-web.xml |-lib |-c.jar I can't use warSourceExcludes as AFAIK excludes take precedence over james, I think you need to

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
.1 version of that plugin is released. thanks -Original Message- From: Jerome Lacoste [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 5:04 PM To: Maven Users List Subject: Re: M2 : Controlling WEB-INF/lib contents in war On 4/17/07, Shute, James <[EMAIL PROTECTED]> wrote

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Antonio Petrelli
2007/4/17, Shute, James <[EMAIL PROTECTED]>: An alternative approach I've tried is in the pom for the war to specify the dependencies again, but with a scope of provided, which does stop them being bundled in. However this is a bit of a hack as if I change the versions / add dependencies in futu

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
t; works for me here as the jars will be in the main ear file, so will be available to the war file thanks -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 3:24 PM To: Maven Users List Subject: Re: M2 : Controlling WEB-INF/lib contents in

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
r. Even if it did the include list is pretty ugly and error prone. thanks -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 3:55 PM To: Maven Users List Subject: Re: M2 : Controlling WEB-INF/lib contents in war 2007/4/17, Kathryn Huxtable &

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Antonio Petrelli
2007/4/17, Kathryn Huxtable <[EMAIL PROTECTED]>: He meant "scope". -K No, no! I meant profile, but I misunderstood his needs. James, why using "warSourceIncludes" for your 2 special cases is not feasible? Do you mean that in the EAR there could be a previous version of a JAR than that in the WA

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Kathryn Huxtable
ssage- > From: Antonio Petrelli [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 17, 2007 3:24 PM > To: Maven Users List > Subject: Re: M2 : Controlling WEB-INF/lib contents in war > > 2007/4/17, Shute, James <[EMAIL PROTECTED]>: >> An alternative approach I've t