Skip to content

Commit

Permalink
Document that V4 mojo are supposed to be threadsafe (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Aug 26, 2024
1 parent 6e6c262 commit 9bfaf54
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -31,6 +32,7 @@
@Experimental
@FunctionalInterface
@Consumer
@ThreadSafe
public interface Mojo {
/**
* Perform whatever build-process behavior this {@code Mojo} implements.
Expand Down

0 comments on commit 9bfaf54

Please sign in to comment.