karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1169) Support for hidden or dependent features....
Date Wed, 25 Jan 2012 17:34:40 GMT
Support for hidden or dependent features....

                 Key: KARAF-1169
                 URL: https://issues.apache.org/jira/browse/KARAF-1169
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-features
            Reporter: Daniel Kulp

Some applications we have have blocks of common dependencies that are shared by multiple features.
 We currently define them in a new feature, but that's not really what they are as it's not
expected to be installed individually.  Right now, they appear in things like the features:list
which can confuse users.   We can just put all the bundles in that feature into all the other
features that need it, but that duplicates a lot of stuff and can create additional maintenance

There are a couple options that could be pursued:
1) Could just add a flag like dependency="true" or abstract="true" or hidden="true" to <feature>
to mark the feature as something that shouldn't really be exposed to the user.

2) Create a new tag to express common blocks of bundles that can be depended on from a feature.

For example, CXF has a "cxf-saaj-impl" feature that installs the bundles needed for SAAJ to
work.   That is then required by ws-security and jaxws and a few others.   It's not really
something we would expect users to "features:install", but we also don't want to duplicate
that setup in a bunch of other places.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message