Skip to content

Commit

Permalink
Make maven build reproducible (#765)
Browse files Browse the repository at this point in the history
* pom: make build reproducible

The time stamp will be updated in the release process.
See also <https://maven.apache.org/guides/mini/guide-reproducible-builds.html>
  • Loading branch information
hboutemy authored Jan 7, 2023
1 parent 41566b5 commit d152ba1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
<maven.compiler.source>${jflex.jdk.version}</maven.compiler.source>
<maven.compiler.target>${jflex.jdk.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- activates reproducible builds, will be replaced by release:prepare -->
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>

<issueManagement>
Expand Down Expand Up @@ -271,7 +273,7 @@
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<version>3.0.0-M7</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean install</preparationGoals>
Expand Down

0 comments on commit d152ba1

Please sign in to comment.