Weird, I added the configfile copy in archive and kar goals while ago.
What goal are you using ?
Let me try to reproduce.
Regards
JB
On 10/10/2016 07:31 AM, Thomas Termin wrote:
Hello,
I have a feature which contain a configfile like:
<configfile finalname='/etc/FinalFile.cfg' override="false">
mvn:my.package/MyArtifact/1.0.0/cfg/file-cfg
</configfile>
If I put the feature which contains the configfile within the
<installedFeatures> of my custom karaf pom file, all referenced bundles
are installed within the system directory. But the configfile is just
ignored. That leads of course to the problem, that the installation of
the features failed if there is no maven repository available which is
the case for my environment. I need the configfile also in the system
directory. It is easy reproduceable with cellar. If you put cellar in
the installFeatures section you cannot install it without an online
maven repo because the config files are not within the system dir. For
the startupFeatures and bootFeatures it will work. But I don't want to
put my features within startup or boot. Btw. with the old karaf2.x it
worked perferct. What is the trick now? Karaf version tried: 4.0.6, 4.0.7
Regards,
Thomas
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com