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: 5005org.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 moreCaused 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
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>net.qnenet</groupId> <artifactId>qneassembly</artifactId> <version>4.3.0-SNAPSHOT</version> <packaging>pom</packaging> <name>QNEAssembly</name> <dependencies> <dependency> <groupId>org.apache.karaf.features</groupId> <artifactId>framework</artifactId> <version>4.3.0-SNAPSHOT</version> <type>kar</type> </dependency> <dependency> <groupId>org.apache.karaf.features</groupId> <artifactId>framework</artifactId> <version>4.3.0-SNAPSHOT</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.karaf.features</groupId> <artifactId>standard</artifactId> <version>4.3.0-SNAPSHOT</version> <classifier>features</classifier> <type>xml</type> </dependency> <dependency> <groupId>org.apache.camel.karaf</groupId> <artifactId>apache-camel</artifactId> <version>3.5.0-SNAPSHOT</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>process-resources</id> <goals> <goal>resources</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <executions> <execution> <id>install-kar</id> <phase>compile</phase> <goals> <goal>assembly</goal> </goals> </execution> <execution> <id>package</id> <goals> <goal>archive</goal> </goals> </execution> </executions> <configuration> <installedFeatures> <feature>wrapper</feature> <feature>aries-blueprint</feature> <feature>shell-compat</feature> <feature>camel-core</feature> </installedFeatures> <startupFeatures> <feature>eventadmin</feature> </startupFeatures> <bootFeatures> <feature>pax-url-aether</feature> <feature>wrap</feature> <feature>shell</feature> <feature>feature</feature> <feature>jaas</feature> <feature>ssh</feature> <feature>management</feature> <feature>bundle</feature> <feature>config</feature> <feature>deployer</feature> <feature>diagnostic</feature> <feature>feature</feature> <feature>instance</feature> <feature>kar</feature> <feature>log</feature> <feature>package</feature> <feature>service</feature> <feature>system</feature> <feature>camel</feature> <feature>pax.jetty</feature> <feature>scr</feature> <feature>jasypt-encryption</feature> <feature>http</feature> <feature>http-whiteboard</feature> </bootFeatures> <libraries> </libraries> <javase>1.8</javase> <archiveZip>false</archiveZip> <generateConsistencyReport>${project.build.directory}</generateConsistencyReport> <consistencyReportProjectName>Apache Karaf (full)</consistencyReportProjectName> </configuration> </plugin> </plugins> </build> </project>
<<attachment: paulf.vcf>>