You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2026/07/05 06:08:46 UTC

(orc) branch main updated: ORC-2185: Upgrade `spotless-maven-plugin` to 3.7.0

This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 2007cf5f5 ORC-2185: Upgrade `spotless-maven-plugin` to 3.7.0
2007cf5f5 is described below

commit 2007cf5f5ab9111374d8a8fc1d4b08dc4740e9fc
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Sat Jul 4 23:08:38 2026 -0700

    ORC-2185: Upgrade `spotless-maven-plugin` to 3.7.0
    
    Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 3.6.0 to 3.7.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.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.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>
    <ul>
    <li>Preserve case of JDBI named bind params that collide with SQL keywords (e.g. <code>:limit</code>, <code>:offset</code>) in the DBeaver SQL formatter. (<a href="https://redirect.github.com/diffplug/spotless/pull/2899">#2899</a>)</li>
    <li>Fix non-idempotent formatting when <code>importOrder()</code> is combined with <code>greclipse()</code>: a single catch-all group no longer strips blank lines that <code>greclipse()</code> independently inserted between import groups. (<a href="https://redirect.github.com/diffplug/spotless/pull/2914">#2914</a>)</li>
    </ul>
    <h3>Changes</h3>
    <ul>
    <li>Fix <code>expandWildcardImports</code> failing on JDK XML types such as <code>org.xml.sax.InputSource</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2921">#2921</a>)</li>
    </ul>
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/diffplug/spotless/commit/ef7703ae87f70bbf63d77c5275e6c687785706bc"><code>ef7703a</code></a> Published maven/3.7.0</li>
    <li><a href="https://github.com/diffplug/spotless/commit/91113e0fc7ec05f9a5f6a627869671290b4fa659"><code>91113e0</code></a> Published gradle/8.7.0</li>
    <li><a href="https://github.com/diffplug/spotless/commit/611b48ea943e9e8faf8d98db206dcf7f15cf8ef3"><code>611b48e</code></a> Published lib/4.7.0</li>
    <li><a href="https://github.com/diffplug/spotless/commit/5f3a85fd15241450ba9b33e43507ee995176032b"><code>5f3a85f</code></a> ci(deploy): use <code>base64 -w0</code> so the auth header has no embedded newline</li>
    <li><a href="https://github.com/diffplug/spotless/commit/f84f02512b83d2ebe2aede8e0c70837b3592e98f"><code>f84f025</code></a> ci(deploy): force HTTP/1.1 on <code>git fetch origin main</code></li>
    <li><a href="https://github.com/diffplug/spotless/commit/780f0f60b62a9d7a11e28dbf3fe63b5e9e50e623"><code>780f0f6</code></a> fix(spotless/gradle-plugin): Fix <code>StringIndexOutOfBoundsException</code> in scenari...</li>
    <li><a href="https://github.com/diffplug/spotless/commit/b0328c849d5ba7dd50feb33b7d4ae7478a5e5436"><code>b0328c8</code></a> Update plugin rewrite to v7.34.0 (<a href="https://redirect.github.com/diffplug/spotless/issues/2972">#2972</a>)</li>
    <li><a href="https://github.com/diffplug/spotless/commit/9a502ce0cbe0932de33e8543f9bc2a6ec714bc26"><code>9a502ce</code></a> Update plugin com.gradle.develocity to v4.4.2 (<a href="https://redirect.github.com/diffplug/spotless/issues/2971">#2971</a>)</li>
    <li><a href="https://github.com/diffplug/spotless/commit/b4d9ec0b41f4b9fedf6874a8a4becac286403ec4"><code>b4d9ec0</code></a> Revert the changes to <code>assertUnchanged()</code> and use <code>assertTransform()</code> when ne...</li>
    <li><a href="https://github.com/diffplug/spotless/commit/787819d8f8640c011d245dafee492fc5bffb0405"><code>787819d</code></a> Remove unneeded debug comments</li>
    <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/maven/3.6.0...maven/3.7.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.7.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>
    
    Closes #2653 from dependabot[bot]/dependabot/maven/java/com.diffplug.spotless-spotless-maven-plugin-3.7.0.
    
    Authored-by: dependabot[bot] <49...@users.noreply.github.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/pom.xml b/java/pom.xml
index 301d0ea8e..1400fdd64 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -361,7 +361,7 @@
         <plugin>
           <groupId>com.diffplug.spotless</groupId>
           <artifactId>spotless-maven-plugin</artifactId>
-          <version>3.6.0</version>
+          <version>3.7.0</version>
           <configuration>
             <pom>
               <sortPom>