diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-06-14 22:42:45 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-06-15 11:07:28 +0200 |
commit | a6ebf38e3020cf2b63d59b06755b13e601ea5cdf (patch) | |
tree | 1d57b057d826b56f5602f19c676ee83ea76dcde5 /bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo | |
parent | 96b644bf817b2b789d882008166793bd177c35c0 (diff) |
Mark bundle-plugin thread safe
The bundle-plugin should be thread-safe as there is no shared state
between bundle constructions across Maven projects. Marking it as that will
remove unneccessary warnings from the Maven build output.
Diffstat (limited to 'bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo')
-rw-r--r-- | bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java index e09748615a8..719445f186f 100644 --- a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java +++ b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java @@ -29,7 +29,7 @@ import static org.twdata.maven.mojoexecutor.MojoExecutor.*; * * @author tonytv */ -@Mojo(name = "generateSources", requiresDependencyResolution = ResolutionScope.COMPILE) +@Mojo(name = "generateSources", requiresDependencyResolution = ResolutionScope.COMPILE, threadSafe = true) public class GenerateSourcesMojo extends AbstractMojo { @Parameter(defaultValue = "${project}") |