From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33036) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlffo-0005qD-2L for guix-patches@gnu.org; Thu, 11 Jul 2019 16:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlffl-00066z-RW for guix-patches@gnu.org; Thu, 11 Jul 2019 16:28:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlffj-00062x-DD for guix-patches@gnu.org; Thu, 11 Jul 2019 16:28:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlffj-0006zR-7h for guix-patches@gnu.org; Thu, 11 Jul 2019 16:28:07 -0400 Subject: [bug#36605] [PATCH 04/12] gnu: Add java-plexus-utils. Resent-Message-ID: From: Hartmut Goebel Date: Thu, 11 Jul 2019 22:26:26 +0200 Message-Id: <20190711202644.32014-18-h.goebel@crazy-compilers.com> In-Reply-To: <20190711202644.32014-1-h.goebel@crazy-compilers.com> References: <58494E16.9010909@crazy-compilers.com> <20190711202644.32014-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36605@debbugs.gnu.org * gnu/packages/java.scm (codehaus-plexus-url): New function. (java-plexus-utils): New variable. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e8d09dd..0dfd9fa 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1256,3 +1256,35 @@ testing frameworks, mocking libraries and UI validation rules.") JUnit provides assertions for testing expected results, test fixtures for sharing common test data, and test runners for running tests.") (license license:epl1.0))) + +; +; codehaus plexus +; + +(define* (codehaus-plexus-url projname version) + (let ((projname (string-append "plexus-" projname))) + (string-append "https://github.com/codehaus-plexus/" projname + "/archive/" projname "-" version ".tar.gz"))) + +(define-public java-plexus-utils + (package + (name "java-plexus-utils") + (version "3.0.24") + (source (origin + (method url-fetch) + (uri (codehaus-plexus-url "utils" version)) + (sha256 + (base32 "1mlwpc6fms24slygv5yvi6fi9hcha2fh0v73p5znpi78bg36i2js")))) + (build-system ant-build-system) + ; todo: javadoc + (arguments + `(#:tests? #f ; todo: tests + #:jar-name (string-append "plexus-utils-" ,version ".jar") + #:src-dir "src/main")) + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "http://codehaus-plexus.github.io/plexus-utils/") + (synopsis "Common utilities for the Plexus framework") + (description "Various Java utility classes to ease working with strings, +files, command lines, XML and more.") + (license license:asl2.0))) -- 2.7.4