Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.9
-
None
Description
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.