You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2010/09/13 12:42:42 UTC
svn commit: r996488 -
/maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml
Author: bentmann
Date: Mon Sep 13 10:42:42 2010
New Revision: 996488
URL: http://svn.apache.org/viewvc?rev=996488&view=rev
Log:
[MNG-4642] Mojos need some way to indicate support of multithreading
o Mentioned @threadSafe anno in Mojo API
Modified:
maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml
Modified: maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml?rev=996488&r1=996487&r2=996488&view=diff
==============================================================================
--- maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml (original)
+++ maven/site/trunk/src/site/xdoc/developers/mojo-api-specification.xml Mon Sep 13 10:42:42 2010
@@ -486,6 +486,17 @@ under the License.
<td>No. Default: <code>false</code></td>
<td>Flags this Mojo to require reports.</td>
</tr>
+ <tr>
+ <td>threadSafe</td>
+ <td>@threadSafe <true|false></td>
+ <td>No. Default: <code>false</code></td>
+ <td>
+ Marks this mojo as being thread-safe, i.e. the mojo safely supports concurrent execution during parallel builds.
+ Mojos without this annotation will make Maven output a warning when used during a parallel build session.
+ The short-hand notation <code>@threadSafe</code> without a tag value is equivalent to <code>@threadSafe true</code>.
+ Since Maven 3.0.
+ </td>
+ </tr>
<!-- Autodetect -->
<tr>