Hello,

I am using Karaf 4.2.2 and the karaf-maven-plugin to build a custom 
distribution. This distribution uses a features-processor xml files in order to 
blacklist/replaces some bundles.

This works fine under JDK8, however, it fails under JDK11. With this JDK, the 
features-processor files is unmarshalled without any elements.

For example, If I use this file :

<featuresProcessing 
xmlns="http://karaf.apache.org/xmlns/features-processing/v1.0.0";
        xmlns:f="http://karaf.apache.org/xmlns/features/v1.5.0";>
    <blacklistedRepositories/>
</featuresProcessing>

with JDK8, the xsd validation of this file is successful. However, in JDK11, it 
fails because "blacklistedRepositories" should'nt have a namespace (and jaxb 
doesn't see any child elements)

Is it a know issues ? I didn't find anything about it on github.

Regards,
Jérémie

Reply via email to