diff --git a/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java b/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java index 62807378faf1..ca90438dd348 100644 --- a/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java +++ b/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java @@ -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.