Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-98

Maven2OsgiConverter unnecessarily pads version numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • maven-osgi (RETIRED)
    • None

    Description

      In DefaultMavenOsgiConverter#getVersion(), there's logic to the effect of:

      /* convert

      • 1.string -> 1.0.0.string
      • 1.2.string -> 1.2.0.string
      • 1 -> 1.0.0
      • 1.1 -> 1.1.0
        */

      ...which is unnecessary; the version number only needs to be padded out to three places when there's a qualifier present.

      Attachments

        1. MSHARED-98-maven-osgi.patch
          4 kB
          Matthew Beermann
        2. MSHARED-98-maven-osgi.patch
          3 kB
          Matthew Beermann

        Activity

          People

            Unassigned Unassigned
            mbeerman Matthew Beermann
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: