I have created KARAF-6142

It's related to the package-info class who is not visible on jdk11 by the 
plugin, but I didn't found a fix for now.

Regards,
Jérémie

On 2019/02/06 20:57:06, Jean-Baptiste Onofré <[email protected]> wrote: 
> Hi Jérémie,
> 
> can you please create a Jira (or I can do it for you) ?
> 
> I will fix that but for 4.2.4/4.3.0 as Karaf 4.2.3 release is in progress.
> 
> Regards
> JB
> 
> On 06/02/2019 20:59, J. Brebec wrote:
> > 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
> > 
> 
> -- 
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
> 

Reply via email to