In the recently-released version of the dependency plugin there is now the possibility to run mvn dependency:tree
This should show you why those jars are being pulled in. You will need maven 2.0.8 for dependency:tree to run correctly. Regards, Simon ---- Arash Bizhan zadeh <[EMAIL PROTECTED]> schrieb: > I got the problem. Strangely myfaces and portlet APIs were ended up in my > war file. The problem was that I mentioned commons-chaining in pom as a > dependency, and it is depend on those jar files; I removed the explicit > dependency to it and strangely, now I have it in my war file but not the > dependencies to myfaces and ...! > Though I could not completely figure out how transitive dependency works and > why this happened?! > > On Feb 4, 2008 6:19 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > > > try mvn -npu > > -npu,--no-plugin-updates Suppress upToDate check for any relevant > > registered plugins > > > > which jars are being included that are not supposed to be included? > > > > M- > > ----- Original Message ----- > > From: "Michael McCallum" <[EMAIL PROTECTED]> > > To: "Maven Users List" <[email protected]> > > Sent: Monday, February 04, 2008 6:11 PM > > Subject: Re: How to debug transitive dependencies > > > > > > > On Tue, 05 Feb 2008 10:03:56 Arash Bizhan zadeh wrote: > > > > I am getting some strange unrelated jar files inside my war package. > > Could > > > > somebody tell me how can I debug the transitive resolution process and > > > > eliminate unrelated jar files? > > > > > > > > Thanks > > > > Arash > > > > > > mvn dependency:resolve -X > > > > > > -- > > > Michael McCallum > > > Enterprise Engineer > > > mailto:[EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > > -- > You can not depend on your eyes when your imagination is out of focus. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
