Toolchain is ignored -------------------- Key: SUREFIRE-720 URL: http://jira.codehaus.org/browse/SUREFIRE-720 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Plugin Affects Versions: 2.8, 2.7.2, 2.7.1, 2.7 Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: C:\Users\alex\Software\apache-maven-3.0.3\bin\.. Java version: 1.6.0_19, vendor: Sun Microsystems Inc. Java home: C:\Users\alex\Software\jdk1.6.0_19\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Reporter: Alexander Kitaev The following debug output demonstrates the problem: ... [INFO] Toolchain in compiler-plugin: JDK[C:/Users/alex/Software/jdk1.5.0_22] ... [INFO] Toolchain in surefire-plugin: JDK[C:/Users/alex/Software/jdk1.5.0_22] [WARNING] Toolchains are ignored, 'executable' parameter is set to C:\Users\alex\Software\jdk1.6.0_19\jre\bin\java Forking command line: cmd.exe /X /C "C:\Users\alex\Software\jdk1.6.0_19\jre\bin\java -jar ... Compiler plugin uses proper JDK, while Surefire falls back to default. The problem is not reproducible with Surefire 2.6 and 2.5. -- 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