From ddf787918fa822788f5863dfda3eae3f8d77040f Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Fri, 19 Jul 2024 12:16:29 -0400 Subject: [PATCH] Add threadSafe annotation to fmpp Maven Plugin Without this annotation Maven assumes the plugin is NOT threadsafe, and any parallel builds spews log warnings --- .../fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java b/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java index 92247bddd91..58428cd4c29 100644 --- a/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java +++ b/tools/fmpp/src/main/java/org/apache/drill/fmpp/mojo/FMPPMojo.java @@ -42,6 +42,7 @@ /** * a maven plugin to run the freemarker generation incrementally * (if output has not changed, the files are not touched) + * @threadSafe * @goal generate * @phase generate-sources */