The range version warning should be there for sure, it’s not a big deal (just mentioning the resolution could be long).
I’m checking anyway as I’m preparing 4.2.10. Regards JB > Le 25 août 2020 à 15:38, Alex Soto <alex.s...@envieta.com> a écrit : > > Hi JB, I just tested with a fresh copy of Karaf, installing the Aries JAX-RS > feature: > > feature:repo-add > mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.9/xml > <http://org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.9/xml> > feature:install http-whiteboard > > Produces the warnings in the logs. No custom code involved. > > Best regards, > Alex soto > > > > >> On Aug 25, 2020, at 9:21 AM, Alex Soto <alex.s...@envieta.com >> <mailto:alex.s...@envieta.com>> wrote: >> >> No, not Windows, I am on Mac OSX. >> >> This warning occurs severals times when installing my feature (which >> reference the Aries JAX-RS), and no, I don’t see anything else in the logs, >> before or after, out of the ordinary. >> >> Best regards, >> Alex soto >> >> >> >> >>> On Aug 25, 2020, at 1:17 AM, Jean-Baptiste Onofre <j...@nanthrax.net >>> <mailto:j...@nanthrax.net>> wrote: >>> >>> 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 <alex.s...@envieta.com >>>> <mailto:alex.s...@envieta.com>> 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 >>>> >>>> >>>> >>>> >>> >> >