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 f37af11c0f Improve name/description of SLF4J-related modules (#1462)
f37af11c0f is described below
commit f37af11c0f5bab4264665230f0d9a7e2d46b8bdc
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Apr 25 17:24:53 2024 +0200
Improve name/description of SLF4J-related modules (#1462)
---
log4j-slf4j-impl/pom.xml | 12 +++++++++---
log4j-slf4j2-impl/pom.xml | 12 +++++++++---
log4j-to-slf4j/pom.xml | 12 +++++++++---
3 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/log4j-slf4j-impl/pom.xml b/log4j-slf4j-impl/pom.xml
index 0cc3b4d773..32d129b150 100644
--- a/log4j-slf4j-impl/pom.xml
+++ b/log4j-slf4j-impl/pom.xml
@@ -16,17 +16,23 @@
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
<version>${revision}</version>
<relativePath>../log4j-parent</relativePath>
</parent>
+
<artifactId>log4j-slf4j-impl</artifactId>
- <packaging>jar</packaging>
- <name>Apache Log4j SLF4J Binding</name>
- <description>The Apache Log4j SLF4J API binding to Log4j 2 Core</description>
+
+ <name>SLF4J 1 Binding for Log4j API</name>
+
+ <description>SLF4J 1 binding (provider) for the Log4j API.
+ It forwards SLF4J 1 calls to the Log4j API.
+ (Refer to the `log4j-to-slf4j` artifact for forwarding the Log4j API to
SLF4J.)</description>
<properties>
<slf4j1.version>1.7.36</slf4j1.version>
diff --git a/log4j-slf4j2-impl/pom.xml b/log4j-slf4j2-impl/pom.xml
index 279ee47b15..f6011d3948 100644
--- a/log4j-slf4j2-impl/pom.xml
+++ b/log4j-slf4j2-impl/pom.xml
@@ -16,7 +16,9 @@
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
@@ -25,9 +27,13 @@
</parent>
<artifactId>log4j-slf4j2-impl</artifactId>
- <packaging>jar</packaging>
- <name>Apache Log4j SLF4J 2.0 Binding</name>
- <description>The Apache Log4j SLF4J 2.0 API binding to Log4j 2
Core</description>
+
+ <name>SLF4J 2 Provider for Log4j API</name>
+
+ <description>SLF4J 2 provider (binding) for the Apache Log4j API.
+ It forwards SLF4J 2 calls to the Log4j API.
+ This effectively allows using Log4j as an implementation of SLF4J 2.
+ (Refer to the `log4j-to-slf4j` artifact for forwarding the Log4j API to
SLF4J.)</description>
<properties>
<slf4j2.version>2.0.9</slf4j2.version>
diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml
index 6b3840e24d..fdcb4888a9 100644
--- a/log4j-to-slf4j/pom.xml
+++ b/log4j-to-slf4j/pom.xml
@@ -16,17 +16,23 @@
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
<version>${revision}</version>
<relativePath>../log4j-parent</relativePath>
</parent>
+
<artifactId>log4j-to-slf4j</artifactId>
- <packaging>jar</packaging>
- <name>Apache Log4j to SLF4J Adapter</name>
- <description>The Apache Log4j binding between Log4j 2 API and
SLF4J.</description>
+
+ <name>Log4j API to SLF4J Adapter</name>
+
+ <description>Forwards the Log4j API calls to SLF4J.
+ (Refer to the `log4j-slf4j[2]-impl` artifacts for forwarding SLF4J to the
Log4j API.)</description>
+
<properties>
<!--