maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Peter Störr (JIRA) <>
Subject [jira] Commented: (MNG-3004) Allow build lifecycle to execute tasks in parallel
Date Wed, 25 Mar 2009 17:13:13 GMT


Hans-Peter Störr commented on MNG-3004:

How about implementing a restricted version of parallel builds that only works in offline
mode for now? (See my suggestion above.)

I might take a while and more than one release to get something like this right, so it might
be better to do at least something now, without waiting for other stuff to happen. And it
would be usable right now. If the locking / repository separation / whatever is done later,
one can just remove the restriction and - boom - you are there.

> Allow build lifecycle to execute tasks in parallel
> --------------------------------------------------
>                 Key: MNG-3004
>                 URL:
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Bootstrap & Build, General, Performance
>    Affects Versions: 2.0.6
>            Reporter: Nigel Magnay
>             Fix For: 2.2.0-M1
>         Attachments: parallel-builds.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message