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

pottlinger pushed a commit to branch feature/RAT-442
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit 55f31a8fc7eef2694c9c9c9a4025d20194594e40
Author: P. Ottlinger <[email protected]>
AuthorDate: Sun Nov 9 00:04:23 2025 +0100

    RAT-442: Update to commons-cli 1.10.0
---
 apache-rat-core/src/main/java/org/apache/rat/OptionCollection.java | 2 +-
 pom.xml                                                            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-rat-core/src/main/java/org/apache/rat/OptionCollection.java 
b/apache-rat-core/src/main/java/org/apache/rat/OptionCollection.java
index 7a993cb9..d7e51bc4 100644
--- a/apache-rat-core/src/main/java/org/apache/rat/OptionCollection.java
+++ b/apache-rat-core/src/main/java/org/apache/rat/OptionCollection.java
@@ -130,7 +130,7 @@ public final class OptionCollection {
         CommandLine commandLine;
         try {
             commandLine = 
DefaultParser.builder().setDeprecatedHandler(DeprecationReporter.getLogReporter())
-                    .setAllowPartialMatching(true).build().parse(opts, args);
+                    .setAllowPartialMatching(true).get().parse(opts, args);
         } catch (ParseException e) {
             DefaultLog.getInstance().error(e.getMessage());
             DefaultLog.getInstance().error("Please use the \"--help\" option 
to see a list of valid commands and options.", e);
diff --git a/pom.xml b/pom.xml
index 31c78b8a..d276d5c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,7 @@ agnostic home for software distribution comprehension and 
audit tools.
       <dependency>
         <groupId>commons-cli</groupId>
         <artifactId>commons-cli</artifactId>
-        <version>1.8.0</version>
+        <version>1.10.0</version>
       </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>

Reply via email to