Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.1-beta-1
-
Component/s: cli
-
Labels:None
-
Environment:Mac OS X
-
Number of attachments :
Description
The maven shell script doesn't properly find MAVEN_HOME when maven is invoked as a symlink and/or when the symlink is a relative symlink.
The attached patch corrects both of these issues.
Ironically, this used to work in 1.0.1 but was broken for 1.0.2.
This patch also enables the two checks for special MAVEN_HOME directories to work correctly.
Patch to bin/maven shell script.