Maven 1.x Jar Plugin

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
  • Component/s: None
  • 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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: