guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53872] [PATCH] gnu: maven: Use required logger


From: Julien Lepiller
Subject: [bug#53872] [PATCH] gnu: maven: Use required logger
Date: Tue, 8 Feb 2022 10:42:31 +0100

Hi Guix!

I figured there was a small issue with our maven package. It warns that
the current logger is not supported, and lists no supported logger.
This is because I forgot to copy resources in maven-embedder (first
patch). I also noticed I missed resources in maven-compat, so I fixed
that in the second patch.

Then, maven uses its own logger instead of a default one, even if it
does support slf4j-simple. The third patch adds maven-slf4j-wrapper. It
is essentially a fork of slf4j-simple, but the way it's written
requires me to copy most of slf4j-simple's sources. The last patch
switches the use of slf4j-simple to maven-slf4j-provider. I checked
that java-jmh still builds properly with this change, and no warnings
are shown about the logger anymore.

Attachment: 0001-gnu-maven-embedder-Install-resources.patch
Description: Text Data

Attachment: 0002-gnu-maven-compat-Install-resources.patch
Description: Text Data

Attachment: 0003-gnu-Add-maven-slf4j-provider.patch
Description: Text Data

Attachment: 0004-gnu-maven-Use-maven-slf4j-provider-instead-of-slf4j-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]