Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3004

Allow build lifecycle to execute projects in parallel


    • Flags:


      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



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


                • Created: