On Wed, Nov 16, 2011 at 7:38 AM, Carsten Ziegeler <[email protected]> wrote: > 2011/11/16 Jukka Zitting <[email protected]>: >> Hi, >> >> On Wed, Nov 16, 2011 at 3:51 PM, Carsten Ziegeler <[email protected]> >> wrote: >>> For use cases you might have in mind, we have the partial bundle list >>> which is a well defined list of modules. >> >> My point is that it would be very convenient if I *could* use >> transitive dependencies (and other standard Maven dependency features) >> to produce the partial bundle list. That way I wouldn't have to >> maintain the dependency information in two different places. >> >> Of course it's good if there's way to explicitly override certain >> dependencies, but for the most part my existing Maven dependency tree >> already contains a perfectly good starting point for the bundle list. >> Having to duplicate that information just opens up the risk of >> accidental inconsistencies. >> > Yes, and I guess this is the core where we disagree - I really want to > avoid transitive dependencies and other magic for defining a (partial) > bundle list. In my opinion it should be a complete list
I agree with Carsten with respect to transitive dependencies, largely because of the need to place different bundles in different start levels. When you assemble a classpath for compilation or place a bunch of JAR files into a WAR, then I see the usefulness of transitive dependencies (although I've ended up with plenty of cruft in the latter case), but in the case of a launchpad application, it seems to add significant complexity (what start level do transitive dependencies go in? how do you deal with dependency version conflicts across start levels?). Furthermore, at least in the case of Sling, we make extensive use of the provided scope to indicate dependencies which are expected to be provided by the container, so transitive dependencies would not be useful for us. I'm always open to adding features to the launchpad plugin which are not immediately useful to the Sling project, but since this is the testbed, it does give me pause. Justin > > Let's see what others think :) > > Regards > Carsten > >> BR, >> >> Jukka Zitting >> > > > > -- > Carsten Ziegeler > [email protected] >
