Introduce new command feature:chooseurl to make it easy to install well known
feature files
-------------------------------------------------------------------------------------------
Key: KARAF-1132
URL: https://issues.apache.org/jira/browse/KARAF-1132
Project: Karaf
Issue Type: New Feature
Components: karaf-features
Affects Versions: 2.2.5
Reporter: Christian Schneider
Assignee: Christian Schneider
Fix For: 2.2.6
Currently you have to know the exact maven url of a feature file to install it.
Example:
features:addurl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/features
I propose to introduce a new command that will do the same like this:
features:chooseurl camel 2.8.2
The feature repo name as well as the version should support completion.
The feature repo urls will have to be configured in a config file:
camel=org.apache.camel.karaf:apache-camel:xml:features:(0,]
cxf=org.apache.cxf.karaf:apache-cxf:xml:features:(0,]
activemq=org.apache.activemq:activemq-karaf:xml:features:(0,]
jclouds=org.jclouds.karaf:feature:xml:features:(0,]
The key is the name that can be used in the command above. The value is a
filter coordinate for the feature repo. For the version completion this filter
should be used to display the version that are available in the configured
maven repos.
When the version is given the feature url is composed by replacing the version
filter in the value above by the given version.
--
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