ARTEMIS-4471 Mark Maven plugins with threadSafe=true

This commit is contained in:
Clebert Suconic 2023-10-24 07:09:11 -04:00 committed by clebertsuconic
parent 7c4663a5b6
commit c990ed74d9
6 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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