Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
4.2.5
-
None
-
None
-
Apache Karaf 4.2.5
Apache CXF 3.3.2
JDK 1.8.111
Description
Hello.
I tried to run an example of a static distribution of karaf
and I added a cxf-jaxrs startupRepository and startupFeature .
<configuration> <startupRepositories>mvn:org.apache.cxf.karaf/apache-cxf/3.3.2/xml/features</startupRepositories> <startupFeatures> <startupFeature>static-framework</startupFeature> <startupFeature>scr</startupFeature> <startupFeature>http-whiteboard</startupFeature> <startupFeature>karaf-docker-example-app</startupFeature> <startupFeature>cxf-jaxrs</startupFeature> </startupFeatures> <framework>static</framework> <useReferenceUrls>true</useReferenceUrls> <environment>static</environment> <javase>1.8</javase> </configuration>
When I run the build "mnv clean install" I get an error:
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.5:assembly (process-resources) on project karaf-docker-example-static-dist: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=wrap; type=karaf.feature; version=0; filter:="(&(osgi.identity=wrap)(type=karaf.feature)(version>=0.0.0))" [caused by: Unable to resolve wrap/2.6.1: missing requirement [wrap/2.6.1] osgi.identity; osgi.identity=org.ops4j.pax.url.wrap; type=osgi.bundle; version="[2.6.1,2.6.1]"; resolution:=mandatory [caused by: Unable to resolve org.ops4j.pax.url.wrap/2.6.1: missing requirement [org.ops4j.pax.url.wrap/2.6.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))"]] -> [Help 1]
See full output in attach.