make sure you 'mvn clean' after you remove the deps otherwise they are still 
sitting in the exploded war in target...

On Tue, 05 Feb 2008 15:40:45 Arash Bizhan zadeh wrote:
> 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" <users@maven.apache.org>
> > 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
> > > > 

> > >
> > > 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]
-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to