Skip to content

Commit e087824

Browse files
MINOR: Bump com.diffplug.spotless:spotless-maven-plugin from 3.6.0 to 3.8.0 (#1214)
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 3.6.0 to 3.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/diffplug/spotless/releases">com.diffplug.spotless:spotless-maven-plugin's releases</a>.</em></p> <blockquote> <h2>Maven Plugin v3.8.0</h2> <h3>Added</h3> <ul> <li>Add support for custom string format for license header copyright year via <code>yearStringFormat()</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2965">#2965</a>)</li> </ul> <h3>Fixed</h3> <ul> <li><code>&lt;expandWildcardImports&gt;</code> no longer triggers a full transitive dependency resolution on every build. Dependency resolution is now deferred until the step actually runs, so projects that do not use <code>&lt;expandWildcardImports&gt;</code> (or that use version ranges) are no longer penalized. (<a href="https://redirect.github.com/diffplug/spotless/issues/2983">#2983</a>)</li> </ul> <h2>Maven Plugin v3.7.0</h2> <h3>Fixed</h3> <ul> <li>Parse standard git year output in LicenseHeaderStep. (<a href="https://redirect.github.com/diffplug/spotless/issues/2940">#2940</a>)</li> <li><code>&lt;toggleOffOn&gt;</code> no longer disables lint-only steps such as <code>&lt;forbidWildcardImports&gt;</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2962">#2962</a>)</li> <li>Fix <code>StringIndexOutOfBoundsException</code> in scenarios where copyright year is surrounded by whitespace. (<a href="https://redirect.github.com/diffplug/spotless/pull/2973">#2973</a>)</li> </ul> <h3>Added</h3> <ul> <li>Add support for AsciiDoc formatting via <code>adocfmt</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2960">#2960</a>)</li> <li><code>&lt;flexmark&gt;</code> step now supports arbitrary formatter options via <code>&lt;formatterOptions&gt;</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2968">#2968</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/diffplug/spotless/blob/main/CHANGES.md">com.diffplug.spotless:spotless-maven-plugin's changelog</a>.</em></p> <blockquote> <h1>spotless-lib and spotless-lib-extra releases</h1> <p>If you are a Spotless user (as opposed to developer), then you are probably looking for:</p> <ul> <li><a href="https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md">https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md</a></li> <li><a href="https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md">https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md</a></li> </ul> <p>This document is intended for Spotless developers.</p> <p>We adhere to the <a href="https://keepachangelog.com/en/1.0.0/">keepachangelog</a> format (starting after version <code>1.27.0</code>).</p> <h2>[Unreleased]</h2> <h2>[4.8.0] - 2026-06-29</h2> <h3>Added</h3> <ul> <li>Add support for custom string format for license header copyright year via <code>yearStringFormat()</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2965">#2965</a>)</li> </ul> <h2>[4.7.0] - 2026-06-16</h2> <h3>Added</h3> <ul> <li>Add support for AsciiDoc formatting via <code>adocfmt</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2960">#2960</a>)</li> <li><code>flexmark</code> step now supports arbitrary formatter options via a <code>formatterOptions</code> map. (<a href="https://redirect.github.com/diffplug/spotless/pull/2968">#2968</a>)</li> </ul> <h3>Fixed</h3> <ul> <li><code>FenceStep.preserveWithin</code> now forwards lints from nested steps while still suppressing lints inside preserved blocks. (<a href="https://redirect.github.com/diffplug/spotless/pull/2962">#2962</a>)</li> <li>Support <code>ktfmt</code> 0.63 and use its new builder API for formatting options to better avoid future breaking changes.</li> <li>Parse standard git year output in LicenseHeaderStep. (<a href="https://redirect.github.com/diffplug/spotless/issues/2940">#2940</a>)</li> <li>Fix <code>StringIndexOutOfBoundsException</code> in scenarios where copyright year is surrounded by whitespace. (<a href="https://redirect.github.com/diffplug/spotless/pull/2973">#2973</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Bump default <code>greclipse</code> version to latest <code>4.35</code> -&gt; <code>4.39</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2924">#2924</a>)</li> </ul> <h2>[4.6.2] - 2026-05-27</h2> <h3>Fixed</h3> <ul> <li><code>P2Provisioner</code> now passes cache directory overrides directly to Solstice. (<a href="https://redirect.github.com/diffplug/spotless/pull/2944">#2944</a>)</li> <li><code>forbidWildcardImports</code> and <code>forbidModuleImports</code> now detect imports that have leading whitespace (indentation/tabs). (<a href="https://redirect.github.com/diffplug/spotless/pull/2939">#2939</a>)</li> <li><code>versionCatalog</code> step no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. The <code>maxLineLength</code> option has been removed. (<a href="https://redirect.github.com/diffplug/spotless/issues/2948">#2948</a>)</li> </ul> <h3>Changes</h3> <ul> <li><code>EclipseJdtFormtterStep</code> now can conditionally set compiler source/compliance options. Allows for better parsing of AST Node for newer language features and more correct sorting; e.g. records or seal classes. (<a href="https://redirect.github.com/diffplug/spotless/pull/2942">#2942</a>)</li> <li><code>Formatter</code> no longer recomputes line-ending normalization (<code>LineEnding.toUnix</code>) a second time for every formatter step that changes content, removing redundant O(n) work from the core formatting loop. (<a href="https://redirect.github.com/diffplug/spotless/pull/2934">#2934</a>)</li> <li>expandWildcardImports support pom type dependency. (<a href="https://redirect.github.com/diffplug/spotless/issues/2839">#2839</a>)</li> </ul> <h2>[4.6.1] - 2026-05-15</h2> <h3>Fixed</h3> <ul> <li><code>LicenseHeaderStep</code> in <code>SET_FROM_GIT</code> year mode no longer invokes <code>git log</code> through <code>bash -c</code> / <code>cmd /c</code>, eliminating a shell-injection vector when processing repositories that contain files whose names include shell metacharacters.</li> </ul> <h2>[4.6.0] - 2026-05-14</h2> <h3>Added</h3> <ul> <li><code>scalafmt()</code> now reads the version from the <code>version</code> field in the scalafmt config file when no version is explicitly set in the plugin config, falling back to the built-in default only if neither is available. (<a href="https://redirect.github.com/diffplug/spotless/pull/2922">#2922</a>)</li> <li>Add <code>versionCatalog</code> step for formatting and sorting Gradle version catalog (<code>.toml</code>) files. (<a href="https://redirect.github.com/diffplug/spotless/issues/2916">#2916</a>)</li> <li>Add <code>javaparserVersion</code> option to the Cleanthat step, allowing callers to override the JavaParser version pulled in transitively by Cleanthat. (<a href="https://redirect.github.com/diffplug/spotless/pull/2903">#2903</a>)</li> </ul> <h3>Fixed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diffplug/spotless/commit/03d43ba2cdc81050e07b62646c08b22e39505368"><code>03d43ba</code></a> Published maven/3.8.0</li> <li><a href="https://github.com/diffplug/spotless/commit/8b80c1388017f9b390fd9681007ba58a8c5d77f7"><code>8b80c13</code></a> Published gradle/8.8.0</li> <li><a href="https://github.com/diffplug/spotless/commit/8ee6cf904ae77a4baec287132c69a63d4b5f4052"><code>8ee6cf9</code></a> Published lib/4.8.0</li> <li><a href="https://github.com/diffplug/spotless/commit/6c02c0bf3fa0914206b28b2e9abec5e2061273e4"><code>6c02c0b</code></a> Add missing changelog entry.</li> <li><a href="https://github.com/diffplug/spotless/commit/264f4cc904ad85149a90822c0835c17a615cee8e"><code>264f4cc</code></a> Add regression test for forbidWildcardImports inside toggleOffOn (<a href="https://redirect.github.com/diffplug/spotless/issues/2982">#2982</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/6abb06449354899642d716dfb3daf67a888bac9b"><code>6abb064</code></a> fix <a href="https://redirect.github.com/diffplug/spotless/issues/2983">#2983</a>, expandWildcardImports triggers a full transitive reso… (<a href="https://redirect.github.com/diffplug/spotless/issues/2984">#2984</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/f4536d41caebdda8201cdb126832ea96a75e5afe"><code>f4536d4</code></a> Update plugin spotbugs to v6.5.8 (<a href="https://redirect.github.com/diffplug/spotless/issues/2987">#2987</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/873454acbc24dd66a0d334f29b30d5dcb645cd0a"><code>873454a</code></a> Update plugin spotbugs to v6.5.8</li> <li><a href="https://github.com/diffplug/spotless/commit/000b8a8f9f0398f60aeafee4d2fbd90a6a61b7f1"><code>000b8a8</code></a> Update dependency org.junit.jupiter:junit-jupiter to v6.1.1 (<a href="https://redirect.github.com/diffplug/spotless/issues/2985">#2985</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/84ebcab6a588c0ae7ddb8d883f5f60947e488e0a"><code>84ebcab</code></a> Update dependency org.junit.jupiter:junit-jupiter to v6.1.1</li> <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/maven/3.6.0...maven/3.8.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless:spotless-maven-plugin&package-manager=maven&previous-version=3.6.0&new-version=3.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9e100a3 commit e087824

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ under the License.
208208
<plugin>
209209
<groupId>com.diffplug.spotless</groupId>
210210
<artifactId>spotless-maven-plugin</artifactId>
211-
<version>3.6.0</version>
211+
<version>3.8.0</version>
212212
</plugin>
213213
<plugin>
214214
<groupId>org.codehaus.mojo</groupId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ under the License.
492492
<plugin>
493493
<groupId>com.diffplug.spotless</groupId>
494494
<artifactId>spotless-maven-plugin</artifactId>
495-
<version>3.6.0</version>
495+
<version>3.8.0</version>
496496
</plugin>
497497
<plugin>
498498
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)