Skip to content

Commit

Permalink
Fix build inside git worktrees by working around git-commit-id trinod…
Browse files Browse the repository at this point in the history
  • Loading branch information
xkrogen committed Jul 11, 2023
1 parent e82b604 commit 702c995
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2105,6 +2105,9 @@
<injectAllReactorProjects>true</injectAllReactorProjects>
<!-- A workaround to make build work in a Git worktree, see https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/215 -->
<useNativeGit>true</useNativeGit>
<!-- git-commit-id 6.0.0 incorrectly detects the .git dir, breaking the native-git workaround; see https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/639 -->
<!-- When Maven 4.0 is used, this can be replaced by a native Maven property (see MNG-7038), assuming git-commit-id #639 isn't yet fixed -->
<dotGitDirectory>${air.main.basedir}/.git</dotGitDirectory>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 702c995

Please sign in to comment.