RE: How to omit/include a jar file during packaging

2008-06-20 Thread prabho
Engineer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > > -Original Message- > From: prabho [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 19, 2008 11:44 PM > To: users@maven.apache.org > Subject: RE: How

RE: How to omit/include a jar file during packaging

2008-06-20 Thread Beelen, M. - SPLXL
Sent: Thursday, June 19, 2008 11:44 PM To: users@maven.apache.org Subject: RE: How to omit/include a jar file during packaging Thanks a lot. I am having a problem in including a jar file though. I have the following directory structure. Dir A/ - lib/ - pom.xml Dir B/ - WEB-I

RE: How to omit/include a jar file during packaging

2008-06-19 Thread prabho
Thanks a lot. I am having a problem in including a jar file though. I have the following directory structure. Dir A/ - lib/ - pom.xml Dir B/ - WEB-INF/lib - pom.xml (includes dependency for Dir A) Dir C/ - pom.xml I want to place the jar files in Dir B/WEB-INF/lib dire

RE: How to omit/include a jar file during packaging

2008-06-19 Thread Beelen, M. - SPLXL
Hi Prabhu, If you want to build your war-file, but don't want a certain dependency to be included in the WEB-INF/lib-directory, then you should mark the dependency as being provided as described in the introduction to dependency mechanism[1]. By doing so the jar will be available during compilati

Re: How to omit/include a jar file during packaging

2008-06-19 Thread Julien Simon
Hi, You could specify a provided scope for the dependency that you don't want to package in your WAR. It will use the dependency for the compile phase, but will not include it in your war. my-jar-group my-jar-artifact provided On Thu, Jun 19, 2008 at 4:14 PM, prabho <[EMAIL