Why do you want to exclude the transitive dependencies? Is it because these provided by your container (JBoss, Tomcat) and you wish to use those provided versions? How do you verify that the container's versions are compatible?
Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640 -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 9:51 AM To: Maven Users List Subject: Re: How to avoid transitive Dependencies getting packaged The way I do this (and there may be another or better way), I add explicitly add the transitive dependencies to my pom, and mark them as scope "provided". Wayne On 1/8/08, amit kumar <[EMAIL PROTECTED]> wrote: > Hi, > I am building a WAR, but I see some jar files in the lib WEB-INF\lib > folder in the build which are not mentioned in the pom.xml, and > probably are transitive dependencies. How do I make sure the > transitive dependencies are not put in the lib folder. > I looked on maven-war-plugin FAQs but not any help. > > > Could someone please guide on that. > > Regards, > Amit > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
