maven generates a pom.properties shipped in jar files containing the build time.
Detection
Work-around
There is a patch for strip-nondeterminism to delete the line.
Solution
None yet.
This file is written by Maven Archiver, which is used by maven-jar-plugin, maven-war-plugin and similar.
The file can be eliminated in entirety by changing the archiver settings in the appropriate plugin:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.5</version> <configuration> <archive> <addMavenDescriptor>false</addMavenDescriptor> </archive> </configuration> </plugin> </plugins> </build>
Patch for maven-archiver to honour BUILD_DATE submitted as 775010. Still needs the package to set DEB_BUILD_DATE correctly. Current thoughts: javahelper.