• 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.

          [JENKINS-28420] MAven toolchains error with maven 3.3

          Gordon Pettey added a comment -

          Seeing this error in 1.607.

          Gordon Pettey added a comment - Seeing this error in 1.607.

          the workaround is to use a freestyle job and not a maven job

          Arnaud Héritier added a comment - the workaround is to use a freestyle job and not a maven job

          Fixed by JENKINS-28629 in maven-plugin > 2.13

          Arnaud Héritier added a comment - Fixed by JENKINS-28629 in maven-plugin > 2.13

          Code changed in jenkins
          User: Arnaud HERITIER
          Path:
          pom.xml
          http://jenkins-ci.org/commit/maven-plugin/2ba218bda274cb5d5b561aeada8678d52bd7c26d
          Log:
          Use maven-interceptors 1.8.1
          Fixed: Apache Maven 3.3 support and toolchains integration ( JENKINS-28629, JENKINS-28420 )

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud HERITIER Path: pom.xml http://jenkins-ci.org/commit/maven-plugin/2ba218bda274cb5d5b561aeada8678d52bd7c26d Log: Use maven-interceptors 1.8.1 Fixed: Apache Maven 3.3 support and toolchains integration ( JENKINS-28629 , JENKINS-28420 )

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

              Created:
              Updated:
              Resolved: