Hey guys I took a couple of days of vacation. I will be back in the business next week ;)
Regards JB Sent from my Samsung Galaxy smartphone. -------- Original message -------- From: Oliver Pajonk <[email protected]> Date:24/10/2014 12:15 (GMT+01:00) To: [email protected] Cc: Subject: Re: What is the best way to replace standard Karaf files with custom ones during assembly? Hi Joerg, a few days ago I had a very related question. There is a ticket here which seems to track it, and JB promised to update the documentation. Hope that helps, Oliver 2014-10-24 10:29 GMT+02:00 Joerg Ehrlich <[email protected]>: Hi, while creating a Karaf assembly using the “karaf-assembly” Maven goal I would like to overwrite standard Karaf files (e.g. in bin or etc) with custom ones provided by project resources (i.e. src/main/resources). The current behavior (for ZIP and TAR) is that files with the same name both end up in the archive, i.e. it seems it is currently not possible to actually replace assembly files with project resources or the other way around. There is one possible work-around using Maven resource plug-in to overwrite the files in assembly folder before karaf:instance-create-archive goal is invoked but that requires to move the files into a non-standard resource folder. Would be great to keep the default maven mechanisms in combination with Karaf plug-in. Any recommendations how solve this? Thanks Jörg
