So, I ran: mvn -X eclipse:eclipse
And sorted through the output.
There are NO occurrences of "spring-2.0.3".  There are NO occurrences of "2.0.3"

We are using Spring 3.0.2 - Which is spread through a dozen jars, and doesn't 
have a spring.jar.

-----Original Message-----
From: Jörg Schaible [mailto:[email protected]] 
Sent: Monday, March 14, 2011 12:39 AM
To: [email protected]
Subject: Re: Extra dependency added to eclipse projects

Barrie Treloar wrote:

> 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.

If he uses M3 then the output may be different to the real deps.

- Jörg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Reply via email to