You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/01/28 11:14:20 UTC
[plc4x-build-tools] branch develop updated: chore(code-generation): Marked the plugin as threadsafe.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git
The following commit(s) were added to refs/heads/develop by this push:
new 3cc0c7e chore(code-generation): Marked the plugin as threadsafe.
3cc0c7e is described below
commit 3cc0c7e957d8937cf617f68996a3afc9f14e9a39
Author: cdutz <ch...@c-ware.de>
AuthorDate: Fri Jan 28 12:14:14 2022 +0100
chore(code-generation): Marked the plugin as threadsafe.
---
.../main/java/org/apache/plc4x/plugins/codegenerator/GenerateMojo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/code-generation/plc4x-maven-plugin/src/main/java/org/apache/plc4x/plugins/codegenerator/GenerateMojo.java b/code-generation/plc4x-maven-plugin/src/main/java/org/apache/plc4x/plugins/codegenerator/GenerateMojo.java
index 2c5df40..dccbb964 100644
--- a/code-generation/plc4x-maven-plugin/src/main/java/org/apache/plc4x/plugins/codegenerator/GenerateMojo.java
+++ b/code-generation/plc4x-maven-plugin/src/main/java/org/apache/plc4x/plugins/codegenerator/GenerateMojo.java
@@ -41,6 +41,7 @@ import java.util.*;
* Generate the types, serializer and parser classes based on a DFDL shema.
*/
@Mojo(name = "generate-driver",
+ threadSafe = true,
defaultPhase = LifecyclePhase.GENERATE_SOURCES,
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME)
public class GenerateMojo extends AbstractMojo {