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

[Regression] Cannot build a single module in a Maven multi-module job with Maven 3

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      We have upgraded from Jenkins 1.399 to Jenkins 1.441. Our Maven jobs are now run by Maven 3.0.3 instead of Maven 2.2.1.

      When a job is a Maven multi-module project, it is possible to run a single submodule (on the job page, click on "Modules", then start the build for a given submodule). It was working fine with our old instance but now the build fails with status "ABORTED".

      See thread: http://jenkins.361315.n4.nabble.com/Build-Maven-submodule-gt-ABORTED-td4128116.html

      Is it possible to reintroduce this feature?

      Thanks

        Attachments

          Activity

          Hide
          rockymm Rade Martinović added a comment -

          Mark Adamcin, any news on this front?

          Show
          rockymm Rade Martinović added a comment - Mark Adamcin , any news on this front?
          Hide
          rladstaetter Robert Ladstaetter added a comment -

          any news?

          Show
          rladstaetter Robert Ladstaetter added a comment - any news?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Mathias Åhsberg
          Path:
          src/main/java/hudson/maven/MavenBuild.java
          src/test/java/hudson/maven/AbstractMaven3xBuildTest.java
          http://jenkins-ci.org/commit/maven-plugin/b3f08bd4411cbf138db34de879c9af638cc7ac95
          Log:
          JENKINS-11964 Enable single module build for Maven3.

          Pull Request #9 has been the source for the implementation. However, only parts that was needed to enable single module build for Maven3 projects have been used.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mathias Åhsberg Path: src/main/java/hudson/maven/MavenBuild.java src/test/java/hudson/maven/AbstractMaven3xBuildTest.java http://jenkins-ci.org/commit/maven-plugin/b3f08bd4411cbf138db34de879c9af638cc7ac95 Log: JENKINS-11964 Enable single module build for Maven3. Pull Request #9 has been the source for the implementation. However, only parts that was needed to enable single module build for Maven3 projects have been used.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/MavenBuild.java
          src/test/java/hudson/maven/AbstractMaven3xBuildTest.java
          http://jenkins-ci.org/commit/maven-plugin/eceb0289ce3a8ffee6792148fa5aa2ed0032e462
          Log:
          Merge pull request #29 from goober/master

          JENKINS-11964 Enable single module build for Maven3.

          Compare: https://github.com/jenkinsci/maven-plugin/compare/299ccd301ea2...eceb0289ce3a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/MavenBuild.java src/test/java/hudson/maven/AbstractMaven3xBuildTest.java http://jenkins-ci.org/commit/maven-plugin/eceb0289ce3a8ffee6792148fa5aa2ed0032e462 Log: Merge pull request #29 from goober/master JENKINS-11964 Enable single module build for Maven3. Compare: https://github.com/jenkinsci/maven-plugin/compare/299ccd301ea2...eceb0289ce3a
          Hide
          rade_martinovic Rade Martinovic added a comment - - edited

          The wiki page for Maven plugin says that it the fix has made it into 2.7 release. So is this issue Resolved?

          Show
          rade_martinovic Rade Martinovic added a comment - - edited The wiki page for Maven plugin says that it the fix has made it into 2.7 release. So is this issue Resolved?

            People

            • Assignee:
              madamcin Mark Adamcin
              Reporter:
              henryju henryju
            • Votes:
              39 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

              • Created:
                Updated: