Maven is currently implemented in terms of `DirtyState`. It would be good to move it to `LintState`, which would allow maven users to suppress lints. Here is the PR which made this change in Gradle, it should be much easier for Maven. It's not a breaking change either, which is nice. - https://github.com/diffplug/spotless/pull/2307