You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/01/23 09:20:20 UTC

(logging-log4j2) branch 2.x updated: Remove redundant `stax2-api` pin (#2205)

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

vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new c7dd807504 Remove redundant `stax2-api` pin (#2205)
c7dd807504 is described below

commit c7dd807504c7a2f2f3bc8016efc87b24c26fa656
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 23 10:20:09 2024 +0100

    Remove redundant `stax2-api` pin (#2205)
---
 log4j-core-java9/pom.xml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/log4j-core-java9/pom.xml b/log4j-core-java9/pom.xml
index 8db7719e75..6b6c0e0b25 100644
--- a/log4j-core-java9/pom.xml
+++ b/log4j-core-java9/pom.xml
@@ -30,7 +30,6 @@
   <properties>
     <maven.compiler.release>9</maven.compiler.release>
     <maven.deploy.skip>true</maven.deploy.skip>
-    <stax2-api.version>4.2.2</stax2-api.version>
   </properties>
   <dependencies>
     <!-- Naturally, all implementations require the log4j-api JAR -->
@@ -46,14 +45,6 @@
       <groupId>com.fasterxml.jackson.dataformat</groupId>
       <artifactId>jackson-dataformat-xml</artifactId>
     </dependency>
-    <!-- Pinning `org.codehaus.woodstox:stax2-api` (which is injected by `com.fasterxml.jackson.dataformat:jackson-dataformat-xml`) to avoid `RequireUpperBoundDeps` failures: -->
-    <dependency>
-      <groupId>org.codehaus.woodstox</groupId>
-      <artifactId>stax2-api</artifactId>
-      <version>${stax2-api.version}</version>
-      <scope>runtime</scope>
-      <optional>true</optional>
-    </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>