cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: [RANT] This Maven thing is killing us....
Date Tue, 04 Jul 2006 15:20:15 GMT
On Tuesday 04 July 2006 20:53, Carlos Sanchez wrote:
> If project A says it depends on B 1.0 and C says it depends on B 1.1,
> there's a conflict in Maven, Ant and anything you want to use, the
> difference is that Maven tries to do it for you, but you still can
> override that behaviour.

Well, since Cocoon is going for OSGi, this does not need to be a problem per 
se. However, Maven currently doesn't support the CP resolution needed in 
complex OSGi builds (such as Eclipse itself). There are people investigating 
what would be needed, but no promises have been made so far.

One main issue is that OSGi is not concerned over versioning of the jars, but 
versioning of the packages (normal Java packages for the uninitiated). More 
exactly, the jar is essentially just a delivery container of the packages, 
and the resulting "classpath" may be a subset of a jar and mixed in with 
packages from another version of the same jar.

For the record; Ant is not capable of handling this perfectly either.
Also; Very often it is not need for OSGi development.

Cheers
Niclas

Mime
View raw message