How to use warref with mvn protocol to convert war into an OSGI bundle
Issue
- When trying to install
waronJBoss Fuse 6.2.1usingwarref with mvn protocol, but got below exception.
JBossFuse:karaf@root> osgi:install warref:jar:mvn:com.test/Test/1.0.0-SNAPSHOT!/Sample.bnd
[ERROR] Could not expand event
java.lang.IllegalArgumentException: !/Sample.bnd: event not found
at jline.console.ConsoleReader.expandEvents(ConsoleReader.java:779)
at jline.console.ConsoleReader.finishBuffer(ConsoleReader.java:631)
at jline.console.ConsoleReader.accept(ConsoleReader.java:2019)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2666)
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2269)
at org.apache.karaf.shell.console.jline.Console.readAndParseCommand(Console.java:270)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:193)
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.