ARTEMIS-4471 Mark Maven plugins with threadSafe=true
This commit is contained in:
parent
7c4663a5b6
commit
c990ed74d9
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue