Skip to content

Commit

Permalink
Merge pull request #159 from ChannelFinder/reproducible_builds
Browse files Browse the repository at this point in the history
Reproducible builds
  • Loading branch information
shroffk authored Oct 2, 2024
2 parents ce7b643 + 01b69d5 commit 1e3c29f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<skipITs>true</skipITs>
<skipITCoverage>true</skipITCoverage>
<jacoco.skip>true</jacoco.skip>
<!--suppress UnresolvedMavenProperty -->
<project.build.outputTimestamp>${git.commit.time}</project.build.outputTimestamp>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -342,7 +344,33 @@
</archive>
</configuration>
</plugin>
<!-- Include the git properties to ensure reproducible builds -->
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>9.0.1</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<prefix>git</prefix>
<verbose>false</verbose>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<format>json</format>
<excludeProperties>
<excludeProperty>^git.build.*$</excludeProperty>
</excludeProperties>
</configuration>
</plugin>
</plugins>
<!-- <finalName>${artifactId}-${git.commit.id.abbrev}</finalName> -->
</build>
<profiles>
<!-- profile for and the website from the .rst files -->
Expand Down

0 comments on commit 1e3c29f

Please sign in to comment.