Maven
  1. Maven
  2. MNG-3004

Allow build lifecycle to execute projects in parallel

    Details

    • Flags:
      Patch

      Description

      One of the great advantages with maven over scripted build environments is that it can calculate the dependencies of the build, and it could execute items that are independent of each other in parallel.

      Unfortunately it currently doesn't do this, which would be a big win over tools such as 'ant'. It also means that multicore machines have lots of idle capacity when running a serial build that could be utilised.

      I had a quick shot at seeing what might be required. Bear in mind this is the first time I have looked at maven internally, and I was just trying to feel my way around and build a POC. I got some of the way there, but my build threads don't seem to have the correct classpath - I think this is something to do with plexus / classworlds - but I don't know enough.

      It'd be great to get this feature in a future version, or a way of running my hack (figuring out why in a thread has not the plexus stuff) in the interim.

      1. MNG-3004.increased-testability.patch
        24 kB
        Kristian Rosenvold
      2. mng3004.patch
        7 kB
        Kristian Rosenvold
      3. MNG-3004-Resurrected-StringSearchModelInterpolatorTest.patch
        30 kB
        Kristian Rosenvold
      4. MNG3004-SSMI.patch
        8 kB
        Kristian Rosenvold
      5. mng3004v2_rev2.patch
        423 kB
        Kristian Rosenvold
      6. parallel-builds.patch
        39 kB
        nigel magnay

        Issue Links

          Activity

          nigel magnay created issue -
          Jason van Zyl made changes -
          Field Original Value New Value
          Fix Version/s Reviewed [ 13555 ]
          Brett Porter made changes -
          Patch Submitted [Yes]
          Brett Porter made changes -
          Fix Version/s 2.1.0-M3 [ 14588 ]
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          nigel magnay made changes -
          Link This issue depends upon MNG-2802 [ MNG-2802 ]
          John Casey made changes -
          Fix Version/s 2.2.0-M1 [ 14593 ]
          Fix Version/s 2.1.0-M3 [ 14588 ]
          Wendy Smoak made changes -
          Link This issue depends upon MNG-3379 [ MNG-3379 ]
          Dan Fabulich made changes -
          Summary Allow build lifecycle to execute tasks in parallel Allow build lifecycle to execute projects in parallel
          Kristian Rosenvold made changes -
          Attachment MNG3004-SSMI.patch [ 45852 ]
          Kristian Rosenvold made changes -
          Attachment MNG-3004-Resurrected-StringSearchModelInterpolatorTest.patch [ 45876 ]
          Kristian Rosenvold made changes -
          Attachment MNG-3004.increased-testability.patch [ 45877 ]
          Kristian Rosenvold made changes -
          Attachment mng3004.patch [ 46434 ]
          Kristian Rosenvold made changes -
          Attachment mng3004v2_rev2.patch [ 46443 ]
          Brett Porter made changes -
          Fix Version/s 2.3.x [ 14593 ]
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Benjamin Bentmann made changes -
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Wendy Smoak made changes -
          Link This issue relates to CONTINUUM-2481 [ CONTINUUM-2481 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Fix Version/s 3.0-beta-1 [ 16089 ]
          Jason van Zyl made changes -
          Assignee Kristian Rosenvold [ krosenvold ]
          Kristian Rosenvold made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Kristian Rosenvold made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Kristian Rosenvold made changes -
          Link This issue relates to MSHARED-148 [ MSHARED-148 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue relates to MSHARED-148 [ MSHARED-148 ]
          Mark Thomas made changes -
          Workflow jira [ 12713511 ] Default workflow, editable Closed status [ 12755681 ]
          Mark Thomas made changes -
          Patch Submitted Yes [ 10763 ]
          Flags Patch [ 10430 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue relates to MSHARED-148 [ MSHARED-148 ]
          Mark Thomas made changes -
          Workflow jira [ 12953027 ] Default workflow, editable Closed status [ 12990352 ]

            People

            • Assignee:
              Kristian Rosenvold
              Reporter:
              nigel magnay
            • Votes:
              44 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development