Repository: nifi-maven Updated Branches: refs/heads/master 5a7462946 -> 953ddf4db
NIFI-4216 Marked mojos as ThreadSafe This closes #6. Signed-off-by: Bryan Bende <bbe...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/nifi-maven/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi-maven/commit/f2b7e413 Tree: http://git-wip-us.apache.org/repos/asf/nifi-maven/tree/f2b7e413 Diff: http://git-wip-us.apache.org/repos/asf/nifi-maven/diff/f2b7e413 Branch: refs/heads/master Commit: f2b7e413d464a9775223c9175414f70b5648c439 Parents: 5a74629 Author: Jan Hentschel <jan.hentsc...@ultratendency.com> Authored: Sun Jul 8 18:36:13 2018 +0200 Committer: Bryan Bende <bbe...@apache.org> Committed: Tue Jul 17 14:47:27 2018 -0400 ---------------------------------------------------------------------- src/main/java/org/apache/nifi/NarMojo.java | 2 +- src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi-maven/blob/f2b7e413/src/main/java/org/apache/nifi/NarMojo.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/nifi/NarMojo.java b/src/main/java/org/apache/nifi/NarMojo.java index 124a978..4110fa6 100644 --- a/src/main/java/org/apache/nifi/NarMojo.java +++ b/src/main/java/org/apache/nifi/NarMojo.java @@ -78,7 +78,7 @@ import org.codehaus.plexus.util.StringUtils; * simplified to the use case of NarMojo. * */ -@Mojo(name = "nar", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = false, requiresDependencyResolution = ResolutionScope.RUNTIME) +@Mojo(name = "nar", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true, requiresDependencyResolution = ResolutionScope.RUNTIME) public class NarMojo extends AbstractMojo { private static final String[] DEFAULT_EXCLUDES = new String[]{"**/package.html"}; http://git-wip-us.apache.org/repos/asf/nifi-maven/blob/f2b7e413/src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java b/src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java index 15da9ad..a9ec9b2 100644 --- a/src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java +++ b/src/main/java/org/apache/nifi/NarProvidedDependenciesMojo.java @@ -50,7 +50,7 @@ import java.util.Map; * not project those dependences using the traditional maven dependency plugin. This plugin will override that setting in order to print the dependencies being * inherited at runtime. */ -@Mojo(name = "provided-nar-dependencies", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = false, requiresDependencyResolution = ResolutionScope.RUNTIME) +@Mojo(name = "provided-nar-dependencies", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true, requiresDependencyResolution = ResolutionScope.RUNTIME) public class NarProvidedDependenciesMojo extends AbstractMojo { private static final String NAR = "nar";