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

Maven2 "Build modules in parallel" no longer working

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • None

      From the forums: <http://n4.nabble.com/Maven2-Build-modules-in-parallel-only-building-master-td1755745.html#a1755745>

      "I've tried maven 2.0.9 and 2.2.1, my "Goals and options" are "clean install -Pft -D..." with the rest being '-D' parameters that are not maven specific. The 'ft' profile just affects the include patterns for test execution. No matter what I do, it just builds the master pom and never proceeds to the submodules. If I uncheck "Build modules in parallel" but leave everything else the same, it builds everything in series as expected. I'm running Hudson 1.352."

      I've also tried with a very simple test project and used only "clean install" as the goals and options, and I get the same result.

          [JENKINS-6205] Maven2 "Build modules in parallel" no longer working

          Scott Glajch added a comment -

          Our product is also seeing this issue (currently maven version is 3.0.3). I also verified the problem at home using a very small and simple set of test projects and a new install of jenkins. Let me know if I need to upload the test project demonstrating the problem, or if you need debugging output of some sort.

          We're pretty sure that this feature will be a very big time saver as we have 200+ modules, and is one of the reasons we finally decided to make the jump from maven 1 to m2/3.

          Scott Glajch added a comment - Our product is also seeing this issue (currently maven version is 3.0.3). I also verified the problem at home using a very small and simple set of test projects and a new install of jenkins. Let me know if I need to upload the test project demonstrating the problem, or if you need debugging output of some sort. We're pretty sure that this feature will be a very big time saver as we have 200+ modules, and is one of the reasons we finally decided to make the jump from maven 1 to m2/3.

          emmulator added a comment -

          I'm the one who originally filed this, and while we haven't figured out the problem here yet, someone in my company did report that, on a clean Jenkins install that he did to experiment locally (I even think it was back in the Hudson days) the feature did work, but just doesn't work on our main install where all the builds actually run. So it is quite possible that there is some plugin that interferes with this functionality. In case that is indeed the case, in order to facilitate identifying which plugin it could be, here is a list of the plugins currently installed on our main Jenkins server where we have observed this behavior:

          Downstream-Ext
          Token Macro Plugin
          Maven 2 Project Plugin
          Copy Artifact Plugin
          CVS Plugin
          Subversion Plugin
          Email-ext plugin
          Jenkins M2 Extra Steps Plugin
          View Job Filters
          Hudson VirtualBox Plugin
          Static Code Analysis Plug-ins
          Instant Messaging Plugin
          Perforce Plugin
          JUnit Attachments Plugin
          IRC Plugin
          Jenkins Grails plugin
          SSH Slaves plugin
          Cobertura Plugin
          Scriptler
          Jenkins Persona Plugin
          Hudson Groovy builder
          Hudson Locks and Latches plugin
          Backup Plugin
          Hudson Xvnc plugin
          Parameterized Trigger Plugin
          Git Plugin
          Jenkins Maven Repository Server
          Hudson Setenv Plugin
          Green Balls
          Audit Trail Plugin
          ChuckNorris Plugin
          Hudson Post build task
          Jenkins Maven Release Plug-in Plug-in
          Jenkins description setter plugin
          Template Project Plugin
          Bazaar Plugin
          Monitoring
          PMD Plugin
          DRY Plugin
          FindBugs Plugin
          Matrix Tie Parent plugin

          emmulator added a comment - I'm the one who originally filed this, and while we haven't figured out the problem here yet, someone in my company did report that, on a clean Jenkins install that he did to experiment locally (I even think it was back in the Hudson days) the feature did work, but just doesn't work on our main install where all the builds actually run. So it is quite possible that there is some plugin that interferes with this functionality. In case that is indeed the case, in order to facilitate identifying which plugin it could be, here is a list of the plugins currently installed on our main Jenkins server where we have observed this behavior: Downstream-Ext Token Macro Plugin Maven 2 Project Plugin Copy Artifact Plugin CVS Plugin Subversion Plugin Email-ext plugin Jenkins M2 Extra Steps Plugin View Job Filters Hudson VirtualBox Plugin Static Code Analysis Plug-ins Instant Messaging Plugin Perforce Plugin JUnit Attachments Plugin IRC Plugin Jenkins Grails plugin SSH Slaves plugin Cobertura Plugin Scriptler Jenkins Persona Plugin Hudson Groovy builder Hudson Locks and Latches plugin Backup Plugin Hudson Xvnc plugin Parameterized Trigger Plugin Git Plugin Jenkins Maven Repository Server Hudson Setenv Plugin Green Balls Audit Trail Plugin ChuckNorris Plugin Hudson Post build task Jenkins Maven Release Plug-in Plug-in Jenkins description setter plugin Template Project Plugin Bazaar Plugin Monitoring PMD Plugin DRY Plugin FindBugs Plugin Matrix Tie Parent plugin

          This is still broken in Jenkins ver. 2.19.1 and Maven Integration 2.13

          Only the root module is being built (with the -N option), although I can go to Modules tab and trigger individual module builds manually.

          Jakub Bochenski added a comment - This is still broken in Jenkins ver. 2.19.1 and Maven Integration 2.13 Only the root module is being built (with the -N option), although I can go to Modules tab and trigger individual module builds manually.

            Unassigned Unassigned
            emmulator emmulator
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: