You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by gr...@apache.org on 2022/11/19 23:11:15 UTC

[tika] 04/06: Ban commons-logging except in test scope

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

grossws pushed a commit to branch build-refactoring
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 348a83438f974a6936a5cdbd194756f6e255089c
Author: Konstantin Gribov <gr...@gmail.com>
AuthorDate: Sat Nov 19 23:39:40 2022 +0300

    Ban commons-logging except in test scope
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index d88d1be6a..f0d0e3627 100644
--- a/pom.xml
+++ b/pom.xml
@@ -312,6 +312,25 @@ least three +1 Tika PMC votes are cast.
               <fail>true</fail>
             </configuration>
           </execution>
+          <execution>
+            <id>ban-commons-logging</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <bannedDependencies>
+                  <excludes>
+                    <exclude>commons-logging:commons-logging</exclude>
+                  </excludes>
+                  <includes>
+                    <include>commons-logging:commons-logging:*:jar:test</include>
+                  </includes>
+                </bannedDependencies>
+              </rules>
+              <fail>true</fail>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
     </plugins>