Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-31

Use the Felix Bundle Plugin to generate OSGi metadata

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Maven Artifact Resolver 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: resolver
    • Labels:
      None
    • Environment:
      all

      Description

      The MANIFEST.MF for the HTTP transport (and I suspect the file transport too though I haven't popped it open and looked yet) does not have OSGI metadata:

      elharo-macbookair99:Downloads elharo$ more META-INF/MANIFEST.MF
      Manifest-Version: 1.0
      Implementation-Title: Maven Artifact Resolver Transport HTTP
      Implementation-Version: 1.1.0
      Built-By: mosipov
      Specification-Vendor: The Apache Software Foundation
      Created-By: Apache Maven 3.5.0
      Implementation-URL: https://maven.apache.org/resolver/maven-resolver-t
      ransport-http/
      Implementation-Vendor: The Apache Software Foundation
      Automatic-Module-Name: org.apache.maven.resolver.transport.http
      Implementation-Vendor-Id: org.apache.maven.resolver
      Build-Jdk: 1.7.0_121
      Specification-Title: Maven Artifact Resolver Transport HTTP
      Specification-Version: 1.1
      Archiver-Version: Plexus Archiver

      Adding this would be extremely helpful for anyone who wants to use this in an Eclipse plugin. E.g.

      Bundle-ManifestVersion: 2
      Bundle-Name: org.apache.maven.resolver.transport.http
      Bundle-RequiredExecutionEnvironment: J2SE-1.5, J2SE-1.4
      Bundle-SymbolicName: org.apache.maven.resolver.transport.http
      Bundle-Vendor: apache.org
      Bundle-Version: 1.1.0

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              elharo Elliotte Rusty Harold
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: