Thanks for the hints. Actually using the proposed way with the resource plug-in will still put duplicate files into the assembly zip as long as the files are in the default project resource folder. That's why I was asking if there are any other recommendations to handle this. The Karaf Maven plug-in uses currently the default behavior of Ant Zip/Tar functionality which is to simply add files with same name instead of replacing existing ones or not adding them. Actually it seems there is an option at least for Zip to not accept duplicate files which could be used in Karaf plug-in, but not for Tar.
It would be great if the default folder and behavior could be used with karaf-assembly but with an option which would allow replacement of default files from Karaf assembly from project resources. Regards Jörg
