diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCLIPlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCLIPlugin.java index 1fbd4832e7..2e9156f139 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCLIPlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCLIPlugin.java @@ -30,7 +30,7 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; -@Mojo(name = "cli", defaultPhase = LifecyclePhase.VERIFY) +@Mojo(name = "cli", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) public class ArtemisCLIPlugin extends ArtemisAbstractPlugin { private PluginDescriptor descriptor; diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java index 97b5fbc8d7..ef01a4052d 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java @@ -31,7 +31,7 @@ import org.apache.maven.plugins.annotations.Parameter; /** * Allows a Java Client to be run which must hve a static main(String[] args) method */ -@Mojo(name = "runClient", defaultPhase = LifecyclePhase.VERIFY) +@Mojo(name = "runClient", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) public class ArtemisClientPlugin extends ArtemisAbstractPlugin { @Parameter diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java index 77b3d6b2c1..30e7ef0088 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisCreatePlugin.java @@ -40,7 +40,7 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; -@Mojo(name = "create", defaultPhase = LifecyclePhase.VERIFY) +@Mojo(name = "create", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) public class ArtemisCreatePlugin extends ArtemisAbstractPlugin { @Parameter diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyDocPlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyDocPlugin.java index c2bdb04d34..af355e6d59 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyDocPlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyDocPlugin.java @@ -49,7 +49,7 @@ import org.eclipse.aether.resolution.ArtifactResult; * X{fileMD} with the fileName on a LINK with MD style * X{URI} with the URI * X{detail} with the detail provided in the config */ -@Mojo(name = "dependency-doc", defaultPhase = LifecyclePhase.VERIFY) +@Mojo(name = "dependency-doc", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) public class ArtemisDependencyDocPlugin extends ArtemisAbstractPlugin { @Parameter diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyScanPlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyScanPlugin.java index fc931d4e75..73a68218a7 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyScanPlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisDependencyScanPlugin.java @@ -33,7 +33,7 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; -@Mojo(name = "dependency-scan", defaultPhase = LifecyclePhase.VERIFY) +@Mojo(name = "dependency-scan", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true) public class ArtemisDependencyScanPlugin extends ArtemisAbstractPlugin { @Parameter diff --git a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisUpgradePlugin.java b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisUpgradePlugin.java index 1d21fee762..a95c88a729 100644 --- a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisUpgradePlugin.java +++ b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisUpgradePlugin.java @@ -31,7 +31,7 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; -@Mojo(name = "upgrade", defaultPhase = LifecyclePhase.TEST_COMPILE) +@Mojo(name = "upgrade", defaultPhase = LifecyclePhase.TEST_COMPILE, threadSafe = true) public class ArtemisUpgradePlugin extends ArtemisAbstractPlugin { @Parameter