Skip to content

Commit f37af11

Browse files
committed
Improve name/description of SLF4J-related modules (#1462)
1 parent 3efd59e commit f37af11

File tree

3 files changed

+27
-9
lines changed

3 files changed

+27
-9
lines changed

log4j-slf4j-impl/pom.xml

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,23 @@
1616
~ limitations under the License.
1717
-->
1818
<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">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
2325
<version>${revision}</version>
2426
<relativePath>../log4j-parent</relativePath>
2527
</parent>
28+
2629
<artifactId>log4j-slf4j-impl</artifactId>
27-
<packaging>jar</packaging>
28-
<name>Apache Log4j SLF4J Binding</name>
29-
<description>The Apache Log4j SLF4J API binding to Log4j 2 Core</description>
30+
31+
<name>SLF4J 1 Binding for Log4j API</name>
32+
33+
<description>SLF4J 1 binding (provider) for the Log4j API.
34+
It forwards SLF4J 1 calls to the Log4j API.
35+
(Refer to the `log4j-to-slf4j` artifact for forwarding the Log4j API to SLF4J.)</description>
3036

3137
<properties>
3238
<slf4j1.version>1.7.36</slf4j1.version>

log4j-slf4j2-impl/pom.xml

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
~ limitations under the License.
1717
-->
1818
<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">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
@@ -25,9 +27,13 @@
2527
</parent>
2628

2729
<artifactId>log4j-slf4j2-impl</artifactId>
28-
<packaging>jar</packaging>
29-
<name>Apache Log4j SLF4J 2.0 Binding</name>
30-
<description>The Apache Log4j SLF4J 2.0 API binding to Log4j 2 Core</description>
30+
31+
<name>SLF4J 2 Provider for Log4j API</name>
32+
33+
<description>SLF4J 2 provider (binding) for the Apache Log4j API.
34+
It forwards SLF4J 2 calls to the Log4j API.
35+
This effectively allows using Log4j as an implementation of SLF4J 2.
36+
(Refer to the `log4j-to-slf4j` artifact for forwarding the Log4j API to SLF4J.)</description>
3137

3238
<properties>
3339
<slf4j2.version>2.0.9</slf4j2.version>

log4j-to-slf4j/pom.xml

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,23 @@
1616
~ limitations under the License.
1717
-->
1818
<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">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
2325
<version>${revision}</version>
2426
<relativePath>../log4j-parent</relativePath>
2527
</parent>
28+
2629
<artifactId>log4j-to-slf4j</artifactId>
27-
<packaging>jar</packaging>
28-
<name>Apache Log4j to SLF4J Adapter</name>
29-
<description>The Apache Log4j binding between Log4j 2 API and SLF4J.</description>
30+
31+
<name>Log4j API to SLF4J Adapter</name>
32+
33+
<description>Forwards the Log4j API calls to SLF4J.
34+
(Refer to the `log4j-slf4j[2]-impl` artifacts for forwarding SLF4J to the Log4j API.)</description>
35+
3036
<properties>
3137

3238
<!--

0 commit comments

Comments
 (0)