[ https://issues.apache.org/jira/browse/KARAF-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931176#comment-16931176 ]
Julien Greffe commented on KARAF-6414: -------------------------------------- It seems using {{mvn:xxx}} prefix do copy feature XML files to {{system}} directory. > [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)