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/apache/karaf/blob/master/examples/karaf-itest-example/src/test/java/org/apache/karaf/examples/itests/ExampleITest.java
)?

I looked all through the karaf parent poms, etc, but couldn't find it.  I'm
assuming it gets set somewhere in the Karaf code so it's resolvable in the
example itests?

Thanks for any help!

Ryan

Reply via email to