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

ToolchainManagerPrivate.getToolchainsForType() returns toolchains that are not of expected type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.5, 3.2.3
    • 3.2.5
    • Toolchains
    • None

    Description

      found while working on maven-toolchains-plugin 1.1:

      [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]

      these jdk toochains should not have been ever tested again non-jdk type requirement

      Attachments

        1. MNG-5716.patch
          7 kB
          Robert Scholte
        2. MNG-3891-MNG-5716.patch
          0.8 kB
          Herve Boutemy

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: