From 36aa7a0e18953ad8b73ff36947b11625779fb792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 8 Oct 2022 19:47:17 +0200 Subject: [PATCH] NIFI-10616 fix some unreproducible bits --- nifi-commons/nifi-expression-language/pom.xml | 30 +++++++++++++++++++ nifi-commons/nifi-hl7-query-language/pom.xml | 30 +++++++++++++++++++ nifi-commons/nifi-record-path/pom.xml | 30 +++++++++++++++++++ pom.xml | 6 ++++ 4 files changed, 96 insertions(+) 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 +