Skip to content

Commit

Permalink
Ensures build reproducibility
Browse files Browse the repository at this point in the history
More information:
* [Configuring for Reproducible Builds - Apache Maven Project](https://maven.apache.org/guides/mini/guide-reproducible-builds.html)
  • Loading branch information
jycr committed Oct 10, 2024
1 parent 6c9b82d commit a02131b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@
-->
<revision>current-SNAPSHOT</revision>

<!-- Helps ensure build reproducibility (cf. https://maven.apache.org/guides/mini/guide-reproducible-builds.html) -->
<!--suppress UnresolvedMavenProperty -->
<project.build.outputTimestamp>${git.commit.timestamp.datetime}</project.build.outputTimestamp>

<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>

<encoding>UTF-8</encoding>
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
Expand Down

0 comments on commit a02131b

Please sign in to comment.