diff --git a/nifi-commons/nifi-expression-language/pom.xml b/nifi-commons/nifi-expression-language/pom.xml
index 17bf8b2ec3df..46d18102791f 100644
--- a/nifi-commons/nifi-expression-language/pom.xml
+++ b/nifi-commons/nifi-expression-language/pom.xml
@@ -34,6 +34,36 @@
+
+ com.google.code.maven-replacer-plugin
+ replacer
+ 1.5.3
+
+
+ process-sources
+
+ replace
+
+
+
+
+ ${project.build.directory}/generated-sources/antlr3/org/apache/nifi/attribute/expression/language/antlr
+
+ *.java
+
+
+
+ (// .ANTLR .+) ....-..-.. ..:..:..
+ $1
+
+
+ (// elements: ).*
+ $1
+
+
+ true
+
+
org.apache.maven.plugins
maven-checkstyle-plugin
diff --git a/nifi-commons/nifi-hl7-query-language/pom.xml b/nifi-commons/nifi-hl7-query-language/pom.xml
index 437fe235688e..8fdf0d7d65a0 100644
--- a/nifi-commons/nifi-hl7-query-language/pom.xml
+++ b/nifi-commons/nifi-hl7-query-language/pom.xml
@@ -45,6 +45,36 @@
+
+ com.google.code.maven-replacer-plugin
+ replacer
+ 1.5.3
+
+
+ process-sources
+
+ replace
+
+
+
+
+ ${project.build.directory}/generated-sources/antlr3/org/apache/nifi/hl7/query/antlr
+
+ *.java
+
+
+
+ (// .ANTLR .+) ....-..-.. ..:..:..
+ $1
+
+
+ (// elements: ).*
+ $1
+
+
+ true
+
+
org.apache.maven.plugins
maven-checkstyle-plugin
diff --git a/nifi-commons/nifi-record-path/pom.xml b/nifi-commons/nifi-record-path/pom.xml
index 923aa26e5c2e..d28b2cafa35d 100644
--- a/nifi-commons/nifi-record-path/pom.xml
+++ b/nifi-commons/nifi-record-path/pom.xml
@@ -36,6 +36,36 @@
+
+ com.google.code.maven-replacer-plugin
+ replacer
+ 1.5.3
+
+
+ process-sources
+
+ replace
+
+
+
+
+ ${project.build.directory}/generated-sources/antlr3/org/apache/nifi/record/path
+
+ *.java
+
+
+
+ (// .ANTLR .+) ....-..-.. ..:..:..
+ $1
+
+
+ (// elements: ).*
+ $1
+
+
+ true
+
+
org.apache.maven.plugins
maven-checkstyle-plugin
diff --git a/pom.xml b/pom.xml
index c294be47e6c7..cc08bc43d0ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -718,6 +718,9 @@
org.codehaus.mojo
jaxb2-maven-plugin
2.5.0
+
+ true
+
org.codehaus.mojo
@@ -1050,6 +1053,9 @@
org.jvnet.jaxb2.maven2
maven-jaxb2-plugin
0.14.0
+
+ true
+