karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [DISCUSS] Feature package, feature generation and validation
Date Thu, 13 Oct 2016 09:44:23 GMT

It would remove or at least limit the generate feature execution. It's too simple and never
cleanly cover the use cases. Writing the features XML by hand is always better IMHO.


On Oct 13, 2016, 11:08, at 11:08, Guillaume Nodet <gnodet@apache.org> wrote:
>The feature packaging is a nice thing, as it allows automatic
>attachment of
>the feature file.
>However, it always use the feature-generate-descriptor, which produces
>lot of weird results.
>Afaik, the feature packaging is not much used and all projects i've
>such as pax projects, camel, cxf, and even karaf itself (including
>decanter, cellar, karaf container...).
>I think part of the problem comes from the feature descriptor
>which is difficult to control.  I have always found much easier to
>write the feature manually.
>Although the generation process rewrites the xml entirely, so that any
>comments or license header is lost.
>Overall, I'm not sure that it makes our users life really easier.
>So I'd like to propose to get rid of the feature-generate-descriptor
>inside the feature packaging and replace it with the verify goal to
>validate the hand-written features instead.
>Thoughts ?
>Guillaume Nodet
>Red Hat, Open Source Integration
>Email: gnodet@redhat.com
>Web: http://fusesource.com
>Blog: http://gnodet.blogspot.com/

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message