Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-1
-
Fix Version/s: 1.1-beta-3
-
Component/s: cli
-
Labels:None
-
Environment:Mac OS X 10.4 - Java 1.4.2 - Should apply to any Mac OS X and Java
-
Number of attachments :
Description
I had to add the following to the Maven 1.1b1 startup script for it to run properly under Mac OS X :
if $darwin; then
MAVEN_OPTS="$MAVEN_OPTS -Djava.endorsed.dirs=/System/Library/Java/Extensions"
fi
Because the extension are placed in this folder under Mac OS X Java installation. However this as perhaps been already fixed. (also one should have the Xerces libs in the above mentionned folder for running Maven 1.1b1 with jdk 1.4.2 [the classes of Xerces are included in Java 1.5 AFAIK]).
This does not fix the java.lang.NullPointerException at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:253) on OSX.
The only way to have maven work property on OSX seems to be changing the /System/Library/Frameworks/JavaVM.framework/Versions/Current symlink.