Re: Java 11, ExampleITest and karaf.version

2019-09-11 Thread Jean-Baptiste Onofré
Oh you mean for the example ITest. karaf.version is set by default in Karaf Main/config.properties. Regards JB On 11/09/2019 19:39, Ryan Moquin wrote: > I saw that pom, but I can't make a connection from the > karaf-example-itest pom to that one.  The parent of  karaf-example-itest > is the apac

Re: Java 11, ExampleITest and karaf.version

2019-09-11 Thread Ryan Moquin
I saw that pom, but I can't make a connection from the karaf-example-itest pom to that one. The parent of karaf-example-itest is the apache-karaf-examples which has a parent of karaf... I don't see how that itests pom makes it's way in there... there must be something obvious I'm overlooking (tho

Re: Java 11, ExampleITest and karaf.version

2019-09-11 Thread Jean-Baptiste Onofré
Hi, karaf.version is defined in the itest pom.xml: https://github.com/apache/karaf/blob/master/itests/test/pom.xml#L369 and pass to pax-exam via surefire (as it's a system property). Regards JB On 11/09/2019 17:14, Ryan Moquin wrote: > I was looking at my integration tests for karaf and notice

Java 11, ExampleITest and karaf.version

2019-09-11 Thread Ryan Moquin
I was looking at my integration tests for karaf and noticed when running on Java 11, I get the following error: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator So my question is, where does karaf.version get set when running a Karaf Integration test ( https://github.com