You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/04/01 13:31:50 UTC

(ofbiz-plugins) 02/02: Fixed: post-Dependabot bump compilation and runtime errors

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

jacopoc pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git

commit 9d717f89b0c8a97cd36db56df40fdd1d7e49b5ee
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Sat Mar 28 09:48:58 2026 +0100

    Fixed: post-Dependabot bump compilation and runtime errors
    
    - Exclude pac4j-saml from plugins/ldap: not needed for LDAP auth and its
      transitive dep xmlsectool is unavailable in configured repositories
    - Bump Lucene version to 8.11.4 in SearchWorker and solrconfig.xml
---
 ldap/build.gradle                                           | 13 +++----------
 .../java/org/apache/ofbiz/content/search/SearchWorker.java  |  2 +-
 solr/home/solrdefault/conf/solrconfig.xml                   |  2 +-
 3 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/ldap/build.gradle b/ldap/build.gradle
index 82cf3272c..2229223c5 100644
--- a/ldap/build.gradle
+++ b/ldap/build.gradle
@@ -35,14 +35,7 @@ configurations.all {
     exclude group: 'javax.xml.bind', module: 'jsr173_api'
     exclude group: 'javax.xml.bind', module: 'jaxb-api'
     exclude group: 'geronimo-spec', module: 'geronimo-spec-jta'
-    
-}
-
-configurations.all {
-    exclude group: 'javax.xml.parsers', module: 'jsr173_api'
-    exclude group: 'javax.xml.namespace', module: 'jsr173_api'
-    exclude group: 'javax.xml.bind', module: 'jsr173_api'
-    exclude group: 'javax.xml.bind', module: 'jaxb-api'
-    exclude group: 'geronimo-spec', module: 'geronimo-spec-jta'
-    
+    // pac4j-saml is a transitive dependency of cas-server-support-ldap-core but not needed for LDAP auth;
+    // its transitive dep net.shibboleth.tool:xmlsectool is not available in any configured repository
+    exclude group: 'org.pac4j', module: 'pac4j-saml'
 }
diff --git a/lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java b/lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java
index 0fd586355..2a6b41580 100644
--- a/lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java
+++ b/lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java
@@ -41,7 +41,7 @@ public final class SearchWorker {
 
     private static final String MODULE = SearchWorker.class.getName();
 
-    private static final Version LUCENE_VERSION = Version.LUCENE_8_11_3;
+    private static final Version LUCENE_VERSION = Version.LUCENE_8_11_4;
 
     private SearchWorker() { }
 
diff --git a/solr/home/solrdefault/conf/solrconfig.xml b/solr/home/solrdefault/conf/solrconfig.xml
index 9c737817c..5b5f70a22 100644
--- a/solr/home/solrdefault/conf/solrconfig.xml
+++ b/solr/home/solrdefault/conf/solrconfig.xml
@@ -35,7 +35,7 @@
        that you fully re-index after changing this setting as it can
        affect both how text is indexed and queried.
   -->
-  <luceneMatchVersion>8.11.3</luceneMatchVersion>
+  <luceneMatchVersion>8.11.4</luceneMatchVersion>
 
   <!-- <lib/> directives can be used to instruct Solr to load any Jars
        identified and use them to resolve any "plugins" specified in