[ http://jira.codehaus.org/browse/MSUREFIREREP-25?page=all ]
Carlos Sanchez closed MSUREFIREREP-25. -------------------------------------- Assignee: Carlos Sanchez Resolution: Won't Fix See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html jvm Option to specify the jvm (or path to the java executable) to use with the forking options. For the default we will assume that java is in the path. > The plugin does not use JAVA_HOME variable and launches default JVM > ------------------------------------------------------------------- > > Key: MSUREFIREREP-25 > URL: http://jira.codehaus.org/browse/MSUREFIREREP-25 > Project: Maven 2.x Surefire report Plugin > Issue Type: Bug > Environment: Windows 2000, Maven 2.0.4 > Reporter: Andrey Somov > Assigned To: Carlos Sanchez > Priority: Minor > Attachments: MSUREFIREREP-25.log > > > The plugin does not use JAVA_HOME variable and launches default JVM (in this > case default is not defined): > [INFO] Surefire report directory: > D:\tools\workspace\DB2Monster\monster-axis\target\surefire-reports > 'java' is not recognized as an internal or external command, > operable program or batch file. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > JAVA_HOME does not necessary point to the default JVM. > The plugin shall use the same JVM as Maven. -- 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