Skip to content

Commit

Permalink
Set useNativeGit in git-commit-id-plugin
Browse files Browse the repository at this point in the history
This is a workaround for inability to build Trino in a git worktree.
This is a long-standing issue in the plugin, see
git-commit-id/git-commit-id-maven-plugin#215.
  • Loading branch information
ksobolew authored and hashhar committed Mar 8, 2022
1 parent b75805a commit 6a63d25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1786,6 +1786,8 @@
<runOnlyOnce>true</runOnlyOnce>
<injectAllReactorProjects>true</injectAllReactorProjects>
<offline>true</offline>
<!-- 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>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 6a63d25

Please sign in to comment.