Skip to content

karaf 4.4.9 - missing requirement [org.ops4j.pax.logging.pax-logging-api/2.3.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))" #2199

@rastislavpapp

Description

@rastislavpapp

Unable to build karaf via assemby plugin, getting this exception:

[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.9:assembly (default-assembly) on project karaf-assembly: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=framework; type=karaf.feature; version=4.4.9; filter:="(&(osgi.identity=framework)(type=karaf.feature)(version>=4.4.9))" [caused by: Unable to resolve framework/4.4.9: missing requirement [framework/4.4.9] osgi.identity; osgi.identity=org.ops4j.pax.logging.pax-logging-api; type=osgi.bundle; version="[2.3.0,2.3.0]"; resolution:=mandatory [caused by: Unable to resolve org.ops4j.pax.logging.pax-logging-api/2.3.0: missing requirement [org.ops4j.pax.logging.pax-logging-api/2.3.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]] -> [Help 1]

The only thing I came up with is that the pax-logging-api/2.3.0 has this requirement:

Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))

and the previous one (2.2.8) had:

Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"

and the values in config.properties / eecap-xxx have 11.0 instead of 11; but I'm unsure whether that matters.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions