Skip to content

Commit 1382ae5

Browse files
committed
Bump to version 6
1 parent 2e07466 commit 1382ae5

File tree

5 files changed

+4
-28
lines changed

5 files changed

+4
-28
lines changed

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,6 @@
66
A maven plugin that automatically deploys code formatters as `pre-commit` git hook.
77
On commit, the hook will automatically format staged files.
88

9-
# Breaking changes between 4.x and 5.x
10-
11-
* If the plugin runs without any formatter dependency, it will fail. This is done to prevent silent misconfiguration from happening.
12-
13-
# Breaking changes between 3.x and 4.x
14-
15-
* `Google Java Format` is not enabled by default anymore. `com.cosium.code:google-java-format` must be added as a dependency to the plugin to keep using it.
16-
* `Google Java Format` options declaration structure has changed. You will need to migrate any eventual existing declaration to the new structure described by [the google-java-format-options chapter](#google-java-format-options) .
17-
18-
# Breaking changes between 2.x and 3.x
19-
20-
* [#64](https://github.com/Cosium/git-code-format-maven-plugin/issues/64) `google-java-format 1.8` [dropped support for java 8](https://github.com/google/google-java-format/releases/tag/google-java-format-1.8).
21-
The minimum supported runtime version for the plugin is JDK 11. i.e. Maven must run on JDK 11+ while the target project can still be built and run using JDK 8.
22-
23-
# Breaking changes between 1.x and 2.x
24-
25-
* [#37](https://github.com/Cosium/git-code-format-maven-plugin/issues/37) To prevent conflicts with other plugins all keys are now
26-
prefixed with `gcf`. e.g. `-DglobPattern=**/*` becomes `-Dgcf.globPattern=**/*`
27-
* [#38](https://github.com/Cosium/git-code-format-maven-plugin/issues/38) To avoid infringement to Apache Maven Trademark,
28-
the plugin was renamed to `git-code-format-maven-plugin`. Its new coordinates are
29-
`com.cosium.code:git-code-format-maven-plugin`.
30-
31-
`1.x` documentation can be found [here](https://github.com/Cosium/git-code-format-maven-plugin/blob/1.39/README.md)
32-
339
# Automatic code format and validation activation
3410

3511
Add this to your maven project **root** pom.xml :

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.cosium.code</groupId>
66
<artifactId>git-code-format-maven-plugin-parent</artifactId>
7-
<version>5.6-SNAPSHOT</version>
7+
<version>6.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>git-code-format-maven-plugin</artifactId>

google-java-format/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.cosium.code</groupId>
66
<artifactId>git-code-format-maven-plugin-parent</artifactId>
7-
<version>5.6-SNAPSHOT</version>
7+
<version>6.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>google-java-format</artifactId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<groupId>com.cosium.code</groupId>
1111
<artifactId>git-code-format-maven-plugin-parent</artifactId>
12-
<version>5.6-SNAPSHOT</version>
12+
<version>6.0-SNAPSHOT</version>
1313
<packaging>pom</packaging>
1414

1515
<name>Git Code Format Maven Plugin Parent</name>

spi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.cosium.code</groupId>
66
<artifactId>git-code-format-maven-plugin-parent</artifactId>
7-
<version>5.6-SNAPSHOT</version>
7+
<version>6.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>git-code-format-maven-plugin-spi</artifactId>

0 commit comments

Comments
 (0)