Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-1146

Missing Import-Package header in sshd-osgi-2.6.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None

    Description

      After SSHD-1092, where sshd-core and sshd-common (and other modules) lost their OSGi manifests, sshd-core which repackages them, no longer provides any Import-Package headers. Effectively this makes sshd-osgi-2.6.0 unusable in OSGi env.

      Remember that e.g., Karaf's ssh features contains not only sshd-osgi bundles (now at version 2.5.1):

      <bundle start-level="30">mvn:org.apache.sshd/sshd-osgi/${sshd.version}</bundle>
      <bundle start-level="30">mvn:org.apache.sshd/sshd-scp/${sshd.version}</bundle>
      <bundle start-level="30">mvn:org.apache.sshd/sshd-sftp/${sshd.version}</bundle>
      

      To better look and compare OSGi headers, please have a look at https://ops4j1.jira.com/wiki/spaces/TOOLS/pages/412549134/OSGi+Report+Maven+Plugin - you don't have to create special maven module (as we do with Pax projects), you can simply invoke:

      mvn install org.ops4j.tools.maven:osgi-report-maven-plugin:0.1.1:manifest-summary
      

      inside sshd-osgi module and you'll get something like manifest-summary.txt - it is easy to compare it with similar summary created for different version, like manifest-summary-2.5.1.txt.

      Attachments

        1. manifest-summary.txt
          35 kB
          Grzegorz Grzybek
        2. manifest-summary-2.5.1.txt
          35 kB
          Grzegorz Grzybek

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: