This is an automated email from the ASF dual-hosted git repository.
dongjoon 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 5651f0e6d ORC-1839: Upgrade `spotless-maven-plugin` to 2.44.1
5651f0e6d is described below
commit 5651f0e6daf1ecd4a34f21fdd786fd5d0cab68c2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 22:27:09 2025 -0800
ORC-1839: Upgrade `spotless-maven-plugin` to 2.44.1
Bumps
[com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless)
from 2.43.0 to 2.44.1.
<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 v2.44.1</h2>
<h3>Fixed</h3>
<ul>
<li>Deployment was missing part of the CDT formatter, now fixed. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2384">#2384</a>)</li>
</ul>
<h2>Maven Plugin v2.44.0</h2>
<h2>Headline changes</h2>
<ul>
<li>The long <code>2.44.0.BETAX</code> period is finally over (sorry, there
was <a href="https://redirect.github.com/diffplug/spotless/issues/987">a
problem in Gradle land</a>).</li>
<li>Spotless now supports <a
href="https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md#lints">linting</a>
in addition to formatting.
<ul>
<li>help wanted: <a
href="https://redirect.github.com/diffplug/spotless/issues/2309">maven api to
suppress lints</a></li>
</ul>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump default <code>ktlint</code> version to latest <code>1.3.0</code>
-> <code>1.4.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2314">#2314</a>)</li>
<li>Bump default <code>jackson</code> version to latest <code>2.18.0</code>
-> <code>2.18.1</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2319">#2319</a>)</li>
<li>Bump default <code>ktfmt</code> version to latest <code>0.52</code>
-> <code>0.53</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2320">#2320</a>)</li>
<li>Bump default <code>ktlint</code> version to latest <code>1.4.0</code>
-> <code>1.5.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2354">#2354</a>)</li>
<li>Bump minimum <code>eclipse-cdt</code> version to <code>11.0</code>
(removed support for <code>10.7</code>). (<a
href="https://redirect.github.com/diffplug/spotless/pull/2373">#2373</a>)</li>
<li>Bump default <code>eclipse</code> version to latest <code>4.32</code>
-> <code>4.34</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2381">#2381</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>You can now use <code>removeUnusedImports</code> and
<code>googleJavaFormat</code> at the same time again. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2159">#2159</a>)</li>
<li>The default list of type annotations used by
<code>formatAnnotations</code> now includes Jakarta Validation's
<code>Valid</code> and constraints validations (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2334">#2334</a>)</li>
</ul>
<h2>Maven Plugin v2.44.0.BETA4</h2>
<h3>Added</h3>
<ul>
<li>Support for line ending policy <code>PRESERVE</code> which just takes
the first line ending of every given file as setting (no matter if
<code>\n</code>, <code>\r\n</code> or <code>\r</code>) (<a
href="https://redirect.github.com/diffplug/spotless/pull/2304">#2304</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>ktlint</code> steps now read from the <code>string</code> instead
of the <code>file</code> so they don't clobber earlier steps. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/1599">#1599</a>)</li>
</ul>
<h2>Maven Plugin v2.44.0.BETA3</h2>
<h3>Added</h3>
<ul>
<li>Support for <code>rdf</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2261">#2261</a>)</li>
<li>Support for <code>buf</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2291">#2291</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Leverage local repository for Equo P2 cache. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2238">#2238</a>)</li>
<li>Add explicit support for CSS via biome. Formatting CSS via biome was
already supported as a general
formatting step. Biome supports formatting CSS as of 1.8.0 (experimental,
opt-in) and 1.9.0 (stable).
(<a
href="https://redirect.github.com/diffplug/spotless/pull/2259">#2259</a>)</li>
<li>Bump default <code>google-java-format</code> version to latest
<code>1.23.0</code> -> <code>1.24.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2294">#2294</a>)</li>
<li>Bump default <code>jackson</code> version to latest <code>2.17.2</code>
-> <code>2.18.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2279">#2279</a>)</li>
<li>Bump default <code>cleanthat</code> version to latest <code>2.21</code>
-> <code>2.22</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2296">#2296</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Java import order, ignore duplicate group entries. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2293">#2293</a>)</li>
</ul>
<h2>Maven Plugin v2.44.0.BETA2</h2>
<h3>Changed</h3>
<ul>
<li>Support toning down sortPom logging. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2185">#2185</a>)</li>
<li>Bump default <code>ktlint</code> version to latest <code>1.2.1</code>
-> <code>1.3.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2165">#2165</a>)</li>
<li>Bump default <code>ktfmt</code> version to latest <code>0.49</code>
-> <code>0.52</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2172">#2172</a>, <a
href="https://redirect.github.com/diffplug/spotless/pull/2231">#2231</a>)</li>
<li>Rename property <code>ktfmt</code> option
<code>removeUnusedImport</code> -> <code>removeUnusedImports</code> to match
<code>ktfmt</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2172">#2172</a>)</li>
<li>Bump default <code>eclipse</code> version to latest <code>4.29</code>
-> <code>4.32</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2179">#2179</a>)</li>
<li>Bump default <code>greclipse</code> version to latest <code>4.29</code>
-> <code>4.32</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2179">#2179</a>, <a
href="https://redirect.github.com/diffplug/spotless/pull/2190">#2190</a>)</li>
<li>Bump default <code>cdt</code> version to latest <code>11.3</code> ->
<code>11.6</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2179">#2179</a>)</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</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>[3.0.1] - 2025-01-07</h2>
<h3>Fixed</h3>
<ul>
<li>Deployment was missing part of the CDT formatter, now fixed. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2384">#2384</a>)</li>
</ul>
<h2>[3.0.0] - 2025-01-06</h2>
<h2>Headline changes</h2>
<ul>
<li>All steps now support roundtrip serialization (end of <a
href="https://redirect.github.com/diffplug/spotless/issues/987">#987</a>).</li>
<li>Spotless now supports <a
href="https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md#lints">linting</a>
in addition to formatting.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Allow setting Eclipse config from a string, not only from files (<a
href="https://redirect.github.com/diffplug/spotless/pull/2337">#2337</a>)</li>
<li>Bump default <code>ktlint</code> version to latest <code>1.3.0</code>
-> <code>1.4.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2314">#2314</a>)</li>
<li>Add <em>Sort Members</em> feature based on <a
href="https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md#eclipse-jdt">Eclipse
JDT</a> implementation. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2312">#2312</a>)</li>
<li>Bump default <code>jackson</code> version to latest <code>2.18.0</code>
-> <code>2.18.1</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2319">#2319</a>)</li>
<li>Bump default <code>ktfmt</code> version to latest <code>0.52</code>
-> <code>0.53</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2320">#2320</a>)</li>
<li>Bump default <code>ktlint</code> version to latest <code>1.4.0</code>
-> <code>1.5.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2354">#2354</a>)</li>
<li>Bump minimum <code>eclipse-cdt</code> version to <code>11.0</code>
(removed support for <code>10.7</code>). (<a
href="https://redirect.github.com/diffplug/spotless/pull/2373">#2373</a>)</li>
<li>Bump default <code>eclipse</code> version to latest <code>4.32</code>
-> <code>4.34</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2381">#2381</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>You can now use <code>removeUnusedImports</code> and
<code>googleJavaFormat</code> at the same time again. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2159">#2159</a>)</li>
<li>The default list of type annotations used by
<code>formatAnnotations</code> now includes Jakarta Validation's
<code>Valid</code> and constraints validations (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2334">#2334</a>)</li>
</ul>
<h2>[3.0.0.BETA4] - 2024-10-24</h2>
<h3>Added</h3>
<ul>
<li>APIs to support linting. (implemented in <a
href="https://redirect.github.com/diffplug/spotless/pull/2148">#2148</a>, <a
href="https://redirect.github.com/diffplug/spotless/pull/2149">#2149</a>, <a
href="https://redirect.github.com/diffplug/spotless/pull/2307">#2307</a>)
<ul>
<li>Spotless is still primarily a formatter, not a linter. But when
formatting fails, it's more flexible to model those failures as lints so that
the formatting can continue and ideally we can also capture the line numbers
causing the failure.</li>
<li><code>Lint</code> models a single change. A <code>FormatterStep</code>
can create a lint by:
<ul>
<li>throwing an exception during formatting, ideally <code>throw
Lint.atLine(127, "code", "Well what happened
was...")</code></li>
<li>or by implementing the <code>List<Lint> lint(String content, File
file)</code> method to create multiple of them</li>
</ul>
</li>
</ul>
</li>
<li>Support for line ending policy <code>PRESERVE</code> which just takes
the first line ending of every given file as setting (no matter if
<code>\n</code>, <code>\r\n</code> or <code>\r</code>) (<a
href="https://redirect.github.com/diffplug/spotless/pull/2304">#2304</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>BREAKING</strong> Moved <code>PaddedCell.DirtyState</code> to
its own top-level class with new methods. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2148">#2148</a>)
<ul>
<li><strong>BREAKING</strong> Removed <code>isClean</code>,
<code>applyTo</code>, and <code>applyToAndReturnResultIfDirty</code> from
<code>Formatter</code> because users should instead use
<code>DirtyState</code>.</li>
</ul>
</li>
<li><code>FenceStep</code> now uses <code>ConfigurationCacheHack</code>.
(<a href="https://redirect.github.com/diffplug/spotless/pull/2378">#2378</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2317">#2317</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>ktlint</code> steps now read from the <code>string</code> instead
of the <code>file</code> so they don't clobber earlier steps. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/1599">#1599</a>)</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/diffplug/spotless/commit/c442e3a507400bd9ae271e5d0df56ecd11d711e3"><code>c442e3a</code></a>
Published maven/2.44.1</li>
<li><a
href="https://github.com/diffplug/spotless/commit/f0d72c3273fbd40e2a561c5f7cb80874d21053ae"><code>f0d72c3</code></a>
Published gradle/7.0.1</li>
<li><a
href="https://github.com/diffplug/spotless/commit/3dad81e9517150d13119ba30be24ca3c487e7124"><code>3dad81e</code></a>
Published lib/3.0.1</li>
<li><a
href="https://github.com/diffplug/spotless/commit/da5549b4e52768a380a88bea546eb14111498147"><code>da5549b</code></a>
Run deployment on Java 17 (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2384">#2384</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/f22eda923e1a9d663f14b0db3f4918765023740c"><code>f22eda9</code></a>
Update plugin com.diffplug.spotless to v7.0.0 (<a
href="https://redirect.github.com/diffplug/spotless/issues/2383">#2383</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/6aa512e1b1f24b7300019acf4eb3a3dc57eb1f25"><code>6aa512e</code></a>
Update plugin com.diffplug.spotless to v7.0.0</li>
<li><a
href="https://github.com/diffplug/spotless/commit/cbbdee50a1463105add4ad02f545f71c5d320e0a"><code>cbbdee5</code></a>
Versions can float again.</li>
<li><a
href="https://github.com/diffplug/spotless/commit/da87a221a5a7950ce711d157accf368702a88152"><code>da87a22</code></a>
Published maven/2.44.0</li>
<li><a
href="https://github.com/diffplug/spotless/commit/23d98d203736b344f1853f652a6eb2f0c6a7f659"><code>23d98d2</code></a>
Published gradle/7.0.0</li>
<li><a
href="https://github.com/diffplug/spotless/commit/1c2435bf26f29b083d4adc1bb8c81e2cf7c60c00"><code>1c2435b</code></a>
Published lib/3.0.0</li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/lib/2.43.0...maven/2.44.1">compare
view</a></li>
</ul>
</details>
<br />
[](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 merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI
passes on it
- `dependabot cancel merge` will cancel a previously requested merge and
block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it.
You can achieve the same result by closing it manually
- `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 #2109 from
dependabot[bot]/dependabot/maven/java/com.diffplug.spotless-spotless-maven-plugin-2.44.1.
Authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/pom.xml b/java/pom.xml
index 0cab941ea..1b98e9be2 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -335,7 +335,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
- <version>2.43.0</version>
+ <version>2.44.1</version>
<configuration>
<pom>
<sortPom>