File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 4141 <skipITs >true</skipITs >
4242 <skipITCoverage >true</skipITCoverage >
4343 <jacoco .skip>true</jacoco .skip>
44+ <!-- suppress UnresolvedMavenProperty -->
45+ <project .build.outputTimestamp>${git.commit.time} </project .build.outputTimestamp>
4446 </properties >
4547 <dependencyManagement >
4648 <dependencies >
342344 </archive >
343345 </configuration >
344346 </plugin >
347+ <!-- Include the git properties to ensure reproducible builds -->
348+ <plugin >
349+ <groupId >io.github.git-commit-id</groupId >
350+ <artifactId >git-commit-id-maven-plugin</artifactId >
351+ <version >9.0.1</version >
352+ <executions >
353+ <execution >
354+ <id >get-the-git-infos</id >
355+ <goals >
356+ <goal >revision</goal >
357+ </goals >
358+ </execution >
359+ </executions >
360+ <configuration >
361+ <dotGitDirectory >${project.basedir} /.git</dotGitDirectory >
362+ <prefix >git</prefix >
363+ <verbose >false</verbose >
364+ <generateGitPropertiesFile >true</generateGitPropertiesFile >
365+ <generateGitPropertiesFilename >${project.build.outputDirectory} /git.properties</generateGitPropertiesFilename >
366+ <format >json</format >
367+ <excludeProperties >
368+ <excludeProperty >^git.build.*$</excludeProperty >
369+ </excludeProperties >
370+ </configuration >
371+ </plugin >
345372 </plugins >
373+ <!-- <finalName>${artifactId}-${git.commit.id.abbrev}</finalName> -->
346374 </build >
347375 <profiles >
348376 <!-- profile for and the website from the .rst files -->
You can’t perform that action at this time.
0 commit comments