[
https://jira.codehaus.org/browse/MNG-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MNG-3430:
-------------------------------
Component/s: Toolchains
> Toolchain doesn't match Toolchain extensions
> --------------------------------------------
>
> Key: MNG-3430
> URL: https://jira.codehaus.org/browse/MNG-3430
> Project: Maven
> Issue Type: Bug
> Components: Toolchains
> Affects Versions: 2.0.9
> Reporter: Shane Isbell
> Assignee: Milos Kleint
> Priority: Minor
> Fix For: 2.0.9
>
>
> Toolchain uses null key within storing toolchains in Maven Session, which
> causes extensions not to match.
> Specifically, this problem occurs in the
> DefaultToolchainManager.storeToolchainToBuildContext method. When storing
> into context
> context.put( getStorageKey( toolchain.getType() ), toolchain.getModel() );
> toolchain.getType() always returns null. Using toolchain.getModel().getType()
> will return the correct type and fix the problem.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)