From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 YAa/JSPrJGN7HwAAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 23:31:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iI3eJCPrJGPlNgEAG6o9tA (envelope-from ) for ; Fri, 16 Sep 2022 23:31:15 +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 8DBD243A70 for ; Fri, 16 Sep 2022 23:31:14 +0200 (CEST) Received: from localhost ([::1]:39042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZIvZ-0000w0-Np for larch@yhetil.org; Fri, 16 Sep 2022 17:31:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZItS-0007oh-Qp for guix-patches@gnu.org; Fri, 16 Sep 2022 17:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZItS-000634-Ix for guix-patches@gnu.org; Fri, 16 Sep 2022 17:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZItS-0001BZ-At for guix-patches@gnu.org; Fri, 16 Sep 2022 17:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57726] [PATCH] gnu: Add java-eclipse-sisu-maven-plugin. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Sep 2022 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57726 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 57726@debbugs.gnu.org Received: via spool by 57726-submit@debbugs.gnu.org id=B57726.16633636964504 (code B ref 57726); Fri, 16 Sep 2022 21:29:02 +0000 Received: (at 57726) by debbugs.gnu.org; 16 Sep 2022 21:28:16 +0000 Received: from localhost ([127.0.0.1]:44492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZIsi-0001Aa-AZ for submit@debbugs.gnu.org; Fri, 16 Sep 2022 17:28:16 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:44856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZIsg-0001AN-Pp for 57726@debbugs.gnu.org; Fri, 16 Sep 2022 17:28:15 -0400 Received: by mail-lf1-f50.google.com with SMTP id i26so37535379lfp.11 for <57726@debbugs.gnu.org>; Fri, 16 Sep 2022 14:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=ps4YI4zdIE0JVkSklsA4FUp8IABwj6qZykoaMZhJ9b0=; b=A/GKbalrjWwLwzeo68ykoKlwh7sNF29Fst+He6gfOOCLx0phMURTjmK11B/WzpSHu+ pPAyzzuejQkuWULS0ZRKJHhuE+FJSigBzdeOzeyg+Hl2Y9sO8qPNEc2uOqbvS53Pndsl sLqAMyHYXS7k5ByjlsTWVKpjJ0sCo+jmNcR0fLmMpFQNVwSP+rM1iQzLVz948x1XS5wW kV+OespMBYGLqbJo3/Voet0rUHTkmCew/0NC/BAJS4u4yitZDbSCUq6HS5g3wyAtZ6JA BZo7fI12MNKZaH4SbGSYlf9ODiF5dbx19+n1Y8Mj0IT8N3qO0O8oZgL8vBdH/OQdTwkf 4QYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=ps4YI4zdIE0JVkSklsA4FUp8IABwj6qZykoaMZhJ9b0=; b=tu3sN+la36IIatMHinBcgOy6lXu8B9CgvTxFTpQgLd/peTtPEJ32MsWG0tcbaVXin2 r1vnipR+Mr+v940FKOwIyJ8sedGNAobGYgmzV7D3LQ3mYLUnVUVlqqhnjdjlfttUHjHX KhqD8qc3jRhmZEp5aRS6ppusbE5FDp+9dl0DJZiT6EGJ0J9nARqFPdcuCh/sBH6gDb42 n8Mcws1Zq6vo3wd2mPFV1bCmaSIvIySLvrAbz4FfT7EqVbQS/zQCD++BqGzja2S+Efww bj65kqngZI5v1vYaA3PakkRmGP0QnXDNnYnMsO6pvJ9aVYVmca3RCQAnhA4ryGDX/flP l16A== X-Gm-Message-State: ACrzQf09jYlQMlqSCQD+jTVx5+MKbUxkhAUzRsXbLTQnnXior1VrU9vf 09p+fWRZdc3KhzVYnxadTJmQkoD1VI8= X-Google-Smtp-Source: AMsMyM7j2zYtTnqJrPaQAoBbHQlIMZTgVBXXpub/1QLx0jaPnykMlj4+GVW6dqZgc60bGreiLOGywg== X-Received: by 2002:a05:6512:402:b0:49e:e07:5e7e with SMTP id u2-20020a056512040200b0049e0e075e7emr2277203lfk.530.1663363688102; Fri, 16 Sep 2022 14:28:08 -0700 (PDT) Received: from elephant ([5.166.205.177]) by smtp.gmail.com with ESMTPSA id u18-20020ac258d2000000b0049110ba325asm3666206lfo.158.2022.09.16.14.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 14:28:06 -0700 (PDT) From: "Artyom V. Poptsov" References: <87k06ajmx0.fsf@gmail.com> Date: Sat, 17 Sep 2022 00:28:00 +0300 In-Reply-To: (Julien Lepiller's message of "Sun, 11 Sep 2022 12:05:06 +0200") Message-ID: <87mtaz6mcf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1663363874; 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: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=ps4YI4zdIE0JVkSklsA4FUp8IABwj6qZykoaMZhJ9b0=; b=FHcyLWTCA15DC8uTPu9Ks12ye6+tvkpNDOZ8xVgajrwooCLiniPO9L/FKWEQjc0XiqdTa5 TDutbAxxj6m1GLkdrogV1SNH8a+s/Eo4pwLA2JzEUc7fXzZO3+1qHpM+gj2SFGZJmdp4WV Qf14EIc4OSzHfNXKm3bNEMk/kV6sQsSH0uwhrA3Rc3BePhlejHCR7fYhTnxft6+H/DzafW ncBKX6kYT9qnacrDamgfXQgi8yKUNzX9ejTNTfipEDmO3hiqKUzsm8cdGwkXtx/T/a3VLS k/B00lGREDW81hLP3lJYlh1Ypa2D7gyKUKV115UDJmZY+MMunU7HlqF13gZdXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663363874; a=rsa-sha256; cv=none; b=DpUnPrm3krQeCRC5eFMn5zskW0QM9aMOQ+/4iGaem3hnb3Zn594yfeECPNsAD+nSD9MOVm JisWAEbO4ZFiAS6K+d0q7ZaeTJdC9p2l0wCm6arR/WycMXWa4zOZpLdPweQri18ygBqs2M ZZmWeznAeLQnWA/8E7XmrjqTJLYAsDsjm5ZoSmFy6Xj6c12F+5z0a/qNMVmmM4xZ8doNxx 7xr7X7/8UR8mJddeKH8mS0NXPraVUOf5YY+2S4tqtGswF72R/WaDNuwtxKxD2fpxvQAC5V 7Qovti9vu69TGF4td/i+WJHxxJxSd+lGZRR2qGguVCmVHoE9K2ot1rOHtuF62w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="A/GKbalr"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="A/GKbalr"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 8DBD243A70 X-Spam-Score: 4.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: EUVdQ/DtLIgx --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Julien. > The name implies this is a plugin for maven. The way you build it, > maven will not be able to use it because it's missing some metadata. Okay. I moved the package to (gnu packages maven) as it seems to be the more appropriate place for Maven plugins indeed. > You can use generate-plugin.xml to generate the required file. The > parser might not work properly, I'll have a look if it doesn't work, but > that might take some time. Thanks for the hint, I modified the patch so now the package uses "generate-plugin.xml". Please find the new patch attached. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-maven-sisu-plugin.patch Content-Transfer-Encoding: quoted-printable From=2014b58121576e154b4bf96564dffb9fd09f5e0b81 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 17 Sep 2022 00:23:33 +0300 Subject: [PATCH] gnu: Add maven-sisu-plugin. * gnu/packages/maven.scm (maven-sisu-plugin): New variable. =2D-- gnu/packages/maven.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 28ec4eb9a8..b897c6ed34 100644 =2D-- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -27,6 +27,7 @@ (define-module (gnu packages maven) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system ant) + #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -3012,6 +3013,50 @@ (define-public maven-enforcer-plugin maven-plugin-annotations maven-enforcer-parent-pom)))) =20 +(define-public maven-sisu-plugin + (package + (name "maven-sisu-plugin") + (version "0.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eclipse/sisu.mojos/") + (commit (string-append "releases/" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00hb7v6hz8jg0mgkj3cl0nmqz49za4k2a0rbjr4gdhy2m7f34sq3")))) + (build-system ant-build-system) + (arguments + (list #:jar-name "maven-sisu-plugin.jar" + #:source-dir "src" + #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (add-before 'build 'generate-plugin.xml + (generate-plugin.xml "pom.xml" "sisu" + "src/main/java/org/eclipse/sisu/mojos/" + (list (list "IndexMojo.java") + (list "MainIndexMojo.java") + (list "TestIndexMojo.java")))) + (replace 'install + (install-from-pom "pom.xml"))))) + (propagated-inputs (list java-sonatype-oss-parent-pom-9)) + (inputs (list maven-artifact + maven-plugin-api + maven-plugin-annotations + maven-core + maven-common-artifact-filters + java-slf4j-nop + java-eclipse-sisu-inject + java-plexus-utils + java-plexus-build-api + java-slf4j-api)) + (home-page "https://www.eclipse.org/sisu/") + (synopsis "Maven plugin that generates annotation indexes for Sisu") + (description "Maven plugin that generates annotation indexes for Sisu = to +avoid classpath scanning at runtime.") + (license license:epl1.0))) + (define-public maven-artifact-transfer (package (name "maven-artifact-transfer") =2D-=20 2.34.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D Artyom =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmMk6mAZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL7DPB/wNxZByjBYxLlZD9mgrqr0b G1HOJY7aBckKQU/iFve9uNmzgYEo0cXjRcZuXi9S6EDM3I0ef6EPYRGDqFmp2udX 5arVrJ7YVoetDdPYC4BmtjVFUyTo/7Y3SfkIiscD1CbaAPUbXMCrulqClw7C/7NI 3XfoUWSX7XKMWhzu2LiZslfXbbO7wnpU+CZx4A52pDRqWKnsuAFLW20OWvMD+cIp kV8jbRiNQlKyAN8b0Puut5hbIUEPp3QZPF0kOg70vDbmziVXa04Njg11EAFdtj2b NKljGhD4K7V9jcHU0YbuMVQqLchpg1iK+0rbCQ8KQEQPkcSyM0JlPWIQgaZVT7Jb =yp8q -----END PGP SIGNATURE----- --==-=-=--