You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gi...@apache.org on 2022/05/28 12:12:43 UTC

[logging-log4j2] 02/03: Change the version to 9.4

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

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

commit 6d50df8731b2b8c7a5976bd750bb269adc6c5f94
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Sat May 28 12:53:08 2022 +0200

    Change the version to 9.4
    
    Jetty 9.x is the last version that does not use SLF4J natively: cf.
    [Jetty 9 documentation](https://www.eclipse.org/jetty/documentation/jetty-9/index.html#configuring-logging)
    vs
    [Jetty 10
    documentation](https://www.eclipse.org/jetty/documentation/jetty-10/operations-guide/index.html#og-logging)
    
    Given the EOL announcement eclipse/jetty.project#7958, this is the last
    upgrade we need to perform.
---
 log4j-appserver/pom.xml | 3 ---
 pom.xml                 | 8 ++++++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/log4j-appserver/pom.xml b/log4j-appserver/pom.xml
index 9448605359..fedd459b7a 100644
--- a/log4j-appserver/pom.xml
+++ b/log4j-appserver/pom.xml
@@ -35,7 +35,6 @@
     <docLabel>Web Documentation</docLabel>
     <projectDir>/log4j-appserver</projectDir>
     <tomcat-juli.version>10.0.21</tomcat-juli.version>
-    <jetty.version>11.0.9</jetty.version> <!--  Jetty 9 requires Java 8 -->
     <module.name>org.apache.logging.log4j.appserver</module.name>
     <maven.doap.skip>true</maven.doap.skip>
   </properties>
@@ -54,8 +53,6 @@
     <dependency>
       <groupId>org.eclipse.jetty</groupId>
       <artifactId>jetty-util</artifactId>
-      <version>${jetty.version}</version>
-      <scope>provided</scope>
     </dependency>
   </dependencies>
 
diff --git a/pom.xml b/pom.xml
index e6e519df9f..be190fdb90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -307,6 +307,8 @@
     <argLine>-Xms256m -Xmx1024m</argLine>
     <javaTargetVersion>1.8</javaTargetVersion>
     <module.name />
+    <!-- Dependency versions -->
+    <jetty.version>9.4.46.v20220331</jetty.version>
   </properties>
   <pluginRepositories>
     <pluginRepository>
@@ -1074,6 +1076,12 @@
         <version>31.1-jre</version>
         <scope>test</scope>
       </dependency>
+      <dependency>
+        <groupId>org.eclipse.jetty</groupId>
+        <artifactId>jetty-util</artifactId>
+        <version>${jetty.version}</version>
+        <scope>provided</scope>
+      </dependency>
     </dependencies>
   </dependencyManagement>
   <build>