From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGTu1-0007Rz-Pe for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGTu0-0003lh-P7 for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGTu0-0003lE-KN for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGTu0-0006PX-D1 for guix-patches@gnu.org; Sun, 19 Nov 2017 13:01:08 -0500 Subject: [bug#29359] [PATCH 15/31] gnu: Add java-apache-xml-commons-resolver. Resent-Message-ID: From: Julien Lepiller Date: Sun, 19 Nov 2017 18:57:49 +0100 Message-Id: <20171119175805.902-15-julien@lepiller.eu> In-Reply-To: <20171119175805.902-1-julien@lepiller.eu> References: <20171119175805.902-1-julien@lepiller.eu> 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: 29359@debbugs.gnu.org * gnu/packages/java.scm (java-apache-xml-commons-resolver): New variable. --- gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f1a425418..886a71f23 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7963,3 +7963,32 @@ the Xerces-J XML parser and Xalan-J XSLT processor and specifies these APIs: @item JSR 206 Java API for XML Processing @end itemize") (license license:asl2.0))) + +(define-public java-apache-xml-commons-resolver + (package + (name "java-apache-xml-commons-resolver") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://apache/xerces/xml-commons/" + "xml-commons-resolver-" version ".tar.gz")) + (sha256 + (base32 "1zhy4anc3fg9f8y348bj88vmab15aavrg6nf419ifb25asyygnsm")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file (find-files "." ".*\\.(jar|zip)")) + #t)))) + (build-system ant-build-system) + (arguments + `(#:jar-name (string-append "xml-resolver.jar") + #:tests? #f)); no tests + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "http://xerces.apache.org/xml-commons/") + (synopsis "Xml-related utilities and code") + (description "Xml-commons mainly focuses on providing code and services +to other xml.apache.org projects instead of shipping it's own \"standalone\" +project.") + (license license:asl2.0))) -- 2.15.0