You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-6
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,16 @@
6
6
A maven plugin that automatically deploys [google-java-format](https://github.com/google/google-java-format) code formatter as a `pre-commit` git hook.
7
7
On commit, the hook will automatically format staged java files.
8
8
9
+
### Breaking changes between 1.x and 2.x
10
+
11
+
* (https://github.com/Cosium/maven-git-code-format/issues/37) To prevent conflicts with other plugins all keys are now
12
+
prefixed with `gcf`. e.g. `-DglobPattern=**/*` becomes `-Dgcf.globPattern=**/*`
13
+
* (https://github.com/Cosium/maven-git-code-format/issues/38) To avoid infringement to Apache Maven Trademark,
14
+
the plugin was renamed to `git-code-format-maven-plugin`. Its new coordinates are
15
+
`com.cosium.code:git-code-format-maven-plugin`.
16
+
17
+
`1.x` documentation can be found at https://github.com/Cosium/maven-git-code-format/blob/1.39/README.md
18
+
9
19
### Automatic code format and validation activation
10
20
11
21
Add this to your maven project **root** pom.xml :
@@ -15,8 +25,8 @@ Add this to your maven project **root** pom.xml :
0 commit comments