From unknown Fri Jun 20 18:21:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53872 <53872@debbugs.gnu.org> To: bug#53872 <53872@debbugs.gnu.org> Subject: Status: [PATCH] gnu: maven: Use required logger Reply-To: bug#53872 <53872@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:21:39 +0000 retitle 53872 [PATCH] gnu: maven: Use required logger reassign 53872 guix-patches submitter 53872 Julien Lepiller severity 53872 normal tag 53872 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 04:42:59 2022 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 09:42:59 +0000 Received: from localhost ([127.0.0.1]:45320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHN1X-0004nK-24 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 04:42:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:43970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHN1U-0004nC-NN for submit@debbugs.gnu.org; Tue, 08 Feb 2022 04:42:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHN1S-0008OP-RF for guix-patches@gnu.org; Tue, 08 Feb 2022 04:42:56 -0500 Received: from [2a00:5884:8208::1] (port=36150 helo=lepiller.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHN1P-0006qJ-TG for guix-patches@gnu.org; Tue, 08 Feb 2022 04:42:54 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 908e38db for ; Tue, 8 Feb 2022 09:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=co0 LucUHbBfUxhFjpqYxR4Gm0ybCROeayijRhcLos0g=; b=IHWAyVA25oVrMZGDpFW xYx/4wI3St0TrrJvMPh0uazqVsmCOhB4mIa6vl7vWWSp1q2+krT97kpoepS/f48L +2NTkRMhU3YUbf5CEivS8GVxkl3iLmHIuFkCaQNEo0G+1Sms1mZYjTKSv+003CTT R5Niht7p19P4S2JWVJr/NV5ZWS4d9VX+Rv2eklzrelDNYGNqM3XP8xLjQCdQFhjD CRR4iAvv2XeOF2oARs5dIWGmSoc0xv6qo5wnn00LpoS65XxwCEgdmIG2r1MHVwZs GAmAHh3LvgcEFzgTJLUQ2n+bL7Bc/rF3nrBkQhVqgZUGWeKumtnBKZNcNoBiZft/ Nyw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 5ffb27ee (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 8 Feb 2022 09:42:44 +0000 (UTC) Date: Tue, 8 Feb 2022 10:42:31 +0100 From: Julien Lepiller To: guix-patches@gnu.org Subject: [PATCH] gnu: maven: Use required logger Message-ID: <20220208104231.415fc1ba@tachikoma.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/2OmwrLVZUR7Dginih4pf=.u" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8208::1 (failed) Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --MP_/2OmwrLVZUR7Dginih4pf=.u Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: 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. --MP_/2OmwrLVZUR7Dginih4pf=.u Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-maven-embedder-Install-resources.patch >From 6af76778dd0fb3436e673ee00984fb87fb72cdde Mon Sep 17 00:00:00 2001 Message-Id: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> From: Julien Lepiller Date: Tue, 8 Feb 2022 10:20:28 +0100 Subject: [PATCH 1/4] gnu: maven-embedder: Install resources. * gnu/packages/maven.scm (maven-embedder)[arguments]: Add copy-resources phase. --- gnu/packages/maven.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index ba4f111930..b7ae2cc225 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -1791,6 +1791,10 @@ (define-public maven-embedder (invoke "./sisu.sh" "maven-embedder/src/main/java" "build/classes/META-INF/sisu/javax.inject.Named") #t)) + (add-before 'build 'copy-resources + (lambda _ + (mkdir-p "build/classes/") + (copy-recursively "maven-embedder/src/main/resources" "build/classes"))) (add-before 'build 'generate-models (lambda* (#:key inputs #:allow-other-keys) (define (modello-single-mode file version mode) -- 2.34.0 --MP_/2OmwrLVZUR7Dginih4pf=.u Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-maven-compat-Install-resources.patch >From 3b44f6052ce0d9aa65d2642f8561d585fbdb8dd3 Mon Sep 17 00:00:00 2001 Message-Id: <3b44f6052ce0d9aa65d2642f8561d585fbdb8dd3.1644313064.git.julien@lepiller.eu> In-Reply-To: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> References: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> From: Julien Lepiller Date: Tue, 8 Feb 2022 10:24:41 +0100 Subject: [PATCH 2/4] gnu: maven-compat: Install resources. * gnu/packages/maven.scm (maven-compat)[arguments]: Add copy-resources phase. --- gnu/packages/maven.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index b7ae2cc225..b95aec121b 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -2000,6 +2000,10 @@ (define-public maven-compat (modello-single-mode file "1.0.0" "xpp3-reader") (modello-single-mode file "1.0.0" "xpp3-writer")) #t)) + (add-before 'build 'copy-resources + (lambda _ + (mkdir-p "build/classes/") + (copy-recursively "src/main/resources" "build/classes"))) (add-after 'build 'generate-metadata (lambda _ (invoke "java" "-cp" (string-append (getenv "CLASSPATH") ":build/classes") -- 2.34.0 --MP_/2OmwrLVZUR7Dginih4pf=.u Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0003-gnu-Add-maven-slf4j-provider.patch >From 9eef3c21cc802abf76f4037000a378d8cb4f7812 Mon Sep 17 00:00:00 2001 Message-Id: <9eef3c21cc802abf76f4037000a378d8cb4f7812.1644313064.git.julien@lepiller.eu> In-Reply-To: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> References: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> From: Julien Lepiller Date: Tue, 8 Feb 2022 10:26:22 +0100 Subject: [PATCH 3/4] gnu: Add maven-slf4j-provider. * gnu/packages/maven.scm (maven-slf4-provider): New variable. --- gnu/packages/maven.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index b95aec121b..cf07c08b8e 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -1772,6 +1772,40 @@ (define-public maven-core ("maven-core-boot" ,maven-core-bootstrap) ,@(package-native-inputs maven-core-bootstrap))))) +(define-public maven-slf4j-provider + (package + (inherit maven-artifact) + (name "maven-slf4j-provider") + (arguments + `(#:jar-name "maven-slf4j-provider.jar" + #:source-dir "maven-slf4j-provider/src/main/java" + #:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-slf4j + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p "generated-sources") + (with-directory-excursion "generated-sources" + (invoke "tar" "xf" (assoc-ref inputs "java-slf4j-simple-source")) + (for-each delete-file (find-files "." "StaticLoggerBinder.java"))) + (for-each + (lambda (simple) + (for-each + (lambda (java) + (copy-file java + (string-append + "maven-slf4j-provider/src/main/java/org/slf4j/impl/" + (basename java)))) + (find-files (string-append simple "/src/main/java/") "\\.java$"))) + (find-files "generated-sources" "slf4j-simple" #:directories? #t)))) + (replace 'install + (install-from-pom "maven-slf4j-provider/pom.xml"))))) + (inputs + `(("java-slf4j-api" ,java-slf4j-api) + ("java-slf4j-simple-source" ,(package-source java-slf4j-simple)) + ("maven-shared-utils" ,maven-shared-utils))) + (native-inputs (list unzip)))) + (define-public maven-embedder (package (inherit maven-artifact) -- 2.34.0 --MP_/2OmwrLVZUR7Dginih4pf=.u Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0004-gnu-maven-Use-maven-slf4j-provider-instead-of-slf4j-.patch >From e7fe8f9973b32d8f6114dbf4aee3807adf2c8fb5 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> References: <6af76778dd0fb3436e673ee00984fb87fb72cdde.1644313064.git.julien@lepiller.eu> From: Julien Lepiller Date: Tue, 8 Feb 2022 10:32:32 +0100 Subject: [PATCH 4/4] gnu: maven: Use maven-slf4j-provider instead of slf4j-simple. Maven uses its own slf4j implementation, not the default one. The main difference is the color on the output. * gnu/packages/maven.scm (maven-wagon-http, maven-embedder, maven-compat) (maven): Replace slf4j-simple with maven-slf4j-provider. --- gnu/packages/maven.scm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index cf07c08b8e..edf93f276b 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -1088,6 +1088,7 @@ (define-public maven-wagon-http ("java-plexus-cli" ,java-plexus-cli) ("maven-plugin-api" ,maven-plugin-api) ("maven-plugin-annotations" ,maven-plugin-annotations) + ("maven-slf4j-provider" ,maven-slf4j-provider) ("maven-core" ,maven-core) ("maven-model" ,maven-model) ("java-commons-cli" ,java-commons-cli) @@ -1106,7 +1107,6 @@ (define-public maven-wagon-http ("java-commons-codec" ,java-commons-codec) ("java-commons-io" ,java-commons-io) ("java-jsoup" ,java-jsoup) - ("java-slf4j-simple" ,java-slf4j-simple) ,@(package-native-inputs maven-wagon-provider-api))) (synopsis "Wagon provider that gets and puts artifacts through HTTP(S)") (description "Maven Wagon is a transport abstraction that is used in Maven's @@ -1874,6 +1874,7 @@ (define-public maven-embedder ("maven-settings" ,maven-settings) ("maven-settings-builder" ,maven-settings-builder) ("maven-shared-utils" ,maven-shared-utils) + ("maven-slf4j-provider" ,maven-slf4j-provider) ("java-plexus-classworlds" ,java-plexus-classworlds) ("java-plexus-util" ,java-plexus-utils) ("java-eclipse-sisu-plexus" ,java-eclipse-sisu-plexus) @@ -1891,7 +1892,6 @@ (define-public maven-embedder ("java-guice" ,java-guice) ("java-javax-inject" ,java-javax-inject) ("java-slf4j-api" ,java-slf4j-api) - ("java-slf4j-simple" ,java-slf4j-simple) ("java-jsr250" ,java-jsr250))) (native-inputs `(("java-asm-8" ,java-asm-8) @@ -2122,8 +2122,8 @@ (define-public maven-compat ("java-commons-lang3" ,java-commons-lang3) ("java-aop" ,java-aopalliance) ("maven-resolver-provider" ,maven-resolver-provider) + ("maven-slf4j-provider" ,maven-slf4j-provider) ("java-slf4j-api" ,java-slf4j-api) - ("java-slf4j-simple" ,java-slf4j-simple) ,@(package-inputs java-slf4j-api))) (description "Apache Maven is a software project management and comprehension tool. This package contains Maven2 classes maintained as compatibility @@ -2161,7 +2161,8 @@ (define-public maven "maven-repository-metadata" "maven-shared-utils" "maven-resolver-api" "maven-resolver-spi" "maven-resolver-util" "maven-resolver-impl" "maven-resolver-connector-basic" "maven-resolver-provider" - "maven-resolver-transport-wagon" "maven-wagon-provider-api" + "maven-resolver-transport-wagon" "maven-slf4j-provider" + "maven-wagon-provider-api" "maven-wagon-file" "maven-wagon-http" "java-commons-logging-minimal" "java-httpcomponents-httpclient" "java-httpcomponents-httpcore" "maven-wagon-http-shared" "maven-wagon-tck-http" @@ -2171,8 +2172,7 @@ (define-public maven "java-plexus-utils" "java-plexus-interpolation" "java-plexus-sec-dispatcher" "java-plexus-cipher" "java-guava" "java-jansi" "java-jsr250" "java-cdi-api" "java-commons-cli" - "java-commons-io" "java-commons-lang3" "java-slf4j-api" - "java-slf4j-simple")))) + "java-commons-io" "java-commons-lang3" "java-slf4j-api")))) (substitute* "apache-maven/src/bin/mvn" (("cygwin=false;") (string-append @@ -2218,6 +2218,7 @@ (define-public maven maven-resolver-connector-basic maven-resolver-provider maven-resolver-transport-wagon + maven-slf4j-provider maven-wagon-provider-api maven-wagon-file maven-wagon-http @@ -2245,9 +2246,7 @@ (define-public maven java-commons-cli java-commons-io java-commons-lang3 - java-slf4j-api - ;; TODO: replace with maven-slf4j-provider - java-slf4j-simple)) + java-slf4j-api)) (propagated-inputs (list coreutils which)) (description "Apache Maven is a software project management and comprehension -- 2.34.0 --MP_/2OmwrLVZUR7Dginih4pf=.u-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 16 10:03:32 2022 Received: (at 53872) by debbugs.gnu.org; 16 Feb 2022 15:03:33 +0000 Received: from localhost ([127.0.0.1]:49217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKLq8-0006eO-Mi for submit@debbugs.gnu.org; Wed, 16 Feb 2022 10:03:32 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:57636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKLq7-0006e8-5K for 53872@debbugs.gnu.org; Wed, 16 Feb 2022 10:03:31 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 92FE1B78; Wed, 16 Feb 2022 16:03:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZB3xs_SRi8Qc; Wed, 16 Feb 2022 16:03:24 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 37026243; Wed, 16 Feb 2022 16:03:24 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Julien Lepiller Subject: Re: bug#53872: [PATCH] gnu: maven: Use required logger References: <20220208104231.415fc1ba@tachikoma.lepiller.eu> Date: Wed, 16 Feb 2022 16:03:23 +0100 In-Reply-To: <20220208104231.415fc1ba@tachikoma.lepiller.eu> (Julien Lepiller's message of "Tue, 8 Feb 2022 10:42:31 +0100") Message-ID: <877d9ux39g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 92FE1B78 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53872 Cc: 53872@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Julien Lepiller skribis: > 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. I know nothing about Maven but I=E2=80=99d say you can go ahead if the other Java folks around here have nothing to say. (When do we set up teams? :-)) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 05:00:11 2022 Received: (at 53872-done) by debbugs.gnu.org; 28 Feb 2022 10:00:11 +0000 Received: from localhost ([127.0.0.1]:60171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOcp9-0008Ji-An for submit@debbugs.gnu.org; Mon, 28 Feb 2022 05:00:11 -0500 Received: from lepiller.eu ([89.234.186.109]:56594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOcp6-0008Fb-SB for 53872-done@debbugs.gnu.org; Mon, 28 Feb 2022 05:00:09 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7c51d827; Mon, 28 Feb 2022 10:00:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=NhjU0CO1E/n4 8IfFYnIhc8Xp/x+INZHFm0r/s2dALkQ=; b=IZ0YH0imRfwcOT7Xs5YXq2GLiw+4 DQMewvrDRhXxVV+o/wPnaQ+OzWEIenFKrRmvGprhmFHDkqPUBk/tma9gTpVbBNYs I5c2wmJcBTvTwbdoDQdppUSpdTQSG6IKI/kAnBm7q+hBIhB+bXjeVTprY23gtRCv SwgwUlMqcS/lipWjlpOG4woj8im+Iw0ihVF78nolyIhb9wD66gPeLFZPPLwEbdA+ CFrlXBHf9v8cmpgJRmxztuhDARnKgDzEROpbSp3zB8lV8H1kM1yyoM3xnnJdtlFK 4Z7gq7B80DpkEWqCSVTMRwQss56qW3IRzzio/cL8xr0EwwBwCbr9Awvlmw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 12fda5a4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 28 Feb 2022 10:00:06 +0000 (UTC) Date: Mon, 28 Feb 2022 11:00:00 +0100 From: Julien Lepiller To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: bug#53872: [PATCH] gnu: maven: Use required logger Message-ID: <20220228110000.1872f52e@tachikoma.lepiller.eu> In-Reply-To: <877d9ux39g.fsf@gnu.org> References: <20220208104231.415fc1ba@tachikoma.lepiller.eu> <877d9ux39g.fsf@gnu.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53872-done Cc: 53872-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) With no other answer after more than two weeks since I posted the patch series, pushed to master as ea23386e084a035e4bc23273fffc3d114b311789 - 9aae8a3e0d53fd0c11b8e98e1fd2d2232598b036. Thanks! Le Wed, 16 Feb 2022 16:03:23 +0100, Ludovic Court=C3=A8s a =C3=A9crit : > Hi, >=20 > Julien Lepiller skribis: >=20 > > 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. =20 >=20 > I know nothing about Maven but I=E2=80=99d say you can go ahead if the ot= her > Java folks around here have nothing to say. > (When do we set up teams? :-)) >=20 > Thanks, > Ludo=E2=80=99. From unknown Fri Jun 20 18:21:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Mar 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator