On Tue, 2006-04-11 at 07:38, Zsolt wrote: 
> Hi,
> 
> we plan to use scm-maven from tomcat. Are scm-maven and maven thread safe?

The short answer is: no. Maven SCM is not thread safe, most of Maven *should* 
be, but there's no real guarantee for that. In particular the plug-ins might 
not be thread safe.

If you want to embed Maven SCM and/or Maven itself I would recommend that you 
write a simple thread that takes commands from a servlet/jsp/web action and 
builds stuff in a serial ordering.

Continuum does this all over the place so you can take a look at how it does 
the queuing and execution.

--
Trygve

Reply via email to