Opened 10 years ago

Closed 10 years ago

#45610 closed defect (fixed)

java/maven3: fix invocation without JAVA_HOME set

Reported by: easye Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: hapatch Cc: blair (Blair Zajac), gk5885@…
Port: maven3

Description

This patch fixes the obvious error in upstream maven-3.2.3 for use of /usr/libexec/java_home to determine JAVA_HOME value if it isn't set.

Attachments (2)

java-maven3-Portfile.diff (513 bytes) - added by easye 10 years ago.
Patch maven-java3-portfile to apply patch
patch-bin-mvn.diff (576 bytes) - added by easye 10 years ago.
Patch for mvn to use /usr/libexec/java_home properly

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by easye

Attachment: java-maven3-Portfile.diff added

Patch maven-java3-portfile to apply patch

Changed 10 years ago by easye

Attachment: patch-bin-mvn.diff added

Patch for mvn to use /usr/libexec/java_home properly

comment:1 Changed 10 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Thanks for the patches. Fixed in r127362.

Note: See TracTickets for help on using tickets.