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

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d4f0ebab [OPENMEETINGS-2846] commons-logging is excluded
9d4f0ebab is described below

commit 9d4f0ebab58bbef4267733217ebe29641065ed49
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Fri Nov 6 14:43:21 2026 +0700

    [OPENMEETINGS-2846] commons-logging is excluded
---
 pom.xml | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index 41cc39645..8c32db7c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -482,6 +482,10 @@
                                                
<groupId>org.springframework</groupId>
                                                
<artifactId>spring-jcl</artifactId>
                                        </exclusion>
+                                       <exclusion>
+                                               
<groupId>commons-logging</groupId>
+                                               
<artifactId>commons-logging</artifactId>
+                                       </exclusion>
                                </exclusions>
                        </dependency>
                        <dependency>
@@ -722,6 +726,12 @@
                                
<artifactId>tika-parsers-standard-package</artifactId>
                                <version>${tika-parsers.version}</version>
                                <type>pom</type>
+                               <exclusions>
+                                       <exclusion>
+                                               
<groupId>commons-logging</groupId>
+                                               
<artifactId>commons-logging</artifactId>
+                                       </exclusion>
+                               </exclusions>
                        </dependency>
                        <dependency>
                                <groupId>org.apache.tika</groupId>
@@ -830,15 +840,12 @@
                                <groupId>org.apache.commons</groupId>
                                <artifactId>commons-dbcp2</artifactId>
                                <version>${commons-dbcp.version}</version>
-                       </dependency>
-                       <dependency>
-                               <!-- this way we will exclude this one from 
dependency tree
-                                logging happen via slf4j
-                                -->
-                               <groupId>commons-logging</groupId>
-                               <artifactId>commons-logging</artifactId>
-                               <version>[1.0, )</version> <!-- include all 
possible versions -->
-                               <scope>provided</scope>
+                               <exclusions>
+                                       <exclusion>
+                                               
<groupId>commons-logging</groupId>
+                                               
<artifactId>commons-logging</artifactId>
+                                       </exclusion>
+                               </exclusions>
                        </dependency>
                        <dependency>
                                <groupId>org.apache.commons</groupId>
@@ -1509,6 +1516,13 @@
                                                                        
<requireMavenVersion>
                                                                                
<version>3.10.0</version>
                                                                        
</requireMavenVersion>
+                                                                       
<bannedDependencies>
+                                                                               
<searchTransitive>true</searchTransitive>
+                                                                               
<excludes>
+                                                                               
        <!-- logging happen via slf4j -->
+                                                                               
        <exclude>commons-logging:commons-logging</exclude>
+                                                                               
</excludes>
+                                                                       
</bannedDependencies>
                                                                </rules>
                                                                
<failFast>true</failFast>
                                                        </configuration>

Reply via email to