[ 
https://issues.apache.org/jira/browse/KARAF-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927700#comment-16927700
 ] 

Julien Greffe commented on KARAF-6414:
--------------------------------------

Also, just to detail my need, I just want to create a new ZIP with only a 
{{system}} directory containing only specific features XML and related JAR 
bundles, with the proper directory structure.

I'm not sure the {{assembly}} or {{archive}} can fit my need?

> [karaf-maven-plugin] Feature for auto-copy of features XML ?
> ------------------------------------------------------------
>
>                 Key: KARAF-6414
>                 URL: https://issues.apache.org/jira/browse/KARAF-6414
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.1.5, 4.3.0, 4.2.4
>            Reporter: Julien Greffe
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.3.0, 4.1.8, 4.2.7
>
>
> 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 :
> {code:java}
> <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> {code}
> 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 
> {code:java}
> <copyFileBasedDescriptors>
>     <copyFileBasedDescriptor>
>         <sourceFile>...</sourceFile>
>         <targetDirectory>...</targetDirectory>
>         <targetFileName>...</targetFileName>
>     </copyFileBasedDescriptor>
>     <copyFileBasedDescriptor>
>     ...
>     </copyFileBasedDescriptor>
> </copyFileBasedDescriptors> {code}
> Is there any other way to auto-copy the used features to the target 
> repository?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to