Cosium / git-code-format-maven-plugin

A maven plugin that automatically deploys code formatters as pre-commit git hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can svn use?

drduan opened this issue · comments

[ERROR] Failed to execute goal com.cosium.code:git-code-format-maven-plugin:2.4:format-code (default-cli) on project master-data-system: Execution default-cli of g
oal com.cosium.code:git-code-format-maven-plugin:2.4:format-code failed: One of setGitDir or setWorkTree must be called. -> [Help 1]

Is it possible to skip the plugin when mvn install is called and use only when git operations are performed?

The plugin needs to write git hook files to intercept git operations.
Those files are written on maven goal execution.
So no.