On Sat, Mar 12, 2011 at 5:26 AM, John Lussmyer <[email protected]>wrote:

> We have a large project hierarchy, and use "mvn eclipse:eclipse" to
> generate Eclipse projects for it.
> In 3 of the projects, maven adds a dependency to "spring-2.0.3.jar" - which
> we don't use, and don't have.
> This .jar does not appear in ANY of our pom.xml files.
> "mvn dependency:tree" doesn't find any references to this jar either.
>
> Any ideas on how to get rid of these added, annoying, unwanted,
> dependencies?
>

eclipse:eclipse doesn't make up dependencies, it must be in there somewhere.

try using -X and wading though the console output, that should list spring
and maybe you can see how it is included.

It's odd that mvn dependency:tree doesn't find your dependency.

Reply via email to