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

[karaf-maven-plugin] Feature for auto-copy of features XML ?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.1.5, 4.3.0, 4.2.4
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      None

      Description

      Hello,

      I would like to be able to create a patch for Karaf.

      I used karaf-maven-plugin, goal features-add-to-repository. and declared descriptors :

      <descriptors>
           <descriptor>file:somewhere/feature1.xml</descriptor>
           <descriptor>file:somewhere/sub/feature2.xml</descriptor>
           <descriptor>file:elsewhere/feature3.xml</descriptor>
           <descriptor>file:elsewhere/sub/feature4.xml</descriptor>
      </descriptors> 

      Bundles are correctly copied to my <repository> parameter.

      But the declared <descriptors> files are not, and I have to declare them one by one (again) using 

      <copyFileBasedDescriptors>
          <copyFileBasedDescriptor>
              <sourceFile>...</sourceFile>
              <targetDirectory>...</targetDirectory>
              <targetFileName>...</targetFileName>
          </copyFileBasedDescriptor>
          <copyFileBasedDescriptor>
          ...
          </copyFileBasedDescriptor>
      </copyFileBasedDescriptors> 

      Is there any other way to auto-copy the used features to the target repository?

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jgreffe Julien Greffe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: