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

2.2 Maven Installations - System Configuration Missing

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • maven-plugin
    • None

      Create a new Jenkins 2.2 install.

      Add a Maven project.

      Jenkins job prompts:

      " Maven Version
      Jenkins needs to know where your Maven is installed.
      Please do so from the system configuration."

      Which is expected.

      Navigate to Manage Jenkins.

      No "Maven" section present to add installation.

      Section is present in Jenkins 1.6

      "Maven Project Configuration" is present but that is not the "Maven" section that allows installers.

          [JENKINS-34743] 2.2 Maven Installations - System Configuration Missing

          I was able to workaround this issue by copying

          hudson.tasks.Maven.xml

          From my old jenkins,

          But it still doesn't show up in the Manage Jenkins ui.

          It DOES show those options in the job now.

          Sylvester Jakubowski added a comment - I was able to workaround this issue by copying hudson.tasks.Maven.xml From my old jenkins, But it still doesn't show up in the Manage Jenkins ui. It DOES show those options in the job now.

          Fran Garcia added a comment - - edited

          Can you explain how to do the workaround? I am also having this issue and copying the hudson.tasks.Maven.xml didn't make the trick.

          UPDATE: just realised the maven installations show up now in something called Global Tool Configuration

          Fran Garcia added a comment - - edited Can you explain how to do the workaround? I am also having this issue and copying the hudson.tasks.Maven.xml didn't make the trick. UPDATE : just realised the maven installations show up now in something called Global Tool Configuration

          The section changed to Global Tool Configuration. That confused me as well initially. I submitted a pull request to update the link accordingly.
          https://github.com/jenkinsci/maven-plugin/pull/70

          Chris Buechler added a comment - The section changed to Global Tool Configuration. That confused me as well initially. I submitted a pull request to update the link accordingly. https://github.com/jenkinsci/maven-plugin/pull/70

          Rafael Eyng added a comment -

          For those who, like me, have a hard time understanding what/where is Global Tool Configuration, go to Jenkins initial page > Manage Jenkins > Global Tool Configuration

          Rafael Eyng added a comment - For those who, like me, have a hard time understanding what/where is Global Tool Configuration, go to Jenkins initial page > Manage Jenkins > Global Tool Configuration

          Will be fixed in by JENKINS-38923 (maven-plugin >=2.14)

          Arnaud Héritier added a comment - Will be fixed in by JENKINS-38923 (maven-plugin >=2.14)

            Unassigned Unassigned
            sjakubowski Sylvester Jakubowski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: