[ http://jira.codehaus.org/browse/MAVEN-1700?page=comments#action_70525 ] Dain Sundstrom commented on MAVEN-1700: ---------------------------------------
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. > Maven 1.1 doesn't seems to set up appropriately the java.endored.dir property > for Java under Mac OS X > ----------------------------------------------------------------------------------------------------- > > Key: MAVEN-1700 > URL: http://jira.codehaus.org/browse/MAVEN-1700 > Project: Maven > Issue Type: Bug > Components: cli > Affects Versions: 1.1-beta-1 > Environment: Mac OS X 10.4 - Java 1.4.2 - Should apply to any Mac OS > X and Java > Reporter: Ludovic MaƮtre > Priority: Minor > > 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 message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira