You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2010/05/22 03:04:08 UTC

Tracking down a stray dependency on a plugin?

mvn -X shows me a dependency on a plugin that I can't explain. This is
a plugin which, on its, has very few dependencies, and depends on
explicit dependency declarations. -X is showing me something that
should not be in there. dependency:tree doesn't look at plugins. Is
there something else which will give me a clue?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Tracking down a stray dependency on a plugin?

Posted by Benson Margulies <bi...@gmail.com>.
Thanks.

The case at hand is the -X message for:

[DEBUG] Adding managed dependencies for com.basistech:maven-rex2009task-plugin
[DEBUG]   com.basistech:common:jar:4
[DEBUG]   com.basistech:ap-segmentation-features:jar:9-SNAPSHOT
[DEBUG]   com.basistech.rse:rlp-breaks:jar:1.4.99.5-SNAPSHOT

One of these is not visible in the plugin's dependency:tree. In fact,
if I delete the mysterious item from the local repo, and run
--offline, I get no error message. I don't know if it's a logging bug
or what.



On Sat, May 22, 2010 at 6:57 AM, Jörg Schaible <jo...@gmx.de> wrote:
> Benson Margulies wrote:
>
>> mvn -X shows me a dependency on a plugin that I can't explain. This is
>> a plugin which, on its, has very few dependencies, and depends on
>> explicit dependency declarations. -X is showing me something that
>> should not be in there. dependency:tree doesn't look at plugins. Is
>> there something else which will give me a clue?
>
> Use "mvn dependency:tree -f <pom-of-plugin.xml>"
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Tracking down a stray dependency on a plugin?

Posted by Jörg Schaible <jo...@gmx.de>.
Benson Margulies wrote:

> mvn -X shows me a dependency on a plugin that I can't explain. This is
> a plugin which, on its, has very few dependencies, and depends on
> explicit dependency declarations. -X is showing me something that
> should not be in there. dependency:tree doesn't look at plugins. Is
> there something else which will give me a clue?

Use "mvn dependency:tree -f <pom-of-plugin.xml>"

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org