This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch bugfix/move-slf4j-to-boot-classloader in repository https://gitbox.apache.org/repos/asf/maven.git
commit a33920822d7da395c4b26ca33f75f5812356cf6d Author: Konrad Windszus <[email protected]> AuthorDate: Sun Feb 1 10:58:26 2026 +0100 Move SLF4J artifacts to boot classloader This makes it possible to use the SLF4J System.LoggerFinder This is looked up with ClassLoader.getSystemClassLoader(). This also requires the SLF4J API to be provided in that classloader. This closes #11684 --- apache-maven/src/assembly/component.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache-maven/src/assembly/component.xml b/apache-maven/src/assembly/component.xml index 5f55a310c8..08cc44a50b 100644 --- a/apache-maven/src/assembly/component.xml +++ b/apache-maven/src/assembly/component.xml @@ -24,6 +24,7 @@ under the License. <outputDirectory>boot</outputDirectory> <includes> <include>org.codehaus.plexus:plexus-classworlds</include> + <include>org.slf4j:*</include> </includes> </dependencySet> <dependencySet> @@ -31,6 +32,7 @@ under the License. <outputDirectory>lib</outputDirectory> <excludes> <exclude>org.codehaus.plexus:plexus-classworlds</exclude> + <exclude>org.slf4j:*</exclude> </excludes> </dependencySet> </dependencySets>
