fmt-maven-plugin icon indicating copy to clipboard operation
fmt-maven-plugin copied to clipboard

Opinionated Maven Plugin that formats your Java code.

Results 11 fmt-maven-plugin issues
Sort by recently updated
recently updated
newest added

**Describe the bug** We are preparing for maven 4 topics. For that we activated maven-plugin validation and found, that this plugin is listed to having issues: * com.spotify.fmt:fmt-maven-plugin:2.23 * Plugin...

We are using the latest version (2.21.1) of this plugin. On top of that, we also have a git pre-commit hook that uses the `google-java-format` jar directly on changed files....

It would be nice to have an option to skip javadoc formatting. I want to keep my javadoc in its original format.

Is there any way to apply formatting to git staged files only? e.g. invoked with a pre-commit hook

We fork the process to add JVM flags needed by Google Java Format, but if those flags are already set we could avoid forking to run faster. That this would...

**Describe the bug** We're currently getting a WARN-level log line when one of the Maven modules doesn't have a `tests` directory. The code responsible for this: https://github.com/spotify/fmt-maven-plugin/blob/1cf19c0cb5a88272a50bfafed8935c79b946c62f/src/main/java/com/spotify/fmt/AbstractFMT.java#L104-L108 https://github.com/spotify/fmt-maven-plugin/blob/1cf19c0cb5a88272a50bfafed8935c79b946c62f/src/main/java/com/spotify/fmt/AbstractFMT.java#L184-L198 It looks...

It would be nice to have an option to exclude certain paths from formatting. Now you can specify paths to include with the `filesPathPattern` option, but if you want to...

See https://maven.apache.org/guides/mini/guide-relocation.html

Dear all, First of all, tried this plugin and it works just fine. Thanks for maintaining it! :pray: I know it's about formatting, but can this - or do you...