On Sat, Nov 5, 2011 at 3:03 AM, Carsten Ziegeler <[email protected]> wrote:
> Hi,
>
> I really appreciate the work spent in this stuff - but how many
> different ways do we now have to configure the bundle list? And none
> of them is really satisfying I think. Still the best approach we have
> right now from a configuration point of view is imho the separate xml
> file.
as i said before, it's error prone and not supported by IDEs.

> The best way would be to annotate dependencies in the pom directly
> with their start level - which is - according to the maven guys - not
> possible atm.
> But we really want to go this way, I think this is possible, e.g. we
> could define an xml namespace we use in the pom  and then just do:
> <dependency sling:startLevel="1">
that would be great.

> so we annotate the dependency element with our own attribute in our
> namespace. Maven does not complain about this. We could then just read
> the pom file ourselves to parse the annotations or use xslt to convert
> it to a bundle list or any other clever way.
>
> If others think that this way would be much better than the other ways
> we now have, I'm happy to implement it.
+1 sounds good to me

Reply via email to