Re: ghost dependencies
Thanks Nick, that helped. I was confused because the dependency tree from the command line in my site was not showing this transitive dependency. Darren Nick Stolwijk-3 wrote: > > Could you run mvn -X install on your project and search the output for > this dependency. Maybe that will clear things up? > > Hth, > > Nick Stolwijk > > > Darren Salomons wrote: >> When I package up my WAR file I get a jar file(avalon-framework) bundled >> up >> with it that is not a dependency nor a transitive dependency. Running >> dependency:resolve it mysteriously shows up as a compile time dependency >> but >> when I run the dependency:tree it doesn't show up. I did a full text >> search >> for avalon-framework in my pom files in my local repo and the only hit is >> the avalon-framework pom. The jar is not in my WEB-INF/lib in case >> you're >> wondering. How could this be happening? >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/ghost-dependencies-tf4548553s177.html#a12980808 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ghost dependencies
Is it possible that you used to have a dependency on it (perhaps transitively), and haven't run "mvn clean" to remove it from target, so it is still getting bundled in the WAR? Wayne On 10/1/07, Darren Salomons <[EMAIL PROTECTED]> wrote: > > When I package up my WAR file I get a jar file(avalon-framework) bundled up > with it that is not a dependency nor a transitive dependency. Running > dependency:resolve it mysteriously shows up as a compile time dependency but > when I run the dependency:tree it doesn't show up. I did a full text search > for avalon-framework in my pom files in my local repo and the only hit is > the avalon-framework pom. The jar is not in my WEB-INF/lib in case you're > wondering. How could this be happening? > -- > View this message in context: > http://www.nabble.com/ghost-dependencies-tf4548553s177.html#a12979835 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > 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]
Re: ghost dependencies
Could you run mvn -X install on your project and search the output for this dependency. Maybe that will clear things up? Hth, Nick Stolwijk Darren Salomons wrote: When I package up my WAR file I get a jar file(avalon-framework) bundled up with it that is not a dependency nor a transitive dependency. Running dependency:resolve it mysteriously shows up as a compile time dependency but when I run the dependency:tree it doesn't show up. I did a full text search for avalon-framework in my pom files in my local repo and the only hit is the avalon-framework pom. The jar is not in my WEB-INF/lib in case you're wondering. How could this be happening? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]