Skip to content

Commit be58564

Browse files
authored
fix Reproducible Builds issues (#77)
1 parent 8480362 commit be58564

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,36 @@
389389
<strict>false</strict>
390390
<args>
391391
<arg>-npa</arg>
392+
<arg>-no-header</arg>
392393
</args>
393394
</configuration>
394395
</execution>
395396
</executions>
396397
</plugin>
398+
<plugin><!-- workaround for non-reproducible bits generated by jaxb30-maven-plugin / xjc even with -no-header argument -->
399+
<groupId>com.google.code.maven-replacer-plugin</groupId>
400+
<artifactId>replacer</artifactId>
401+
<version>1.5.3</version>
402+
<executions>
403+
<execution>
404+
<id>bindings-workaround-sun-jaxb</id>
405+
<phase>process-sources</phase>
406+
<goals>
407+
<goal>replace</goal>
408+
</goals>
409+
<configuration>
410+
<file>${project.build.directory}/generated-sources/xjc/META-INF/sun-jaxb.episode</file>
411+
<replacements>
412+
<replacement>
413+
<token>Generated on: .+</token>
414+
<value></value>
415+
</replacement>
416+
</replacements>
417+
<regex>true</regex>
418+
</configuration>
419+
</execution>
420+
</executions>
421+
</plugin>
397422
<plugin>
398423
<artifactId>maven-compiler-plugin</artifactId>
399424
<version>3.11.0</version>

0 commit comments

Comments
 (0)