Torsten,
You got it. Because compile picks up transitive dependencies, you are
actually relying on someone else's dependency to get compiled. That
means you lose control over which version is used and the actual
dependency tree isn't accurately reflecting your project.

--Brian

-----Original Message-----
From: Torsten Schlabach [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 10:00 AM
To: Maven Users List
Subject: What is a used, undeclared dependency?

Hi?

I am analyzing my project with the dependency plugin:

http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.htm
l

It says I have used, undeclared dependencies.

Does that mean, my code depends on libs which I have failed to declare 
as a dependency, but Maven applied some magic to provide them anyway?

Regards,
Torsten

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

Reply via email to