[INFO] --- githook-maven-plugin:1.0.1:install (default) @ broadleaf-offer-services-metadata ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.476 s
[INFO] Finished at: 2019-02-06T19:12:12-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.github.phillipuniverse:githook-maven-plugin:1.0.1:install (default) on project broadleaf-offer-services-metadata: Not a git repository, could not find .git/hooks directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Temporary workaround is to build from the parent, but specify a project list with -pl:
Create a multi-module maven project with a layout like this:
Try to build any of the submodules, e.g.
This will fail with the following message:
Temporary workaround is to build from the parent, but specify a project list with
-pl
: