Skip to content
Evergreen Evergreen
Documentation

org.slf4j:slf4j-log4j12 has moved to org.slf4j:slf4j-reload4j

Deprecated. The source gives no day. Replacement: org.slf4j:slf4j-reload4j. Source: org.slf4j:slf4j-log4j12 2.1.0-alpha1 POM on Maven Central.

Check a version:

evergreen check pkg:maven/org.slf4j/slf4j-log4j12

The POM of org.slf4j:slf4j-log4j12 2.1.0-alpha1 declares a relocation to org.slf4j:slf4j-reload4j.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem java
Component pkg:maven/org.slf4j/slf4j-log4j12
Affected versions vers:maven/>=2.0.13
Date from the source The source gives no day
Replacement org.slf4j:slf4j-reload4j
Evidence last seen 2026-10-17
Reviewed 2026-10-17 by arminazimi, drafted by the java-2 importer
Review due 2027-04-15 (180 days after the last review)
Rule ID java.maven.org.slf4j.slf4j-log4j12.relocated

Sources

Migration

Constraints

  • Replace org.slf4j:slf4j-log4j12 with org.slf4j:slf4j-reload4j; the relocation in the artifact’s POM names the new coordinates, so keep the version unless you intend to upgrade it.
  • Update every module and dependency-management block that names the old coordinates, and remove exclusions that mention them.

Steps

  1. Change the dependency coordinates. Replace the reported org.slf4j:slf4j-log4j12 dependency with org.slf4j:slf4j-reload4j.
  2. Align other declarations. Update every other pom.xml, Gradle build file, version catalog, and BOM override that names the old coordinates.

Verification

  • ./mvnw -B dependency:tree || ./gradlew dependencies: Confirm the old coordinates are gone from the resolved dependency graph.
  • ./mvnw -B verify || ./gradlew build: Build and test the project with the new coordinates.

Detected by

The java detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/java.json, rule java.maven.org.slf4j.slf4j-log4j12.relocated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated