J�rg Schaible wrote:
IMHO there should be a distinction between direct and
transitive dependencies in the POM. I should be able to
*suggest* the version of the transitive dependencies to use,
but not have it included in the cleaapath if no direct dependency
references it.
Nicola, you can use the <dependencyManagement /> element of the POM for
this purpose. While this is not presently being applied to the
transitive dependencies themselves, it will be when the next feature run
is done on that code. There is presently no equivalent in the ant tasks,
though it is definitely a good addition.
... and it is not the version only. If two components need e.g. Java Activation
Framework, each may use a different impl (Sun, GNU or Geronimo's) although they
can be interchanged.
Specification dependencies have been pushed out to Maven 2.1. It is
still possible to define which ones you want and which you exclude, but
there is no built in recognition of their relationship currently.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]