Skip to content

Commit

Permalink
Use commit.author.time for reproducible timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 24, 2023
1 parent 6501d1b commit 1bce400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<maven.version>3.6.3</maven.version>
<nexus.url>https://oss.sonatype.org</nexus.url>
<repository.url>[email protected]:${project.github.repository}.git</repository.url>
<project.build.outputTimestamp>${git.build.time}</project.build.outputTimestamp>
<project.build.outputTimestamp>${git.commit.author.time}</project.build.outputTimestamp>
<version.antrun.plugin>3.0.0</version.antrun.plugin>
<version.clean.plugin>3.2.0</version.clean.plugin>
<version.compiler.plugin>3.11.0</version.compiler.plugin>
Expand Down Expand Up @@ -319,7 +319,7 @@
<archive>
<manifestEntries>
<Build-Jdk>${java.version} (${java.vendor} ${java.vm.version})</Build-Jdk>
<Build-Timestamp>${git.build.time}</Build-Timestamp>
<Build-Timestamp>${git.commit.author.time}</Build-Timestamp>
<Build-Revision>${git.commit.id}</Build-Revision>
<Build-OS>${os.name} ${os.arch} ${os.version}</Build-OS>
</manifestEntries>
Expand Down

0 comments on commit 1bce400

Please sign in to comment.