Karaf
  1. Karaf
  2. KARAF-1132

Introduce new command feature:chooseurl to make it easy to install well known feature files

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Christian Schneider
            Reporter:
            Christian Schneider
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development