We created something for the Nexus testing that we could extend or further 
generalize:

http://svn.sonatype.org/plugins/trunk/port-allocator-maven-plugin/

On Jul 25, 2010, at 5:26 AM, Kristian Rosenvold wrote:

> The most popular problem when converting to parallel seems to be
> allocation of TCP/IP port numbers per-module. Where builds would be
> using one shared port-number across all modules, they now need distinct
> port-numbers.
> 
> A solution I can think of is to make a pom expression like
> ${dynamicPortNumber} that'd be bound to something like a base port
> number + indexOf(currentModule). Then you'd need to define a base port
> number somewhere.
> 
> Ultimately I can even see that this'd be a service that plugins like
> parallel surefire could also want to use, but I think /that/ could
> probably wait for later. 
> 
> But I'm sure you guys have a better solution as to how to implement the
> pom-based feature ;)
> 
> Currently catching up with Julia wrt # vacation days.
> 
> Kristian
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

Simplex sigillum veri. (Simplicity is the seal of truth.)



Reply via email to