Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip Git hook repository check to enable build without
.git
(OpenAP…
…ITools#301) The build process would fail if the `.git/` directory is missing, e. g. when downloading the repository contents from GitHub in a ZIP archive: ```text [ERROR] Failed to execute goal io.github.phillipuniverse:githook-maven-plugin:1.0.5:install (default) on project openapi-diff-parent: Not a git repository, could not find a .git/hooks directory anywhere in the hierarchy of /path/to/openapi-diff/target. Turn off this behavior with skipRepositoryCheck=false -> [Help 1] ``` After the change, a missing `.git/` directory doesn't lead to a build failure: ```text [INFO] --- githook-maven-plugin:1.0.5:install (default) @ openapi-diff-parent --- [INFO] No .git directory found, skipping plugin execution ``` Refs OpenAPITools#299
- Loading branch information