-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
FIS 2.0
-
%
Trying to build a karaf deployment with camel-jetty8 feature fails with the default fabric8-project-bom-fuse-karaf 3.1.80.redhat-000001
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.8.redhat-000013:assembly (karaf-assembly) on project camel-jetty8: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-jetty8; type=karaf.feature; filter:="(&(osgi.identity=camel-jetty8)(type=karaf.feature))" [caused by: Unable to resolve camel-jetty8/2.17.0.redhat-630187: missing requirement [camel-jetty8/2.17.0.redhat-630187] osgi.identity; osgi.identity=org.apache.camel.camel-jetty8; type=osgi.bundle; version="[2.17.0.redhat-630187,2.17.0.redhat-630187]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-jetty8/2.17.0.redhat-630187: missing requirement [org.apache.camel.camel-jetty8/2.17.0.redhat-630187] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.jetty.client)(version>=8.0.0)(!(version>=9.0.0)))"]]
as that only defined jetty9 dependencies,
The camel-jetty8 feature is deprecated, assuming it is still supported, there needs to be specified which are the supported jetty8 libraries versions
<feature name='camel-jetty8' version='2.17.0.redhat-630187' resolver='(obr)' start-level='50'> <details>camel-jetty8 is deprecated, use camel-jetty9</details> <feature>jetty</feature> <feature version='2.17.0.redhat-630187'>camel-core</feature> <bundle>mvn:org.apache.camel/camel-http-common/2.17.0.redhat-630187</bundle> <bundle>mvn:org.apache.camel/camel-jetty-common/2.17.0.redhat-630187</bundle> <bundle>mvn:org.apache.camel/camel-jetty8/2.17.0.redhat-630187</bundle> </feature>