dependabot[bot] opened a new pull request, #13280: URL: https://github.com/apache/maven/pull/13280
Bumps [org.apache.maven.shared:maven-shared-utils](https://github.com/apache/maven-shared-utils) from 3.4.2 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-shared-utils/releases">org.apache.maven.shared:maven-shared-utils's releases</a>.</em></p> <blockquote> <h2>3.5.0</h2> <p>Maven Shared Utils 3.5.0 is the first release since 3.4.2 (May 2023). The baseline is unchanged: Java 8 and Maven 3.</p> <p>Most of the work deprecates utilities that now have JDK or Apache Commons equivalents, and fixes bugs in process handling, <code>StringUtils</code>, <code>PathTool</code> and <code>Xpp3Dom</code>.</p> <p>Runtime dependency changes:</p> <ul> <li>commons-io 2.11.0 → 2.22.0</li> <li>jansi (optional) 2.4.0 → 2.4.3</li> <li>The provided-scope <code>jsr305</code> dependency is gone. slf4j-api stays at 1.7.36.</li> </ul> <h2>🚨 Removed</h2> <ul> <li><code>Commandline</code> and <code>Shell</code> no longer implement <code>Cloneable</code>. Their <code>clone()</code> methods always threw, so only code that references them is affected (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/365">#365</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> </ul> <h2>⚠️ Deprecated</h2> <ul> <li><code>StringUtils.replace</code> and <code>StringUtils.contains</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/427">#427</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>The <code>logging</code> package, in favour of <code>MessageBuilderFactory</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/423">#423</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li><code>StringUtils.concatenate</code>, in favour of <code>String.join</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/361">#361</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>StringUtils.clean()</code>, in favour of <code>StringUtils.trim()</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/356">#356</a>) <a href="https://github.com/HarshMehta112"><code>@HarshMehta112</code></a></li> <li><code>PathTool</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/355">#355</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>StringUtils.split</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/350">#350</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li>The remaining shared XML classes, including <code>Xpp3Dom</code> (<a href="https://issues.apache.org/jira/browse/MSHARED-1274">MSHARED-1274</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/162">#162</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/171">#171</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li>Add missing <code>@Deprecated</code> annotations (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/163">#163</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>FileUtils.forceMkdir</code> and <code>contentEquals</code>, which Commons IO provides (<a href="https://issues.apache.org/jira/browse/MSHARED-1271">MSHARED-1271</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/155">#155</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/156">#156</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>Os</code>, unmaintained for over a decade (<a href="https://issues.apache.org/jira/browse/MSHARED-1215">MSHARED-1215</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/157">#157</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>FileUtils.copyFile</code> and <code>FilterWrapper</code>, in favour of <code>org.apache.maven.shared.filtering</code> (<a href="https://issues.apache.org/jira/browse/MSHARED-1260">MSHARED-1260</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/147">#147</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>WriterFactory</code> (<a href="https://issues.apache.org/jira/browse/MSHARED-1254">MSHARED-1254</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/146">#146</a>) and <code>ReaderFactory</code> (<a href="https://issues.apache.org/jira/browse/MSHARED-1253">MSHARED-1253</a>, <a href="https://redirect.github.com/apache/maven-shared-utils/issues/145">#145</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> </ul> <h2>🐛 Bug fixes</h2> <p>Process handling:</p> <ul> <li>Close process streams after exit, to work around the JDK-4311711 hang (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/412">#412</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>CommandLineUtils</code>: wait on every pumper in a <code>try</code>/<code>finally</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/399">#399</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>AbstractStreamHandler.setDone</code>: call <code>notifyAll</code> to wake waiting threads (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/405">#405</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>StreamPollFeeder</code>: declare <code>done</code> and <code>exception</code> as <code>volatile</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/387">#387</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li>Pass <code>streamCharset</code> to the stdout and stderr pumpers (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/432">#432</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li><code>CmdShell</code>: quote items that cmd.exe would otherwise interpret (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/434">#434</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> </ul> <p>XML:</p> <ul> <li><code>Xpp3DomBuilder.createXmlReader</code>: stop changing system properties, which was not thread-safe (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/393">#393</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>Xpp3Dom.removeChild(int)</code>: fix <code>childMap</code> corruption with duplicate names (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/395">#395</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>Xpp3Dom.getValue()</code>: honour the <code>@NonNull</code> contract (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/389">#389</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> <li><code>Xpp3DomWriter</code>: reject a null DOM with a named <code>NullPointerException</code> (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/426">#426</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li><code>PrettyPrintXMLWriter</code>: handle a null <code>lineIndent</code> in the constructors (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/382">#382</a>) <a href="https://github.com/elharo"><code>@elharo</code></a></li> </ul> <p>Strings, paths and files:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/maven-shared-utils/commit/fbee44d95dce6dfbc878295824f82c0f3c876196"><code>fbee44d</code></a> [maven-release-plugin] prepare release maven-shared-utils-3.5.0</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/891953d4c9dd556dfe1aab74a3cdafb4832e3132"><code>891953d</code></a> fix(test): fix varargs warnings in StringUtilsTest (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/437">#437</a>)</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/ee43062d9a38dde546bdd7890c55cbb0bf07f7bd"><code>ee43062</code></a> Add tag-template to release-drafter.yml</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/517e861c847ec23fd893795c804012b007342126"><code>517e861</code></a> CmdShell: quote items that cmd.exe would otherwise interpret</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/e7e5849e67bf83cab52251b327aba0ef707fdc3a"><code>e7e5849</code></a> Update CMD Shell docs to not mentiuon individual Windows versions. (<a href="https://redirect.github.com/apache/maven-shared-utils/issues/435">#435</a>)</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/99c724c03f7ec3c2c384bb1c00f12c7dfb9e9690"><code>99c724c</code></a> Pass streamCharset to the stdout and stderr pumpers</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/23ddeeea3f225ac1cc1e31229e7c113f186315eb"><code>23ddeee</code></a> Copy a symbolic link even when its target does not exist</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/1515447beee932781720f2e498c9b9a226650c38"><code>1515447</code></a> Xpp3DomBuilder.createXmlReader: remove thread-unsafe system property manipula...</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/2e1fffb401d1ceedfb9f9dc8412f6fae3eaf2397"><code>2e1fffb</code></a> Xpp3Dom.removeChild(int): fix childMap corruption with duplicate names</li> <li><a href="https://github.com/apache/maven-shared-utils/commit/5e65e7ce1c82d26aa66ea52641a29ba99f4d9803"><code>5e65e7c</code></a> Drop the jspecify nullness annotations</li> <li>Additional commits viewable in <a href="https://github.com/apache/maven-shared-utils/compare/maven-shared-utils-3.4.2...maven-shared-utils-3.5.0">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 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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
