mirror of
https://github.com/apache/maven.git
synced 2025-02-07 02:29:10 +00:00
Document that V4 mojo are supposed to be threadsafe (#1675)
This commit is contained in:
parent
6e6c262192
commit
9bfaf54e90
@ -20,6 +20,7 @@
|
||||
|
||||
import org.apache.maven.api.annotations.Consumer;
|
||||
import org.apache.maven.api.annotations.Experimental;
|
||||
import org.apache.maven.api.annotations.ThreadSafe;
|
||||
|
||||
/**
|
||||
* This interface forms the contract required for Mojos to interact with the Maven infrastructure.
|
||||
@ -31,6 +32,7 @@
|
||||
@Experimental
|
||||
@FunctionalInterface
|
||||
@Consumer
|
||||
@ThreadSafe
|
||||
public interface Mojo {
|
||||
/**
|
||||
* Perform whatever build-process behavior this {@code Mojo} implements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user