Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28420

MAven toolchains error with maven 3.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • linux RHEL, java 8, maven 3.3, check against jenkins version 1.610 & 1.613.

      Hi,

      When I use toolchains, I set toolchains.xml file in ~/.m2.
      If I build a job with maven 3.2 it work.
      If I build a job with maven 3.3 it fails with the error :
      INFO] — maven-toolchains-plugin:1.1:toolchain (default) @ xxxxxxx —
      [INFO] Required toolchain: jdk [ version='1.5' ]
      [ERROR] No toolchain found for type jdk
      [ERROR] Cannot find matching toolchain definitions for the following toolchain types:
      jdk [ version='1.5' ]

      It come from jenkins plugin, because when I launch "manually" maven 3.3 it work without issue.

            Unassigned Unassigned
            intelradoux intelradoux
            Votes:
            11 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: