[ 
https://issues.apache.org/jira/browse/SUREFIRE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers reopened SUREFIRE-720:
----------------------------------

It appears a regression error happened. From what I can tell the last version 
to work with toolchains was 2.13. Every version I tried after that doesn't 
work.  For a test project you can use the log4j-java9 module in 
https://git-wip-us.apache.org/repos/asf/logging-log4j2.git.

> Toolchain is ignored
> --------------------
>
>                 Key: SUREFIRE-720
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-720
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.7, 2.7.1, 2.7.2, 2.8
>         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: Jun
>            Assignee: Kristian Rosenvold
>             Fix For: 2.9
>
>         Attachments: SurefireToolchains.zip
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to