maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Isbell (JIRA)" <>
Subject [jira] Created: (MNG-3430) Toolchain doesn't match Toolchain extensions
Date Tue, 04 Mar 2008 18:50:31 GMT
Toolchain doesn't match Toolchain extensions

                 Key: MNG-3430
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.9
            Reporter: Shane Isbell
            Priority: Minor

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 is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message