-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
%
-
-
Fuse 7.3 Sprint 38
We get the error like
[WARNING] The requested profile "release" could not be activated because it does not exist. [ERROR] Failed to execute goal org.jboss.redhat-fuse:karaf-maven-plugin:7.3.0.fuse-730004:assembly (karaf-assembly) on project karaf-cxf-rest: 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.5.4: missing requirement [wrap/2.5.4] osgi.identity; osgi.identity=org.ops4j.pax.url.wrap; type=osgi.bundle; version="[2.5.4,2.5.4]"; resolution:=mandatory [caused by: Unable to resolve org.ops4j.pax.url.wrap/2.5.4: missing requirement [org.ops4j.pax.url.wrap/2.5.4] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))"]] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.redhat-fuse:karaf-maven-plugin:7.3.0.fuse-730004:assembly (karaf-assembly) on project karaf-cxf-rest: Unable to build assembly at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build assembly at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:448) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: org.osgi.service.resolver.ResolutionException: 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.5.4: missing requirement [wrap/2.5.4] osgi.identity; osgi.identity=org.ops4j.pax.url.wrap; type=osgi.bundle; version="[2.5.4,2.5.4]"; resolution:=mandatory [caused by: Unable to resolve org.ops4j.pax.url.wrap/2.5.4: missing requirement [org.ops4j.pax.url.wrap/2.5.4] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))"]] at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:391) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:377) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:349) at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:248) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388) at org.apache.karaf.features.internal.service.Deployer.handlePrerequisites(Deployer.java:1075) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:383) at org.apache.karaf.features.internal.service.Deployer.deployFully(Deployer.java:330) at org.apache.karaf.profile.assembly.Builder.resolve(Builder.java:1994) at org.apache.karaf.profile.assembly.Builder.startupStage(Builder.java:1805) at org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:1107) at org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:848) at org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:542) at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:444) ... 22 more [ERROR]
from here