Yes, if you add the camel repo and install camel feature in console it will work.
The issue is only when building custom distribution. regards, François fpa...@apache.org Le 06/08/2020 à 09:33, Paul Fraser a écrit : > Thanks, Francois, > > No wonder I have been driving myself silly. > > Should it work OK when installed via console, which does not complain? > > Paul > > > On 6/08/2020 5:25 pm, Francois Papon wrote: >> Hi Paul, >> >> This is an error related to Camel, we will fix it. >> >> regards >> >> fpa...@apache.org >> >> Le 06/08/2020 à 08:07, Paul Fraser a écrit : >>> Hi, >>> >>> Building assembly Karaf 4.3.0-SNAPSHOT, pom attached. >>> >>> If I build assembly without Camel and add Camel via console works OK. >>> >>> Why is version 4.2.9 resolve the problem and what should I add to the >>> pom to fix? >>> >>> Listening for transport dt_socket at address: 5005 >>> org.apache.felix.resolver.reason.ReasonException: Unable to resolve >>> root: missing requirement [root] osgi.identity; osgi.identity=feature; >>> type=karaf.feature; version="[4.2.9,4.2.9]"; >>> filter:="(&(osgi.identity=feature)(type=karaf.feature)(version>=4.2.9)(version<=4.2.9))" >>> >>> [caused by: Unable to resolve feature/4.2.9: missing requirement >>> [feature/4.2.9] osgi.identity; >>> osgi.identity=org.apache.karaf.features.core; type=osgi.bundle; >>> version="[4.2.9,4.2.9]"; resolution:=mandatory [caused by: Unable to >>> resolve org.apache.karaf.features.core/4.2.9: missing requirement >>> [org.apache.karaf.features.core/4.2.9] osgi.wiring.package; >>> filter:="(&(osgi.wiring.package=org.osgi.service.resolver)(version>=1.0.0)(!(version>=1.1.0)))"]] >>> >>> at >>> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) >>> >>> at >>> org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:434) >>> at >>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:421) >>> at >>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) >>> at >>> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) >>> >>> at >>> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:391) >>> >>> at >>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) >>> >>> at >>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) >>> >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >>> >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >>> >>> at java.lang.Thread.run(Thread.java:748) >>> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to >>> resolve feature/4.2.9: missing requirement [feature/4.2.9] >>> osgi.identity; osgi.identity=org.apache.karaf.features.core; >>> type=osgi.bundle; version="[4.2.9,4.2.9]"; resolution:=mandatory >>> [caused by: Unable to resolve org.apache.karaf.features.core/4.2.9: >>> missing requirement [org.apache.karaf.features.core/4.2.9] >>> osgi.wiring.package; >>> filter:="(&(osgi.wiring.package=org.osgi.service.resolver)(version>=1.0.0)(!(version>=1.1.0)))"] >>> >>> at >>> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) >>> >>> ... 12 more >>> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to >>> resolve org.apache.karaf.features.core/4.2.9: missing requirement >>> [org.apache.karaf.features.core/4.2.9] osgi.wiring.package; >>> filter:="(&(osgi.wiring.package=org.osgi.service.resolver)(version>=1.0.0)(!(version>=1.1.0)))" >>> >>> at >>> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) >>> >>> ... 13 more >>> >>> Thanks >>> >>> Paul Fraser >>> >>> >>> >