From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HCqF+gSrmJ6FwAAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 20:01:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GBOBF+gSrmLFIQAA9RJhRA (envelope-from ) for ; Sat, 18 Jun 2022 20:01:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1F463ECDF for ; Sat, 18 Jun 2022 20:01:12 +0200 (CEST) Received: from localhost ([::1]:42548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ckw-0004xT-QR for larch@yhetil.org; Sat, 18 Jun 2022 14:01:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2cko-0004wT-6K for guix-patches@gnu.org; Sat, 18 Jun 2022 14:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2ckn-0003iQ-SQ for guix-patches@gnu.org; Sat, 18 Jun 2022 14:01:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2ckn-0007Z4-OW for guix-patches@gnu.org; Sat, 18 Jun 2022 14:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 18:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Artyom V. Poptsov" Cc: 55929@debbugs.gnu.org Received: via spool by 55929-submit@debbugs.gnu.org id=B55929.165557521829018 (code B ref 55929); Sat, 18 Jun 2022 18:01:01 +0000 Received: (at 55929) by debbugs.gnu.org; 18 Jun 2022 18:00:18 +0000 Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ck5-0007Xx-W3 for submit@debbugs.gnu.org; Sat, 18 Jun 2022 14:00:18 -0400 Received: from lepiller.eu ([89.234.186.109]:40864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ck4-0007Xq-O4 for 55929@debbugs.gnu.org; Sat, 18 Jun 2022 14:00:17 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 36b7d292; Sat, 18 Jun 2022 18:00:15 +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=RUanxg8PotBz wzNPn8K35hKin6DI1FhMOsfclyI8gYM=; b=HXUCm5dZqkiFpz4ke9fHTAiS9U8p 7SdYam7AlMRTEEvIq2Oqlub2OiTgRFn3QdD2EYe2atbdmiLCcKqPhAicuzlKvgyC zSe/LeRuGoEO9kKSdox1U4HGZPMP07ewKevDQxuo9SiaMgnYuANfwn8v2jU5MCNg Xg3fmb34oc8wN0ZXmhisDo9jrATo62m1c8NcigVSbz24VUsODGUG+I12TSRDGHtI iyXreb5VuF9qmKFAX3MUr+ObRwLzv5QgzBxMlAytHyxOqlNcHFW0Lauab901jyao 0fcb8s6of0FVWkyFWN3pW3qeuoebzcfJbpXQ8N2X5bW5pgiVl7czIe9iMg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id dff0e116 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 18:00:15 +0000 (UTC) Date: Sat, 18 Jun 2022 20:00:13 +0200 From: Julien Lepiller Message-ID: <20220618200007.4939d143@sybil.lepiller.eu> In-Reply-To: <87sfo1vris.fsf@gmail.com> References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> <874k0pxk20.fsf@gmail.com> <20220613074153.38569225@sybil.lepiller.eu> <875ykyvvc5.fsf@gmail.com> <8C6BA0C7-33B3-4059-9B46-48A4052F3057@lepiller.eu> <87sfo1vris.fsf@gmail.com> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655575272; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IAyKj18AouQgYWvv9CCGKx/iulb/r5v0p6/OBg9T1Uw=; b=ELwtv0bsW9jODNhcGpJgieFS+NuwBzpSt92YChAO3xIY93YdgUjO5t+s+VxLqtmIpGRzYM x08rzptTiRD4SpKxw0u5/Z4diIHMp2/KD8L6K8sRsGpAsQ6oKhk4efMc+dm2syN8NiI9lH q27vFEBlX9zqWrV1FN1+tBQtlw3dYHW17Q3aNe34tk2SHjm0AbYY2VRXROyOEyVL2F+DT3 jnQnHz8ICqO/NE3SiIeZdPJ2J3GA5PnFA49xPxNMPNFM1/x6RoesOz/4opmY+IchYkaPP1 mDry99+IKBiIbaQrMl0YwSRJQVFT+jIVd+BQUt8tvtOtrc3heaupFVa1Pz4oQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655575272; a=rsa-sha256; cv=none; b=T6ntbhEPVyTJzPROEpt9iXg4+946evByCuHFNR8JONbRMarDHy1ZL28KHe3nP2hoysgQY0 05C3uQDNoyjdPJUc3ZpA7hKxox9gdPshtnSO/5Z0GjEQLku5OAd87oN0Sve0hv6HekXS3d EKOoqjYnUifeK/jyAklZswyG5OmHwyhkLl/7KmeIDgX06Pd/PkfZsxiXJSmm3z4Y7Ojdh9 rzyqr0cZG0vnlyqyCcI5nXMAhyr4HKRh/jbCgdTCaDy1xvg1vHhVezs9xDLg1dTfU0jBpp 3IBsaFtVMQvAIZJB3JjfpMYKkshnsU00+YstbkDA/NhgqNVjXn26DtxzYpI2KA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HXUCm5dZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HXUCm5dZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1F463ECDF X-Spam-Score: 6.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7NFTWQGb3IBY Thanks for the new patch :) Le Sat, 18 Jun 2022 19:57:15 +0300, "Artyom V. Poptsov" a =C3=A9crit : > + (native-inputs > + (list java-javax-inject)) > + (propagated-inputs > + (list maven-parent-pom-34)) Sorry if my previous messages were confusing you. I meant to have a new package maven-doxia-parent (or similar name) that contains only the parent pom file. You're propagating the grand-parent. I think this would be more correct: (propagated-inputs (list maven-doxia-parent)) and maven-doxia-parent would be something like: (define maven-doxia-parent (package (inherit maven-doxia-sink-api) (name "maven-doxia-parent") (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'configure) (delete 'build) (replace 'install (install-pom-file "pom.xml"))))) (synopsis "...") (description "..."))) This is untested, of course :) Since we "define" and not "define-public" (we don't want it to be accessible from other modules or the command-line), you can put both packages in the same patch. > + (arguments > + `(#:jar-name "doxia-sink-api.jar" > + #:source-dir "doxia-sink-api/src/main/java" > + #:tests? #f ; no tests > + #:phases (modify-phases %standard-phases > + (replace 'install > + (install-from-pom "doxia-sink-api/pom.xml"))))) That's correct :)