From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uETaIzlntWBUOwAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 00:46:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oFr1HjlntWCkbQAAbx9fmQ (envelope-from ) for ; Mon, 31 May 2021 22:46:17 +0000 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 0D5C328C22 for ; Tue, 1 Jun 2021 00:46:17 +0200 (CEST) Received: from localhost ([::1]:52114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnqfn-0007a9-VB for larch@yhetil.org; Mon, 31 May 2021 18:46:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnqfa-0007YX-Gu for guix-patches@gnu.org; Mon, 31 May 2021 18:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnqfa-0008EN-8r for guix-patches@gnu.org; Mon, 31 May 2021 18:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnqfa-00043T-7A for guix-patches@gnu.org; Mon, 31 May 2021 18:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48766] [PATCH 09/14] gnu: Add java-jopt-simple-4. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 May 2021 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48766@debbugs.gnu.org Received: via spool by 48766-submit@debbugs.gnu.org id=B48766.162250111015494 (code B ref 48766); Mon, 31 May 2021 22:46:02 +0000 Received: (at 48766) by debbugs.gnu.org; 31 May 2021 22:45:10 +0000 Received: from localhost ([127.0.0.1]:35186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnqee-00040q-3O for submit@debbugs.gnu.org; Mon, 31 May 2021 18:45:10 -0400 Received: from lepiller.eu ([89.234.186.109]:38956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnqeJ-0003xU-PN for 48766@debbugs.gnu.org; Mon, 31 May 2021 18:44:45 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e1aeb2d1 for <48766@debbugs.gnu.org>; Mon, 31 May 2021 22:44:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=WzIL0Gem2oIu wdRAOXtLIGAP+Q8lo+zzAFb26Ghkj14=; b=HfxVbAoprgoao0fFllEXY/XvMgD2 Swu5PrxZG/anQPO0lZTW3cSPllrbzd1dcjyU7Fo9b1KkxNz7mRg6kDPIKGU4S9J/ o/n9FEwhtkwmg3BDakCLj8Buj7u+2igo8S+X4Ahd1ixMndMZD4gSPxGdoS5mMG0l 0nFaquhzGqhr+a+OTGmEsKY0v9oycAVySFUfdC6t7gCoS3DCWs7VEmIUljIwvmqj W9nRVoerJBj/K2k0PtUw1WIHp0W6NvTsfWDOHkX+TV36/Y97vWopdavEO9Ewg98G 2LE3emS++HkrTmwiRbI/+FQ8mWHa8x1ZyuKufC2NWCRX/TwAxbs4v88PFQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e189b1fd (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <48766@debbugs.gnu.org>; Mon, 31 May 2021 22:44:39 +0000 (UTC) From: Julien Lepiller Date: Tue, 1 Jun 2021 00:44:22 +0200 Message-Id: <20210531224427.13300-9-julien@lepiller.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531224427.13300-1-julien@lepiller.eu> References: <20210601004100.69baa2d0@tachikoma.lepiller.eu> <20210531224427.13300-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622501177; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=MwMToKI/yGwJY2TcHnhrENK6slsdQXR1LSeEwrnzJuI=; b=HPTvMrH2KpR+uXLIdPzsidGCOzeoUF3RdSFZGyQmHqxeyPY2DGCgiHDfL2CGoKB2EdRtaU UBruZhmxzFqR3oicMkthQXd9+QinMpK96JQMqWL/GE4D+DpmMfxwMtG1qSx+tTOZetjHl0 igIrFWWhn1Lk5oX8tLNtuK1CPtbFz6ezQs14UPZyNim2h4gu6Gescpn5tUuNxvIA5aiQyp aEvmz+5HNwaVrj2Jbmk+v5wsdxlsu+4Z9c5a0elnQi0NhdN9ainijCEYaBjdPxRiP+zQxI OrVJXSKveDGQlXT0gyuJlR8+4IdWCvTgrfINbauEU+eqjhp0npodSruT44D7xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622501177; a=rsa-sha256; cv=none; b=i0Ir3c8o6Np8XzBttsRxnm2X+9axCH7xUfVQsPz3omGOfY1AItOAB5yeCpjyMIDonG/tZu hZ9ITgh2pI9+1YsJbAs2+MjCo25OkRy6vWIPc6zOCWr1NCBu2jJCAHL/5k5UIBHhPEAWKm wPU+W2G/dZUEPZ4s2pzklfN7Hi7DrkuuHi8uCl1HthpOXeaJ0lc21kMxBWnUcWyct+soyP 63FHicjrWukL4/OrTUStTnj1K6JM90qfvlgVIY7TvrGMSEE1nc1G1j4b5i1XPiDN2FfVwG +4WthOVPLk6c5TCCKVes+VaE30AQztZHAdCPLKZ37Y3limWenpaP7AN4zSsgvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HfxVbAop; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HfxVbAop; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0D5C328C22 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: EhUPLI1+yy9c * gnu/packges/java.scm (java-jopt-simple-4): New variable. (java-jopt-simple): Install to maven repository structure. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d7118b4ce6..14d02af512 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016, 2017 Roel Janssen ;;; Copyright © 2017, 2019, 2021 Carlo Zancanaro -;;; Copyright © 2017-2020 Julien Lepiller +;;; Copyright © 2017-2021 Julien Lepiller ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2016, 2017, 2018 Alex Vong ;;; Copyright © 2017, 2019, 2021 Tobias Geerinckx-Rice @@ -5715,7 +5715,13 @@ The jMock library (build-system ant-build-system) (arguments `(#:tests? #f ; there are no tests - #:jar-name "jopt-simple.jar")) + #:jar-name "jopt-simple.jar" + #:phases + (modify-phases %standard-phases + (add-before 'install 'create-pom + (generate-pom.xml "pom.xml" "net.sf.jopt-simple" "jopt-simple" ,version)) + (replace 'install + (install-from-pom "pom.xml"))))) (home-page "https://pholser.github.io/jopt-simple/") (synopsis "Java library for parsing command line options") (description "JOpt Simple is a Java library for parsing command line @@ -5727,6 +5733,28 @@ retrieval of options and their arguments simple and expressive, without being overly clever.") (license license:expat))) +;; Required by jmh +(define-public java-jopt-simple-4 + (package + (inherit java-jopt-simple) + (version "4.6") + (source (origin + (method url-fetch) + (uri (string-append "https://repo1.maven.org/maven2/" + "net/sf/jopt-simple/jopt-simple/" + version "/jopt-simple-" + version "-sources.jar")) + (sha256 + (base32 + "0ny82zczxkn201ld0b7rps0ifzjhfs8m1ncdmy1f50145ciszkpd")))) + (arguments + (substitute-keyword-arguments (package-arguments java-jopt-simple) + ((#:phases phases) + `(modify-phases ,phases + (replace 'create-pom + (generate-pom.xml "pom.xml" "net.sf.jopt-simple" "jopt-simple" + ,version)))))))) + (define-public java-commons-math3 (package (name "java-commons-math3") -- 2.31.1