Skip to content

[chore] git-commit-id-maven-plugin: Use native git - #6803

Merged
adangel merged 1 commit into
pmd:mainfrom
UncleOwen:use-native-git
Jun 23, 2026
Merged

adangel merged 1 commit into
pmd:mainfrom
UncleOwen:use-native-git

Conversation

@UncleOwen

Copy link
Copy Markdown
Member

Describe the PR

Recently, I've been experimenting with git worktrees. Unfortunately, git-commit-id-maven-plugin still uses jgit-6, worktrees are only supported in jgit-7. The workaround is to configure git-commit-id-maven-plugin to not use jgit, but the native implementation.

For every new worktree, I have to add this line. Would be nice if we could add this globally.

Ready?

  • [n/a] Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • [n/a] Added (in-code) documentation (if needed)

@pmd-actions-helper

Copy link
Copy Markdown
Contributor

Documentation Preview

No relevant source code has been changed, pmdtester skipped.

(comment created at 2026-06-22 16:04:47+00:00 for 4c8f355)

@adangel adangel added this to the 7.26.0 milestone Jun 23, 2026
@adangel adangel added the in:pmd-internals Affects PMD's internals label Jun 23, 2026

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, makes sense. I think, everybody has anyway the cli git installed, so I don't expect any problems.

@adangel
adangel merged commit 34df01f into pmd:main Jun 23, 2026
12 checks passed
@UncleOwen
UncleOwen deleted the use-native-git branch June 23, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:pmd-internals Affects PMD's internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants