Hi, I'm trying to extend the console (karaf 2.2.0) using this:
http://karaf.apache.org/manual/2.1.99-SNAPSHOT/developers-guide/extending-console.html
this is my POM:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
org.osgi.service.command,*
</Import-Package>
That is the resolved manifest:
Import-Package: org.apache.felix.gogo.commands;version="[0.6,1)",org.a
pache.karaf.shell.console;version="[2.2,3)",org.osgi.service.blueprin
t;version="[1.0.0,2.0.0)",org.osgi.service.command
but is not working due a missing requirement:
karaf@root>osgi:install -s mvn:org.jb.osgi/jb-osgi-commands/1.0-SNAPSHOT
Error executing command: Unresolved constraint in bundle
jb-osgi-commands [85]: Unable to resolve 85.0: missing requirement
[85.0] package; (package=org.osgi.service.command)
Please could someone tell me what am I missing?
thanks
Cristiano