You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2022/02/28 18:52:02 UTC

[tika] branch main updated: try exclusion of weak dependency on osgi.core in log4j-core to get maven-enforcer-plugin 3.0.0 working, ref PR #514

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

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 6a6f094  try exclusion of weak dependency on osgi.core in log4j-core to get maven-enforcer-plugin 3.0.0 working, ref PR #514
6a6f094 is described below

commit 6a6f094fa477e6f9c5b74e2ad270ebe326fb92a2
Author: tallison <ta...@apache.org>
AuthorDate: Mon Feb 28 13:51:36 2022 -0500

    try exclusion of weak dependency on osgi.core in log4j-core to get maven-enforcer-plugin 3.0.0 working, ref PR #514
---
 tika-parent/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 7d1a8ba..4e38f22 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -510,6 +510,13 @@
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-core</artifactId>
         <version>${log4j2.version}</version>
+        <exclusions>
+        <!-- weak dependency on org.osgi.core 4.3.1 -->
+          <exclusion>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>