Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Wrapper is not used #90

Open
znerd opened this issue Sep 5, 2022 · 0 comments
Open

Maven Wrapper is not used #90

znerd opened this issue Sep 5, 2022 · 0 comments

Comments

@znerd
Copy link

znerd commented Sep 5, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant