Hi guys! Perfect, using the maven-resources-plugin all works as expected. I think the "custom distribution" documentation update will help future users (that is what I looked at). Thanks a lot!
Regards, Oliver 2014-10-13 10:17 GMT+02:00 Jean-Baptiste Onofré <[email protected]>: > By the way, I also updated the documentation: > > https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h= > 41add7eb13b60dd8f51f6bdd997ea7572d85c2ed > > Regards > JB > > On 10/12/2014 06:39 PM, Oliver Pajonk wrote: > >> Hi JB, >> >> attached is the POM of the "application" module. I had to obfuscate the >> groupid/artifactid, but that should be no problem I guess. The parent >> POM "karaf-application" contains not contain anything interesting >> besides two modules (the application module and a feature >> module). ${version.apache-karaf} is defined as 3.0.1 in the main POM of >> the application. >> >> Regards, >> Oliver >> >> 2014-10-12 18:21 GMT+02:00 Jean-Baptiste Onofré <[email protected] >> <mailto:[email protected]>>: >> >> Hi Oliver, >> >> could you share your pom ? >> >> I replied in a Jira and it works fine for me (let me find the Jira). >> >> The problem was just in the execution phase. >> >> Regards >> JB >> >> On 10/12/2014 06:16 PM, Oliver Pajonk wrote: >> >> Hi JB, >> >> I have tried just now 3.0.2-SNAPSHOT and also 3.0.3.-SNAPSHOT from >> https://repository.apache.org/__snapshots/ >> <https://repository.apache.org/snapshots/>. I have switched the >> version >> for all my Karaf dependencies as well as for the >> karaf-maven-plugin, but >> it did not help. The file in the ZIP/TAR.GZ is still duplicated, >> and the >> file target\assembly\etc\org.ops4j.__pax.logging.cfg is the >> default one :-( >> >> Best regards, >> Oliver >> >> 2014-10-12 16:49 GMT+02:00 Jean-Baptiste Onofré <[email protected] >> <mailto:[email protected]> >> <mailto:[email protected] <mailto:[email protected]>>>: >> >> Hi Olivier, >> >> did you try with 3.0.2-SNAPSHOT (or staging 3.0.2) ? >> >> Regards >> JB >> >> On 10/12/2014 12:31 PM, oliverpajonk wrote: >> >> Hi all, >> >> is there any news on this issue? I hit the same problem >> today >> and am stuck >> with it: I want to use the karaf-assembly packaging to >> create my >> distribution (which works just fine). However, I need to >> override a file in >> the /etc directory (custom logging configuration). I do >> this by >> putting it >> into src/main/resources/etc, but the karaf-assembly >> packaging >> puts *two* >> files in the ZIP/TAR.GZ: mine, and the default one. >> >> Regards, >> Oliver >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.____com/karaf-assembly-and-__ >> config-__files-__tp4032040p4035790.html >> >> <http://karaf.922171.n3.__nabble.com/karaf-assembly-and-__ >> config-files-__tp4032040p4035790.html >> <http://karaf.922171.n3.nabble.com/karaf-assembly-and- >> config-files-tp4032040p4035790.html>> >> Sent from the Karaf - User mailing list archive at >> Nabble.com. >> >> >> -- >> Jean-Baptiste Onofré >> [email protected] <mailto:[email protected]> >> <mailto:[email protected] <mailto:[email protected]>> >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >> >> >> -- >> Jean-Baptiste Onofré >> [email protected] <mailto:[email protected]> >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
