Hi JB,

thanks for your response.
I just tested with version 4.2.9 but with the same  result.
Switching back to decanter 2.2.0 works as expected, so it seem to be located to 
the config entry.

Should I rase a JIRA ticket?

Regards,
Joerg

From: Jean-Baptiste Onofre <[email protected]>
Sent: Montag, 11. Januar 2021 17:00
To: user <[email protected]>
Subject: Re: Building Distribution with decanter boot feature

Hi Joerg,

This config file is provided by <config/> element of the decanter-common 
feature:

https://github.com/apache/karaf-decanter/blob/master/assembly/src/main/feature/feature.xml#L22

It should not be created "physically" by default (as it’s <config/>, not 
<configfile/>).

Does the assembly work with Karaf 4.2.9 maven plugin ?

Let me try to reproduce (on Linux, as it could be a Windows issue).

Regards
JB


Le 11 janv. 2021 à 16:48, Jörg Jansen 
<[email protected]<mailto:[email protected]>> a 
écrit :

Dear all,

I’m trying to build my customized distribution, using the karaf-maven-plugin.
When I’m adding the bootFeature decanter-collector-jmx, the build failed, 
because of a fileNotFoundException.

Caused by: java.nio.file.NoSuchFileException: 
O:\ws\gslisa\lisa-base\assemblies\gs-lisa-standalone\target\assembly\etc\org.apache.felix.eventadmin.impl.EventAdmin.cfg
    at sun.nio.fs.WindowsException.translateToIOException 
(WindowsException.java:85)

Does anybody else face the same issue or know a fix/workaround?

Used versions:
Karaf: 4.3.0
Decanter: 2.5.0

Thanks,
Joerg

Reply via email to