[
https://jira.codehaus.org/browse/MNG-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MNG-5716:
-------------------------------
Attachment: MNG-3891-MNG-5716.patch
here is the fix: no problem in the unit test, which is really good since it
proved a mistake in MNG-3891 :)
it was the same mistake that required current issue: don't use *every*
toolchain factory but only the one for expected toolchain type
> ToolchainManagerPrivate.getToolchainsForType() returns toolchains that are
> not of expected type
> -----------------------------------------------------------------------------------------------
>
> Key: MNG-5716
> URL: https://jira.codehaus.org/browse/MNG-5716
> Project: Maven
> Issue Type: Bug
> Components: Toolchains
> Affects Versions: 3.0.5, 3.2.3
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Priority: Minor
> Fix For: 3.2.5
>
> Attachments: MNG-3891-MNG-5716.patch, MNG-5716.patch
>
>
> found while working on maven-toolchains-plugin 1.1:
> {noformat}[INFO] Required toolchain: fake-type [
> other-attribute='other-value' attribute='value' ]
> [DEBUG] Toolchain JDK[/home/opt/jdk1.5] is missing required property:
> other-attribute
> [DEBUG] Toolchain JDK[/home/opt/jdk1.6] is missing required property:
> other-attribute
> [DEBUG] Toolchain JDK[/home/opt/jdk1.7] is missing required property:
> other-attribute
> [DEBUG] Toolchain JDK[/home/opt/jdk1.8] is missing required property:
> other-attribute
> [ERROR] No toolchain matched for type fake-type
> [INFO] Required toolchain: another-fake-type [ any ]
> [INFO] Toolchain matched for type another-fake-type:
> JDK[/home/opt/jdk1.5]{noformat}
> these jdk toochains should not have been ever tested again non-jdk type
> requirement
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)