Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Jean-Baptiste Onofre
Yes, agree, I will do the fix. The point about keycloak features was more "general". Regards JB > Le 5 juin 2020 à 16:01, Alex Soto a écrit : > > I had to manually create my own Keycloak features, so I am OK now. > > Agree they should upgrade, but not must, as Karaf still supports version

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
I had to manually create my own Keycloak features, so I am OK now. Agree they should upgrade, but not must, as Karaf still supports version v1.0.0. Imagine creating a KAR that brings both legacy features and new features in a single KAR; the right way is to have each (feature) with its own

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Jean-Baptiste Onofre
I see your point. You could use a "old" Karaf-maven-plugin version. I will do the improvements, but honestly, keycloak feature should be fixed and clean. Even the content is not accurate IMHO. Regards JB > Le 5 juin 2020 à 15:16, Alex Soto a écrit : > > No, I mean a bug in the Karaf plugin;

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
No, I mean a bug in the Karaf plugin; the Keycloak Features XML is using version v1.0.0 of the XML Schema, together with the now obsolete resolver attribute, which is correct, as that attribute is valid for that XML Schema version. The problem is that when Karaf’s plugin merges Keycloak

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Jean-Baptiste Onofre
A bug in keycloak right ? The feature seems "not up to date". Regards JB > Le 5 juin 2020 à 15:07, Alex Soto a écrit : > > Yes, in this case the latest version of Keycloak (10.0.2) see previous > email. > Looks like a bug to me. > > Best regards, > Alex soto > > > > >> On Jun 5, 2020,

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
Yes, in this case the latest version of Keycloak (10.0.2) see previous email. Looks like a bug to me. Best regards, Alex soto > On Jun 5, 2020, at 12:18 AM, Jean-Baptiste Onofré wrote: > > By the way Alex, don?t you have ? old ? features xml in your set (for > instance old camel version)

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Jean-Baptiste Onofre
Hi, Sorry, it seems we had some issue at Apache infra with the mail queue, the messages are coming very slowly. It should be better now. Regards JB > Le 4 juin 2020 à 18:24, Jean-Baptiste Onofré a écrit : > > Hi > > It depends of the plugin version and namespace version you are using. >

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Jean-Baptiste Onofré
By the way Alex, don?t you have ? old ? features xml in your set (for instance old camel version) containing resolver still ?Regards JBLe jeu. 4 juin 2020 ? 18:24, Jean-Baptiste Onofr? a ?crit :HiIt depends of the plugin version and namespace version you are using. Let me update the default for

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
Thanks JB, you gave me good hint. I think I know what’s going on. My project imports dependency: org.keycloak keycloak-osgi-features features xml 10.0.2 But Keycloak features.xml file has: http://karaf.apache.org/xmlns/features/v1.0.0;

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
I removed my src/main/feature/feature.xml file, so the file is being generated entirely by the plugin. http://karaf.apache.org/xmlns/features/v1.6.0; name=“my-kar">

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Jean-Baptiste Onofré
HiIt depends of the plugin version and namespace version you are using. Let me update the default for 4.2.9.Regards JBLe jeu. 4 juin 2020 ? 16:34, Alex Soto a ?crit :Hello,I am trying to create a KAR, but at run time I am getting an error:org.xml.sax.SAXParseException; cvc-complex-type.3.2.2:

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
There is this ticket that appears to be fixed https://issues.apache.org/jira/browse/KARAF-4842 , yet it is still happening with version 4.2.8 Best regards, Alex soto > On Jun 4, 2020, at 10:34 AM, Alex Soto wrote: > > Hello, > > I am

KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
Hello, I am trying to create a KAR, but at run time I am getting an error: org.xml.sax.SAXParseException; cvc-complex-type.3.2.2: Attribute 'resolver' is not allowed to appear in element 'feature’. I do not have attribute ‘resolver’ in my features.xml file. My POM has: kar