Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3430

Toolchain doesn't match Toolchain extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.9
    • 2.0.9
    • Toolchains
    • 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.

      Attachments

        Activity

          People

            mkleint Milos Kleint
            sisbell Britton Isbell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: