[Reproducible-builds] maven.build.timestamp and ReproducibleBuilds with maven
Emmanuel Bourg
ebourg at apache.org
Fri Sep 4 15:40:42 UTC 2015
Le 04/09/2015 09:38, Eugene Zhukov a écrit :
> It is possible to set tool.build.date=something in d/maven.properties,
> but how to get this done dynamically?
Hi Eugene,
Did you try adding the DEB_MAVEN_ARGS variable in debian/rules to
specify the parameter dynamically? Something like this:
DEB_CHANGELOG_DATETIME = $(shell dpkg-parsechangelog --show-field Date)
DEB_MAVEN_ARGS := -Dtool.build.date=$(DEB_CHANGELOG_DATETIME)
I wish the formatted changelog date could have been exported along
SOURCE_DATE_EPOCH, this would save one line.
Emmanuel Bourg
More information about the Reproducible-builds
mailing list