Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-265

add-features-to-repo goal of features-maven-plugin should support wrap jar with additional instructions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.1, 2.2.0
    • None
    • None

    Description

      The bundles with wrap prefix are currently skipped, please fix.

      Please also note that wrap prefix allows additional params to be specified after bundle version, using $ sign, like this:
      <bundle>wrap:mvn:org.apache.shiro/shiro-core/1.0.0-incubating$Bundle-Version=1.0.0&Export-Package=*;version="1.0.0"</bundle>
      this is currently not handled properly:

      [ERROR] Can't resolve bundle mvn:org.apache.shiro/shiro-core/1.0.0-incubating$Bundle-Version=1.0.0&Export-Package=*;version="1.0.0"
      org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

      the $ sign and everything after it should be removed from the URL when downloading the bundle

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              di_m_an Dmitry Drozdov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: