[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

maven.build.timestamp and ReproducibleBuilds with maven



Hi,

I'm trying to make epubcheck package build reproducibly. It has property:
<tool.build.date>${maven.build.timestamp}</tool.build.date>
in pom.xml which messes up reproducibility.
I use debhelper from [1] to build it and SOURCE_DATE_EPOCH environment
variable at hand.
Still I struggle to pass it dynamically at build time to
${tool.build.date} or ${maven.build.timestamp}.
It is possible to set tool.build.date=something in d/maven.properties,
but how to get this done dynamically?

[1] https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain

Thanks,
Eugene

P.S. I'm not subscribed to reproducible-builds list.


Reply to: