Reinhard Poetz wrote:

>> This is ultimately the same conclusion everyone (except the maven
>> guys) seems to come to. Unfortunately, it doesn't work. See
>> http://jira.codehaus.org/browse/MNG-1577.
> 
> yes, unfortunatly it doesn't work for transitive dependencies but within
> the POMs, that are managed by us, it should work.


It will mostly work yes, the danger being that you compile a block
against a version of a dependency that is managed centrally and that
dependency is also transitively inherited by another dependency in the
same block. It will take the version defined by the latter.

So say for example that we centrally define xerces version 2.6.0 and one
of our blocks has a dependency on nekohtml (which declares xerces 2.4.0
as dependency) then that block will be compiled using xerces 2.4.0, a
potentially nasty situation


I'ld say we carry the burden of managing the dependencies by hand for
now and wait until this is resolved.


Regards
Jorg

Reply via email to