Open
Description
What steps will reproduce the problem?
Steps to reproduce the behavior:
- Have a Maven wrapper in your repository, e.g.
mvn wrapper:wrapper
- Add the Cosium/git-code-format-maven-plugin in your POM
- Run
mvn initialize
- Inspect the installed hook file under
.git/hooks/
.
What is the expected output?
Maven wrapper is used in the hook.
What happens instead?
Installation of Maven outside the repository directory is used.
Environment:
- OS: macOS 12.5.1
- Git version: 2.35.1
- git-code-format-maven-plugin version: 3.4
- Maven version: 3.8.4
Link to a git repository that can be cloned to reproduce the problem:
https://github.com/znerd/reproduce-cosium-git-hook-issue-90
Additional context
(none)
Metadata
Metadata
Assignees
Labels
No labels