mirror of https://github.com/apache/nifi.git
NIFI-10616 Resolve Reproducible ANTLR3 and JAXB Build Issues
This closes #6500 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
56d26be3ca
commit
fa1ea87a83
|
@ -34,6 +34,36 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin><!-- workaround for https://github.com/antlr/antlr3/pull/209 -->
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<basedir>${project.build.directory}/generated-sources/antlr3/org/apache/nifi/attribute/expression/language/antlr</basedir>
|
||||
<includes>
|
||||
<include>*.java</include>
|
||||
</includes>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>(// .ANTLR .+) ....-..-.. ..:..:..</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<token>(// elements: ).*</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
<regex>true</regex>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
|
|
@ -45,6 +45,36 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin><!-- workaround for https://github.com/antlr/antlr3/pull/209 -->
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<basedir>${project.build.directory}/generated-sources/antlr3/org/apache/nifi/hl7/query/antlr</basedir>
|
||||
<includes>
|
||||
<include>*.java</include>
|
||||
</includes>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>(// .ANTLR .+) ....-..-.. ..:..:..</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<token>(// elements: ).*</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
<regex>true</regex>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
|
|
@ -36,6 +36,36 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin><!-- workaround for https://github.com/antlr/antlr3/pull/209 -->
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>replace</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<basedir>${project.build.directory}/generated-sources/antlr3/org/apache/nifi/record/path</basedir>
|
||||
<includes>
|
||||
<include>*.java</include>
|
||||
</includes>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>(// .ANTLR .+) ....-..-.. ..:..:..</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
<replacement>
|
||||
<token>(// elements: ).*</token>
|
||||
<value>$1</value>
|
||||
</replacement>
|
||||
</replacements>
|
||||
<regex>true</regex>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -740,6 +740,9 @@
|
|||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>jaxb2-maven-plugin</artifactId>
|
||||
<version>2.5.0</version>
|
||||
<configuration>
|
||||
<noGeneratedHeaderComments>true</noGeneratedHeaderComments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
|
@ -1079,6 +1082,9 @@
|
|||
<groupId>org.jvnet.jaxb2.maven2</groupId>
|
||||
<artifactId>maven-jaxb2-plugin</artifactId>
|
||||
<version>0.14.0</version>
|
||||
<configuration>
|
||||
<noFileHeader>true</noFileHeader>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
|
Loading…
Reference in New Issue