You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by oliverpajonk <ol...@pjnk.de> on 2014/10/12 12:31:21 UTC
Re: karaf-assembly and config files
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
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks,
let me take a look.
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é <jb@nanthrax.net
> <ma...@nanthrax.net>>:
>
> 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é <jb@nanthrax.net
> <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>
> 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é
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
No worries.
Jamie or I will upload the updated documentation as soon as the release
votes passed.
Regards
JB
On 10/13/2014 07:01 PM, Oliver Pajonk wrote:
> 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é <jb@nanthrax.net
> <ma...@nanthrax.net>>:
>
> By the way, I also updated the documentation:
>
> https://git-wip-us.apache.org/__repos/asf?p=karaf.git;a=__commitdiff;h=__41add7eb13b60dd8f51f6bdd997ea7__572d85c2ed
> <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é <jb@nanthrax.net
> <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>
> 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/>
> <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é
> <jb@nanthrax.net <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>>:
>
> 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.__nabb__le.com/karaf-assembly-and-____config-files-____tp4032040p4035790.html
> <http://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é
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> <mailto:jbonofre@apache.org
> <ma...@apache.org> <mailto:jbonofre@apache.org
> <ma...@apache.org>>>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Oliver Pajonk <ol...@pjnk.de>.
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é <jb...@nanthrax.net>:
> 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é <jb@nanthrax.net
>> <ma...@nanthrax.net>>:
>>
>> 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é <jb@nanthrax.net
>> <ma...@nanthrax.net>
>> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>>
>> 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é
>> jbonofre@apache.org <ma...@apache.org>
>> <mailto:jbonofre@apache.org <ma...@apache.org>>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é <jb@nanthrax.net
> <ma...@nanthrax.net>>:
>
> 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é <jb@nanthrax.net
> <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>
> 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é
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Oliver,
please take a look on:
https://issues.apache.org/jira/browse/KARAF-2742
I updated an user pom to include filtered resources, and it works fine.
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é <jb@nanthrax.net
> <ma...@nanthrax.net>>:
>
> 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é <jb@nanthrax.net
> <ma...@nanthrax.net>
> <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>
> 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é
> jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Oliver Pajonk <ol...@pjnk.de>.
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é <jb...@nanthrax.net>:
> 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/. 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é <jb@nanthrax.net
>> <ma...@nanthrax.net>>:
>>
>> 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>
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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/. 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é <jb@nanthrax.net
> <ma...@nanthrax.net>>:
>
> 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>
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Oliver Pajonk <ol...@pjnk.de>.
Hi JB,
I have tried just now 3.0.2-SNAPSHOT and also 3.0.3.-SNAPSHOT from
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é <jb...@nanthrax.net>:
> 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
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: karaf-assembly and config files
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: karaf-assembly and config files
Posted by Minto van der Sluis <mi...@xup.nl>.
Hi Oliver,
Have a look at a simple example I once created. You can find it at:
https://github.com/misl/Samples/blob/master/WicketKaraf
To create the assembly it copies (optionally with filtering) files from
src/main/assembly into target/assembly prior to creating the final
ZIP/TAR.GZ archives.
Regards,
Minto
oliverpajonk schreef op 12-10-2014 12:31:
> 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
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
--
ir. ing. Minto van der Sluis
Software innovator / renovator
Xup BV
Mobiel: +31 (0) 626 014541