Maven 1.x Jar Plugin
  1. Maven 1.x Jar Plugin
  2. MPJAR-49

Incorrect jdk version in "Build JDK" in manifest when maven.compile.executable is set

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When maven.compile.executable is set and maven.compile.fork=true, the java plugin can compile under a different jdk than that used to run maven. The jar plugin currently always just puts $

      {java.version}

      into the Build JDK attribute. The version used by the java plugin should be used instead.

        Activity

        Hide
        Lukas Theussl added a comment -

        Fixed with MPJAR-36.

        Show
        Lukas Theussl added a comment - Fixed with MPJAR-36 .

          People

          • Assignee:
            Lukas Theussl
            Reporter:
            Phil Steitz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: