From 0b54e190abad251e877a7b371e7e7d3142e7b633 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 5 Nov 2017 17:43:59 +0100 Subject: gnu: Add java-jdom. * gnu/packages/java.scm (java-jdom): New variable. --- gnu/packages/java.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 9f8e504a8d..befc8a217e 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7227,3 +7227,28 @@ protocol-independent framework to build mail and messaging applications.") ;; Either cddl or gpl2 only. (license (list license:cddl1.1; actually cddl1.1 license:gpl2)))); with classpath exception + +(define-public java-jdom + (package + (name "java-jdom") + (version "1.1.3") + (source (origin + (method url-fetch) + (uri (string-append "http://jdom.org/dist/binary/archive/jdom-" + version ".tar.gz")) + (sha256 + (base32 + "07wdpm3jwwc9q38kmdw40fvbmv6jzjrkrf8m0zqs58f79a672wfl")))) + (build-system ant-build-system) + (arguments + `(#:build-target "package" + #:tests? #f; tests are run as part of the build process + #:phases + (modify-phases %standard-phases + (replace 'install + (install-jars "build"))))) + (home-page "http://jdom.org/") + (synopsis "Access, manipulate, and output XML data") + (description "Java-based solution for accessing, manipulating, and +outputting XML data from Java code.") + (license license:bsd-4))) -- cgit v1.2.3