Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1132

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.5
    • 2.2.6
    • karaf
    • 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.

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: