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

Ability to use features-maven-plugin:add-features-to-repo without specifying features

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 2.2.0
    • karaf
    • None

    Description

      It will be nice to be able to use features-maven-plugin:add-features-to-repo without specifying any features. In this case all features from the feature descriptor will be used.

      Example:

      <plugin>
      <groupId>org.apache.karaf.tooling</groupId>
      <artifactId>features-maven-plugin</artifactId>
      <executions>
      <execution>
      <id>make-repo</id>
      <phase>package</phase>
      <goals>
      <goal>add-features-to-repo</goal>
      </goals>
      <configuration>
      <descriptors>
      <descriptor>mvn:org.apache.activemq/activemq-karaf/5.4.1-fuse-01-00/xml/features</descriptor>
      <descriptor>mvn:org.apache.camel.karaf/apache-camel/2.4.0-fuse-02-00/xml/features</descriptor>
      <descriptor>mvn:org.apache.karaf/apache-karaf/2.0.0-fuse-02-00/xml/features</descriptor>
      <descriptor>mvn:org.apache.servicemix/apache-servicemix/4.3.0-fuse-03-00/xml/features</descriptor>
      <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.3.0-fuse-02-00/xml/features</descriptor>
      <descriptor>mvn:org.apache.ode/ode-jbi-karaf/1.3.4/xml/features</descriptor>
      </descriptors>
      <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
      <failOnArtifactResolutionError>false</failOnArtifactResolutionError>
      <skipNonMavenProtocols>true</skipNonMavenProtocols>
      <repository>${project.build.directory}/repo</repository>
      </configuration>
      </execution>
      </executions>
      </plugin>

      Attachments

        1. AddFeaturesToRepoMojo.patch
          8 kB
          Sergey Zhemzhitsky
        2. pastie-1469257.txt
          8 kB
          Jean-Baptiste Onofré

        Activity

          People

            achim_nierbeck Achim Nierbeck
            szhemzhitsky Sergey Zhemzhitsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: