GNU bug report logs - #53872
[PATCH] gnu: maven: Use required logger

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Tue, 8 Feb 2022 09:43:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: maven: Use required logger
Date: Tue, 8 Feb 2022 10:42:31 +0100
[Message part 1 (text/plain, inline)]
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.
[0001-gnu-maven-embedder-Install-resources.patch (text/x-patch, attachment)]
[0002-gnu-maven-compat-Install-resources.patch (text/x-patch, attachment)]
[0003-gnu-Add-maven-slf4j-provider.patch (text/x-patch, attachment)]
[0004-gnu-maven-Use-maven-slf4j-provider-instead-of-slf4j-.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.