sorry but that usage is completely wrong, if you use the maven URL-Handler
it expects to have a maven coordinate

mvn:groupId/artifactId/version ... etc..

if you want to install from a http source just do

install http://....

or better configure your private repository in the
org.ops4j.pax.url.mvn.cfg as additional repository to search for maven
artifacts and use the correct
maven coordinate.

regards, Achim


2015-09-03 9:22 GMT+02:00 Yuriy Kruchko <[email protected]>:

> install  mvn:
> <http://artifactory.local/artifactory/repo%21goupId/artifactId/0.1/kar>
> http://artifactory.local/artifactory/repo!goupId/artifactId/0.1/kar
> [ERROR] Could not expand event
> java.lang.IllegalArgumentException: !goupId/artifactId/0.1/kar: 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.impl.jline.ConsoleImpl.readAndParseCommand(ConsoleImpl.java:284)
>
>         at
> org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:203)
>
>         at
> org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)
>
>         at
> org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)
>         at
> org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to