git-code-format-maven-plugin icon indicating copy to clipboard operation
git-code-format-maven-plugin copied to clipboard

Maven Wrapper is not used

Open znerd opened this issue 3 years ago • 0 comments

What steps will reproduce the problem? Steps to reproduce the behavior:

  1. Have a Maven wrapper in your repository, e.g. mvn wrapper:wrapper
  2. Add the Cosium/git-code-format-maven-plugin in your POM
  3. Run mvn initialize
  4. 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)

znerd avatar Sep 05 '22 11:09 znerd