Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-62

Build-Jdk in Manifest.mf does not reflect which compiler version actually compiled the classes in the jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • None
    • None

    Description

      Manifest.mf does not reflect the version of the compiler that built the jar, but defaults to the version that maven runs under: Build-Jdk: ${java.version}.
      I believe this makes users uncertain of which compiler was actually used to build the classes.

      Attachments

        1. example-app.zip
          4 kB
          Peter Janssen

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              landro Stefan Magnus Landrø
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: