Thanks!
> On 11 apr 2015, at 19:30, Krzysztof Sobkowiak <krzys.sobkow...@gmail.com>
> wrote:
>
> Hi
>
> Karaf 2.3.9 suports only features with version 1.0.0 and 1.1.0. If you wanna
> generate features compatible with Karaf
> 2.3.9 you should use the features plugin with the same version. For Karaf 2.3
> it is features-maven-plugin.
>
> Regards
> Krzysztof
>
> On 11.04.2015 18:48, Christoffer Soop wrote:
>> Hi,
>>
>> One year later I am facing a similar issue where ServiceMix 5.1.4/Karaf
>> 2.3.9 that fails to validate features with the
>> http://karaf.apache.org/xmlns/features/v1.2.1 namespace that were created by
>> the v3.0.3 karaf-maven-plugin.
>>
>> I tried setting the namespace in the /src/main/feature/feature.xml but it is
>> changed to the default namespace of the plugin. There does not seem to be
>> any plugin parameters for specifying the feature namespace or Karaf version
>> to be supported.
>>
>> @Neil - did you find a solution/good workaround?
>>
>> The only thing I can think of would be to do some processing by binding an
>> ant-task or similar that will change the namespace in the Maven
>> process-resources phase, but that would by an ugly hack imo.
>>
>> Best regards,
>>
>> Chris
>>
>>> On 30 apr 2014, at 08:52, Wim Verreydt <w...@anova.be> wrote:
>>>
>>> Dear,
>>>
>>> Your features file seems ok but unfortunately karaf 2.2.11 only supports
>>> the v1.0.0 features definition.
>>> I assume that, if you change the namespace to
>>> "http://karaf.apache.org/xmlns/features/v1.0.0”, it will work fine.
>>>
>>> Good luck,
>>>
>>> Wim Verreydt
>>>
>>>
>>> On 28 Apr 2014, at 17:53, neiltingley <n...@winder-it.co.uk> wrote:
>>>
>>>> This is a karaf / kar feature related question for servicemix 4.5.2 (2.2.11
>>>> karaf)
>>>>
>>>> Generating a features.xml with
>>>>
>>>> <groupId>org.apache.karaf.tooling</groupId>
>>>> <artifactId>karaf-maven-plugin</artifactId>
>>>>
>>>> It's failing to validate with:
>>>>
>>>> org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of
>>>> element 'features'.
>>>>
>>>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>>>> <features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" >
>>>> <feature name="XXXX" version="0-SNAPSHOT" description="XXXX>
>>>> <bundle start-level="80">mvn:XXXX/XXX/1.x.x</bundle>
>>>> </feature>
>>>>
>>>> </features>
>>>>
>>>> What's the best thing to do? Remove the
>>>> 'http://karaf.apache.org/xmlns/features/v1.2.0' ? I can't see why it would
>>>> fail to validate!
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://servicemix.396122.n5.nabble.com/features-xml-ParseException-tp5720091.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
> --
> Krzysztof Sobkowiak
>
> JEE & OSS Architect
> Apache Software Foundation Member
> Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
> Senior Solution Architect @ Capgemini SSC
> <http://www.pl.capgemini-sdm.com/en/>