Hello,

I am giving the static distro a try and it works quite well, except one
problem.

Running karaf-4.3.0 RC with Java 11, attempting to include
jakarta.activation-api/1.2.2 fails with:

> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.3.0:assembly 
> (process-resources) on project test-static: Unable to build assembly:
> Unable to resolve root: missing requirement [root] osgi.identity; 
> osgi.identity=odl-jackson-2.11; type=karaf.feature; version=8.0.1.SNAPSHOT; 
> filter:="(&(osgi.identity=odl-jackson-2.11)(type=karaf.feature)(version>=8.0.1.SNAPSHOT))"
>  [caused by:
> Unable to resolve odl-jackson-2.11/8.0.1.SNAPSHOT: missing requirement 
> [odl-jackson-2.11/8.0.1.SNAPSHOT] osgi.identity; 
> osgi.identity=odl-jakarta-activation-api; type=karaf.feature; 
> version="[8.0.1.SNAPSHOT,8.0.1.SNAPSHOT]" [caused by:
> Unable to resolve odl-jakarta-activation-api/8.0.1.SNAPSHOT: missing 
> requirement [odl-jakarta-activation-api/8.0.1.SNAPSHOT] osgi.identity; 
> osgi.identity=jakarta.activation-api; type=osgi.bundle; 
> version="[1.2.2,1.2.2]"; resolution:=mandatory [
> caused by: Unable to resolve jakarta.activation-api/1.2.2: missing 
> requirement [jakarta.activation-api/1.2.2] osgi.ee; 
> filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]] -> [Help 1]

i.e. static resolver seems to not consider JavaSE=9.0 to be available,
whereas the dynamic resolver works just fine.

Any ideas where to fix or suppress this?

Thanks,
Robert

Reply via email to