By the way, the warning should not be a problem (it only occurs on Windows when 
using range). Do you have something else in the log ?

Regards
JB

> Le 24 août 2020 à 22:04, Alex Soto <[email protected]> a écrit :
> 
> Hello,
> 
> I am experimenting with JAX-RS Whiteboard with Karaf 4.2.9.  In my 
> features.xml I added:
> 
>     
> <repository>mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/
>  
> <http://org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.6/>xml</repository>
> 
>       . . .
> 
>         <feature>http-whiteboard</feature>
>         <feature>aries-jax-rs-whiteboard</feature>
>         <feature>aries-jax-rs-whiteboard-jackson</feature>
> 
> 
> (Tried with version 1.0.9 too, and same result.)
> 
> But when I run Karaf I get error:
> 
> 2020-08-24T15:50:02,084 | WARN  | activator-1-thread-2 | LocationPattern      
>             | 11 - org.apache.karaf.features.core - 4.2.9 | Matched URI can't 
> use version ranges: mvn:org.apache.karaf.features/standard/[4,5)/xml/features
> 
> 
> After that, Karaf hangs forever, or for a long time.
> 
> I searched everywhere where the version range was used and found:
> 
> <features name="aries-jax-rs-1.0.6" 
> xmlns="http://karaf.apache.org/xmlns/features/v1.3.0 
> <http://karaf.apache.org/xmlns/features/v1.3.0>" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> <http://www.w3.org/2001/XMLSchema-instance>" 
> xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 
> <http://karaf.apache.org/xmlns/features/v1.3.0> 
> http://karaf.apache.org/xmlns/features/v1.3.0 
> <http://karaf.apache.org/xmlns/features/v1.3.0>">
> 
>     
> <repository>mvn:org.apache.karaf.features/standard/[4,5)/xml/features</repository>
> 
> 
> So that version range is coming from the Aries JAX-RS features.xml file 
> itself.  I don’t know how it works for others. I checked source code 
> examples, but could not figure out how to make it work.  Thanks in advance.
> 
> 
> Best regards,
> Alex soto
> 
> 
> 
> 

Reply via email to