diff --git a/rust-maven-plugin/src/main/java/io/questdb/rust/maven/plugin/CargoBuildMojo.java b/rust-maven-plugin/src/main/java/io/questdb/rust/maven/plugin/CargoBuildMojo.java index b686cb1..4cae675 100644 --- a/rust-maven-plugin/src/main/java/io/questdb/rust/maven/plugin/CargoBuildMojo.java +++ b/rust-maven-plugin/src/main/java/io/questdb/rust/maven/plugin/CargoBuildMojo.java @@ -47,7 +47,7 @@ /** * An example of a Maven plugin. */ -@Mojo(name = "build", defaultPhase = LifecyclePhase.COMPILE) +@Mojo(name = "build", defaultPhase = LifecyclePhase.COMPILE, threadSafe = true) public class CargoBuildMojo extends AbstractMojo { @Parameter(property = "project", readonly = true)