git-code-format-maven-plugin icon indicating copy to clipboard operation
git-code-format-maven-plugin copied to clipboard

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

Results 22 git-code-format-maven-plugin issues
Sort by recently updated
recently updated
newest added

I am getting the below error. Failed to execute goal com.cosium.code:git-code-format-maven-plugin:2.4:on-pre-commit (default-cli) on project qe-jira-soap: org.eclipse.jgit.api.errors.PatchApplyException: Cannot ap ply: HunkHeader[1,9->1,5] - I have added -X to the pre-commit script and...

**What steps will reproduce the problem?** Steps to reproduce the behavior: 1. Tested at windows environment. 2. I put cesium google plugin into the root pom.xml as I did the...

@reda-alaoui This branch contains quick fixes for some Java problems which were reported by my IDE (Visual Studio Code with SonarLint extension). FYI: I didn't make any changes for the...

Hi, Thank you for the great plugin. I am trying to integrate this in an existing project and I am facing a problem how the pre-commit is generated. The Pre-Commit...

In one of my teams my colleagues discovered a problem: If you run a multi-module project, the script initializes a hook for each module which you might have executed. E.g....

Steps to reproduce the behavior: 1. Enable AOSP in the plugin configuration as per the documentation: ``` com.cosium.code git-code-format-maven-plugin ${git-code-format-maven-plugin.version} install-formatter-hook install-hooks validate-code-format validate-code-format true false false false -X ```...

This PR Addresses #71 by adding a new configuration option to allow users to override usage of `M2_HOME` to directly use the global `mvn` variable instead. This should allow users...

I'm interested to write a `KtlintCodeFormatter` capable to handle kotlin .kt files (maybe .kts as well). An example of a ktlint code formatter using the ktlint-core API can be seen...

I have this config on my pom.xml: .. src/main/groovy,src/main/java ... However, only *.java files of src/main/groovy source directory are getting formatted

Hey, I was wondering if there is a way for the plugin to output the formatting issue with the file. Currently, it outputs `ExampleClass.java is not correctly formatted !` which...