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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git


The following commit(s) were added to refs/heads/master by this push:
     new c50f01f5 [CONFIGURATION-839] Version 2.10.0 fails 
java.lang.module.FindException: Module servlet.api not found
c50f01f5 is described below

commit c50f01f5be70e25e634a5cb717df95dfb1d692dc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Mar 14 10:29:07 2024 -0400

    [CONFIGURATION-839] Version 2.10.0 fails java.lang.module.FindException:
    Module servlet.api not found
---
 pom.xml                 | 2 ++
 src/changes/changes.xml | 1 +
 2 files changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index fb5ddaa8..cb3c918a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -402,10 +402,12 @@
     </dependency>
 
     <dependency>
+         <!-- For org.apache.commons.configuration2.web -->
       <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
       <version>2.5</version>
       <scope>provided</scope>
+      <optional>true</optional>
     </dependency>
 
     <dependency>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e49118ee..7ce510ef 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -26,6 +26,7 @@
     <release version="2.10.1" date="YYYY-MM-DD" description="Minor release 
with new features and updated dependencies.">
       <!-- FIX -->
       <action type="fix" issue="CONFIGURATION-840" dev="ggregory" due-to="Gary 
Gregory">StackOverflowError when adding property in 
AbstractListDelimiterHandler.flattenIterator().</action>
+      <action type="fix" issue="CONFIGURATION-840" dev="ggregory" due-to="Bob 
Marinier, Gary Gregory">Version 2.10.0 fails java.lang.module.FindException: 
Module servlet.api not found.</action>
       <!-- UPDATE -->
       <action type="update" dev="ggregory" due-to="Dependabot">Bump 
jackson-databind from 2.16.1 to 2.17.0 #297, #303, #326, #331, #340, 
#378.</action>
       <action type="update" dev="ggregory" due-to="Dependabot">Bump 
log4j.version from 2.23.0 to 2.23.1 #379.</action>

Reply via email to