Karaf
  1. Karaf
  2. KARAF-811

Combination of wrap+mvn and instructions doesnt work any more

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      Execution of command (url is taken from pax-url-wrap docs) doesn't work:

      install wrap:mvn:commons-logging/commons-logging/1.1$Bundle-SymbolicName=JCL&Bundle-Version=1.1
      

      Causes an error. Looks like pax-url-mvn uses 1.1$.... as version instead of using only 1.1:

      java.lang.RuntimeException: URL [mvn:commons-logging/commons-logging/1.1-SymbolicName=JCL&Bundle-Version=1.1] could not be resolved.
      
      org.ops4j.pax.url.mvn - 1.2.6 |   Could not download [Version [1.1-SymbolicName=JCL&Bundle-Version=1.1] from URL [file:/Users/lukasz/.m2/repository/commons-logging/commons-logging/1.1-SymbolicName=JCL&Bundle-Version=1.1/commons-logging-1.1-SymbolicName=JCL&Bundle-Version=1.1.jar]]
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Łukasz Dywicki
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development