Why are the standard and enterprise bundles copied twice when adding features 
to a repository?


** From output of  mvm clean generate-resources command
[INFO] --- features-maven-plugin:2.3.2:add-features-to-repo 
(add-features-to-repo) @ ewm-karaf-base ---
[INFO] Copying bundle: 
org.apache.karaf.assemblies.features:standard:xml:features:2.3.4
[INFO] Copying bundle: 
org.apache.karaf.assemblies.features:enterprise:xml:features:2.3.4
[INFO] Copying bundle: 
org.apache.karaf.assemblies.features:enterprise:xml:features:2.3.4
[INFO] Copying bundle: org.ops4j.pax.cdi:pax-cdi-features:xml:features:0.6.0
[INFO] Copying bundle: 
org.apache.karaf.assemblies.features:standard:xml:features:2.3.4
[INFO] Copying bundle: org.apache.cxf.karaf:apache-cxf:xml:features:2.7.6

** From pom.xml
  <groupId>org.apache.karaf.tooling</groupId>
  <artifactId>features-maven-plugin</artifactId>
  <version>2.3.2</version>

  <executions>
    <execution>
      <id>add-features-to-repo</id>
        <phase>generate-resources</phase>
        <goals>
          <goal>add-features-to-repo</goal>
        </goals>
        <configuration>
          <descriptors>
            <!--  Feature Descriptor Files -->
            <descriptor>
              mvn:org.apache.cxf.karaf/apache-cxf/2.7.6/xml/features
            </descriptor>
          </descriptors>
          <features>
            <!--  Features to add to offline respository -->
            <feature>http</feature>
            <feature>cxf-jaxws</feature>
          </features>
          <repository>target/offline-repository</repository>
          <karafVersion>2.3.4</karafVersion>
        </configuration>
    <execution>
  <executions>


Paul Spencer

Reply via email to