This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-grpc.git
The following commit(s) were added to refs/heads/main by this push:
new 70c3d8db Mark Maven plugin mojos as threadsafe. (#68)
70c3d8db is described below
commit 70c3d8dbbaa13b6b4b30c29d17d63325c5abce1d
Author: Tim Whittington <[email protected]>
AuthorDate: Sat May 13 21:26:32 2023 +1200
Mark Maven plugin mojos as threadsafe. (#68)
The mojos are both singleton instantiated, but do not modify any Class or
instance state, so should be safe to use on multiple worker threads.
---
maven-plugin/src/main/maven/plugin.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/maven-plugin/src/main/maven/plugin.xml
b/maven-plugin/src/main/maven/plugin.xml
index 5b4ec31e..00f9767f 100644
--- a/maven-plugin/src/main/maven/plugin.xml
+++ b/maven-plugin/src/main/maven/plugin.xml
@@ -12,6 +12,7 @@
<description>Generate Apache Pekko gRPC model and service
code</description>
<implementation>org.apache.pekko.grpc.maven.GenerateMojo</implementation>
<instantiationStrategy>singleton</instantiationStrategy>
+ <threadSafe>true</threadSafe>
<phase>generate-sources</phase>
<parameters>
@@ -103,6 +104,7 @@
<description>Generate test Apache Pekko gRPC model and service
code</description>
<implementation>org.apache.pekko.grpc.maven.TestGenerateMojo</implementation>
<instantiationStrategy>singleton</instantiationStrategy>
+ <threadSafe>true</threadSafe>
<phase>generate-test-sources</phase>
<parameters>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]