Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-385

version normalization from Maven to Eclipse is incorrect in some corner cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • OSGi, Manifest, PDE support
    • None
    • Patch

    Description

      The code in EclipseOSGiManifestWriter.getNormalizedVersion is incorrect in the case where there are 4 components as input to the version. For instance, it converts 2.3.0.incubating-SNAPSHOT to 2.3.0.incubating.SNAPSHOT - this has 5 components, separated by "periods" and is invalid as an Eclipse version number; Eclipse version numbers have 4 components (maximum) where the first 3 are numeric. See http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tasks/pde_version_qualifiers.htm

      Attachments

        Activity

          People

            carlos Carlos Sanchez Gonzalez
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: