Skip to content

Maven Wrapper is not used #90

Open
@znerd

Description

@znerd

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions