From 59e0021cc79b577daaf0f23a9f0b93e166400261 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 13 Dec 2017 21:18:50 +0100 Subject: gnu: java-powermock-core: Include resources. * gnu/packages/java.scm (java-powermock-core)[arguments]: Add a phase to include resources. --- gnu/packages/java.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 8dd6356058..c05e4c3fab 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7418,7 +7418,13 @@ done to the IDE or continuous integration servers which simplifies adoption.") #:source-dir "powermock-core/src/main/java" #:test-dir "powermock-core/src/test" #:tests? #f; requires powermock-api - #:jdk ,icedtea-8)) + #:jdk ,icedtea-8 + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-resources + (lambda _ + (copy-recursively "powermock-core/src/main/resources" + "build/classes")))))) (inputs `(("reflect" ,java-powermock-reflect) ("javassist" ,java-jboss-javassist))) -- cgit v1.3 From 1124683d8cfddf7869c52ff2a4e4fb402a36ac88 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 13 Dec 2017 21:20:30 +0100 Subject: gnu: java-powermock-modules-junit4: Fix junit version detection. * gnu/packages/java.scm (java-powermock-modules-junit4)[arguments]: Fix junit version detection. --- gnu/packages/java.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index c05e4c3fab..598249aa8c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7473,7 +7473,15 @@ done to the IDE or continuous integration servers which simplifies adoption.") `(#:jar-name "java-powermock-modules-junit4.jar" #:jdk ,icedtea-8 #:source-dir "powermock-modules/powermock-module-junit4/src/main/java" - #:test-dir "powermock-modules/powermock-module-junit4/src/test")) + #:test-dir "powermock-modules/powermock-module-junit4/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'fix-junit-detection + (lambda _ + ;; Our junit version is 4.12-SNAPSHOT + (substitute* (find-files "powermock-modules/powermock-module-junit4" + "PowerMockJUnit4MethodValidator.java") + (("4.12") "4.12-SNAPSHOT"))))))) (inputs `(("core" ,java-powermock-core) ("reflect" ,java-powermock-reflect) -- cgit v1.3 From c353d0140e2f20fd75c8dc97fe65411337fb259a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 16 Jan 2018 01:54:03 +0100 Subject: gnu: java: Use HTTPS for osgi.org home pages. * gnu/packages/java.scm (java-osgi-annotation, java-osgi-core) (java-osgi-service-event, java-osgi-cmpn) (java-osgi-service-component-annotations, java-osgi-dto, java-osgi-resource) (java-osgi-namespace-contract, java-osgi-namespace-extender) (java-osgi-namespace-service, java-osgi-util-function) (java-osgi-util-promise, java-osgi-service-metatype-annotations) (java-osgi-service-repository, java-osgi-framework, java-osgi-service-log) (java-osgi-service-jdbc, java-osgi-service-resolver, java-osgi-util-tracker) (java-osgi-service-cm, java-osgi-service-packageadmin)[home-page]: Use HTTPS. --- gnu/packages/java.scm | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 598249aa8c..32d3a287d8 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -3841,7 +3841,7 @@ Custom formats can be created using a fluent style API.") (arguments `(#:tests? #f ; no tests #:jar-name "osgi-annotation.jar")) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Annotation module of OSGi framework") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -3868,7 +3868,7 @@ components.") #:jar-name "osgi-core.jar")) (inputs `(("java-osgi-annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Core module of OSGi framework") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -3896,7 +3896,7 @@ the OSGi Core module.") (inputs `(("java-osgi-annotation" ,java-osgi-annotation) ("java-osgi-core" ,java-osgi-core))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGi service event module") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5350,7 +5350,7 @@ used to generate this API.") ("java-datanucleus-javax-persistence" ,java-datanucleus-javax-persistence) ("microemulator" ,java-microemulator-cldc) ("servlet" ,java-classpathx-servletapi))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Compendium specification module of OSGi framework") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5378,7 +5378,7 @@ in compiling bundles.") #:tests? #f)); no tests (inputs `(("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Support annotations for osgi-service-component") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5404,7 +5404,7 @@ the support annotations for osgi-service-component.") #:tests? #f)); no tests (inputs `(("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Data Transfer Objects") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5435,7 +5435,7 @@ objects of the listed types or aggregates.") (inputs `(("annotation" ,java-osgi-annotation) ("dto" ,java-osgi-dto))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI Resource") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5463,7 +5463,7 @@ the definition of common types in osgi packages.") (arguments `(#:jar-name "osgi-namespace-contract.jar" #:tests? #f)); no tests - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Contract Capability and Requirement Namespace") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5491,7 +5491,7 @@ the names for the attributes and directives for a namespace with contracts.") (arguments `(#:jar-name "osgi-namespace-extendent.jar" #:tests? #f)); no tests - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Extender Capability and Requirement Namespace") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5519,7 +5519,7 @@ the names for the attributes and directives for an extender namespace.") (arguments `(#:jar-name "osgi-namespace-service.jar" #:tests? #f)); no tests - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Service Capability and Requirement Namespace") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5546,7 +5546,7 @@ the names for the attributes and directives for a service namespace.") #:tests? #f)); no tests (inputs `(("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI Util Function") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5574,7 +5574,7 @@ an interface for a function that accepts a single argument and produces a result (inputs `(("annotation" ,java-osgi-annotation) ("function" ,java-osgi-util-function))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Promise of a value") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5602,7 +5602,7 @@ value. It handles the interactions for asynchronous processing.") #:tests? #f)); no tests (inputs `(("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Support annotations for metatype") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5631,7 +5631,7 @@ the support annotations for metatype.") `(("annotation" ,java-osgi-annotation) ("promise" ,java-osgi-util-promise) ("resource" ,java-osgi-resource))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI service repository") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5659,7 +5659,7 @@ a repository service that contains resources.") `(("annotation" ,java-osgi-annotation) ("resource" ,java-osgi-resource) ("dto" ,java-osgi-dto))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGi framework") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5685,7 +5685,7 @@ and service platform for the Java programming language.") #:tests? #f)); no tests (inputs `(("java-osgi-framework" ,java-osgi-framework))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Provides methods for bundles to write messages to the log") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5710,7 +5710,7 @@ the log service.") (arguments `(#:jar-name "osgi-service-jdbc.jar" #:tests? #f)); no tests - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Factory for JDBC connection factories") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5745,7 +5745,7 @@ factories for getting JDBC connections: (inputs `(("annotation" ,java-osgi-annotation) ("resource" ,java-osgi-resource))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI Resolver service") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5774,7 +5774,7 @@ by the caller.") (inputs `(("framework" ,java-osgi-framework) ("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "Bundle tracking") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5802,7 +5802,7 @@ bundle tracking utility classes.") (inputs `(("framework" ,java-osgi-framework) ("annotation" ,java-osgi-annotation))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI Configuration Management") (description "OSGi, for Open Services Gateway initiative framework, is a module system @@ -5829,7 +5829,7 @@ utility classes for the configuration of services.") #:tests? #f)); no tests (inputs `(("framework" ,java-osgi-framework))) - (home-page "http://www.osgi.org") + (home-page "https://www.osgi.org") (synopsis "OSGI Package Administration") (description "OSGi, for Open Services Gateway initiative framework, is a module system -- cgit v1.3 From 1d47ea86ff2fca7d34908501ec3232a68ea4c7d9 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Mon, 15 Jan 2018 22:52:59 +0800 Subject: gnu: clojure: Update to 1.9.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/java.scm (clojure): Update to 1.9.0. Add "core-specs-alpha-src" and "spec-alpha-src". Remove "java-classpath-src" and "tools-reader-src". Signed-off-by: Ludovic Courtès --- gnu/packages/java.scm | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 32d3a287d8..e2a0f75f76 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2017 Carlo Zancanaro ;;; Copyright © 2017 Julien Lepiller ;;; Copyright © 2017 Thomas Danckaert -;;; Copyright © 2016, 2017 Alex Vong +;;; Copyright © 2016, 2017, 2018 Alex Vong ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -1833,15 +1833,15 @@ IcedTea build harness.") (snippet remove-archives))))) (package (name "clojure") - (version "1.8.0") + (version "1.9.0") (source (origin (method url-fetch) (uri - (string-append "http://repo1.maven.org/maven2/org/clojure/clojure/" - version "/clojure-" version ".zip")) + (string-append "https://github.com/clojure/clojure/archive/clojure-" + version ".tar.gz")) (sha256 - (base32 "1nip095fz5c492sw15skril60i1vd21ibg6szin4jcvyy3xr6cym")) + (base32 "0xjbzcw45z32vsn9pifp7ndysjzqswp5ig0jkjpivigh2ckkdzha")) (modules '((guix build utils))) (snippet remove-archives))) (build-system ant-build-system) @@ -1871,12 +1871,12 @@ IcedTea build harness.") (error "failed to unpack tarball" name))) (copy-recursively (string-append name "/src/main/clojure/") "src/clj/")) - '("data-generators-src" - "java-classpath-src" + '("core-specs-alpha-src" + "data-generators-src" + "spec-alpha-src" "test-check-src" "test-generative-src" - "tools-namespace-src" - "tools-reader-src")) + "tools-namespace-src")) #t)) ;; The javadoc target is not built by default. (add-after 'build 'build-doc @@ -1908,14 +1908,18 @@ IcedTea build harness.") #t)))))) ;; The native-inputs below are needed to run the tests. (native-inputs - `(("data-generators-src" + `(("core-specs-alpha-src" + ,(submodule "core.specs.alpha/archive/core.specs.alpha-" + "0.1.24" + "0v2a0svf1ar2y42ajxwsjr7zmm5j7pp2zwrd2jh3k7xzd1p9x1fv")) + ("data-generators-src" ,(submodule "data.generators/archive/data.generators-" "0.1.2" "0kki093jp4ckwxzfnw8ylflrfqs8b1i1wi9iapmwcsy328dmgzp1")) - ("java-classpath-src" - ,(submodule "java.classpath/archive/java.classpath-" - "0.2.3" - "0sjymly9xh1lkvwn5ygygpsfwz4dabblnlq0c9bx76rkvq62fyng")) + ("spec-alpha-src" + ,(submodule "spec.alpha/archive/spec.alpha-" + "0.1.143" + "00alf0347licdn773w2jarpllyrbl52qz4d8mw61anjksacxylzz")) ("test-check-src" ,(submodule "test.check/archive/test.check-" "0.9.0" @@ -1927,11 +1931,7 @@ IcedTea build harness.") ("tools-namespace-src" ,(submodule "tools.namespace/archive/tools.namespace-" "0.2.11" - "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")) - ("tools-reader-src" - ,(submodule "tools.reader/archive/tools.reader-" - "1.0.0" - "1lafblmmj4hkg0aqrf19qkdw9wdcsh3qxmn6cbkmnzbhffpyv2lv")))) + "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")))) (home-page "https://clojure.org/") (synopsis "Lisp dialect running on the JVM") (description "Clojure is a dynamic, general-purpose programming language, -- cgit v1.3 From d0e9ded713e06790aad4992de7c26d075d18b86d Mon Sep 17 00:00:00 2001 From: Gábor Boskovits Date: Sun, 7 Jan 2018 22:23:56 +0100 Subject: gnu: java-asm: Update to 6.0. * gnu/packages/java.scm (java-asm): Update to 6.0. [propagated-inputs]: Add java-aqute-bndlib. [arguments]: Adjust #:make-flags accordingly. Co-authored-by: Chris Marusich --- gnu/packages/java.scm | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d8c2c325bc..2724f0f20a 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7,6 +7,8 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2016, 2017, 2018 Alex Vong ;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2018 Gábor Boskovits +;;; Copyright © 2018 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -2660,23 +2662,31 @@ archives (jar).") (define-public java-asm (package (name "java-asm") - (version "5.2") + (version "6.0") (source (origin (method url-fetch) (uri (string-append "http://download.forge.ow2.org/asm/" "asm-" version ".tar.gz")) (sha256 (base32 - "0kxvmv5275rnjl7jv0442k3wjnq03ngkb7sghs78avf45pzm4qgr")))) + "115l5pqblirdkmzi32dxx7gbcm4jy0s14y5wircr6h8jdr9aix00")))) (build-system ant-build-system) + (propagated-inputs + `(("java-aqute-bndlib" ,java-aqute-bndlib))) (arguments `(#:build-target "compile" ;; The tests require an old version of Janino, which no longer compiles ;; with the JDK7. #:tests? #f - ;; We don't need these extra ant tasks, but the build system asks us to - ;; provide a path anyway. - #:make-flags (list (string-append "-Dobjectweb.ant.tasks.path=foo")) + #:make-flags + (list + ;; We don't need these extra ant tasks, but the build system asks us to + ;; provide a path anyway. + "-Dobjectweb.ant.tasks.path=dummy-path" + ;; The java-aqute.bndlib JAR file will be put onto the classpath and + ;; used during the build automatically by ant-build-system, but + ;; java-asm's build.xml fails unless we provide something here. + "-Dbiz.aQute.bnd.path=dummy-path") #:phases (modify-phases %standard-phases (add-before 'install 'build-jars -- cgit v1.3 From 799c3c868f6d06b032ab200ab387d761a97e61c5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Feb 2018 23:11:07 +0100 Subject: gnu: sablevm: Fix broken build. * gnu/packages/java.scm (sablevm)[arguments]: Change threading type. --- gnu/packages/java.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 2724f0f20a..46d920e285 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016, 2017 Roel Janssen ;;; Copyright © 2017 Carlo Zancanaro @@ -169,7 +169,8 @@ This package provides the classpath library.") (build-system gnu-build-system) (arguments `(#:configure-flags - (list "--with-internal-libffi=no" + (list "--with-threading=switch" ; slower but prevents segfault + "--with-internal-libffi=no" "--with-internal-libpopt=no") #:phases (modify-phases %standard-phases -- cgit v1.3 From 09c44196e10e7f619715fcc2beb7a1e67239638e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 14:28:13 +0100 Subject: gnu: Add java-gson. * gnu/packages/java.scm (java-gson): New variable. --- gnu/packages/java.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e2a0f75f76..20d32bdf1f 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7761,3 +7761,30 @@ outputting XML data from Java code.") (description "Xbean-reflect provides very flexible ways to create objects and graphs of objects for dependency injection frameworks") (license license:asl2.0))) + +(define-public java-gson + (package + (name "java-gson") + (version "2.8.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/google/gson/archive/" + "gson-parent-" version ".tar.gz")) + (sha256 + (base32 + "1j4qnp7v046q0k48c4kyf69sxaasx2h949d3cqwsm3kzxms3x0f9")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "gson.jar" + #:source-dir "gson/src/main/java" + #:test-dir "gson/src/test")) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "https://github.com/google/gson") + (synopsis "Java serialization/deserialization library from/to JSON") + (description "Gson is a Java library that can be used to convert Java +Objects into their JSON representation. It can also be used to convert a JSON +string to an equivalent Java object. Gson can work with arbitrary Java objects +including pre-existing objects that you do not have source-code of.") + (license license:asl2.0))) -- cgit v1.3 From 3fda539bb407779ad0169213ad845d68dc8c5efd Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 15:01:23 +0100 Subject: gnu: Add java-geronimo-xbean-bundleutils. * gnu/packages/java.scm (java-geronimo-xbean-bundleutils): New variable. --- gnu/packages/java.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 20d32bdf1f..a667a40afd 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7762,6 +7762,45 @@ outputting XML data from Java code.") and graphs of objects for dependency injection frameworks") (license license:asl2.0))) +(define-public java-geronimo-xbean-bundleutils + (package + (inherit java-geronimo-xbean-reflect) + (name "java-geronimo-xbean-bundleutils") + (arguments + `(#:jar-name "geronimo-xbean-bundleutils.jar" + #:source-dir "xbean-bundleutils/src/main/java" + #:test-dir "xbean-bundleutils/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'fix-java + (lambda _ + ;; We use a more recent version of osgi, so this file requires + ;; more interface method implementations. + (substitute* "xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/DelegatingBundleContext.java" + (("import org.osgi.framework.ServiceRegistration;") + "import org.osgi.framework.ServiceRegistration; +import org.osgi.framework.ServiceFactory; +import java.util.Collection; +import org.osgi.framework.ServiceObjects;") + (("public Bundle getBundle\\(\\)") + "@Override +public ServiceObjects getServiceObjects(ServiceReference reference) { + throw new UnsupportedOperationException(); +} +@Override +public ServiceRegistration registerService(Class clazz, + ServiceFactory factory, Dictionary properties) { + throw new UnsupportedOperationException(); +} +public Bundle getBundle()")) + #t))))) + (inputs + `(("java-slf4j" ,java-slf4j-api) + ("java-asm" ,java-asm) + ("java-osgi-framework" ,java-osgi-framework) + ("java-eclipse-osgi" ,java-eclipse-osgi) + ("java-osgi-service-packageadmin" ,java-osgi-service-packageadmin))))) + (define-public java-gson (package (name "java-gson") -- cgit v1.3 From 0cb9ce32c78b7298208a405c8d613ec5dfc99dc3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 17:03:17 +0100 Subject: gnu: Add java-geronimo-xbean-asm-util. * gnu/packages/java.scm (java-geronimo-xbean-asm-util): New variable. --- gnu/packages/java.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index a667a40afd..30e0115c6e 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7800,6 +7800,18 @@ public Bundle getBundle()")) ("java-osgi-framework" ,java-osgi-framework) ("java-eclipse-osgi" ,java-eclipse-osgi) ("java-osgi-service-packageadmin" ,java-osgi-service-packageadmin))))) + +(define-public java-geronimo-xbean-asm-util + (package + (inherit java-geronimo-xbean-reflect) + (name "java-geronimo-xbean-asm-util") + (arguments + `(#:jar-name "geronimo-xbean-asm-util.jar" + #:source-dir "xbean-asm-util/src/main/java" + #:tests? #f)); no tests + (inputs + `(("java-asm" ,java-asm))) + (native-inputs '()))) (define-public java-gson (package -- cgit v1.3 From 8d510f65ec9aece40262653b0fc0fd3b480bd149 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 17:09:14 +0100 Subject: gnu: Add java-geronimo-xbean-finder. * gnu/packages/java.scm (java-geronimo-xbean-finder): New variable. --- gnu/packages/java.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 30e0115c6e..0a5604b63f 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7812,6 +7812,25 @@ public Bundle getBundle()")) (inputs `(("java-asm" ,java-asm))) (native-inputs '()))) + +(define-public java-geronimo-xbean-finder + (package + (inherit java-geronimo-xbean-reflect) + (name "java-geronimo-xbean-finder") + (arguments + `(#:jar-name "geronimo-xbean-finder.jar" + #:source-dir "xbean-finder/src/main/java" + #:test-dir "xbean-finder/src/test")) + (inputs + `(("java-slf4j-api" ,java-slf4j-api) + ("java-asm" ,java-asm) + ("java-geronimo-xbean-bundleutils" ,java-geronimo-xbean-bundleutils) + ("java-geronimo-xbean-asm-util" ,java-geronimo-xbean-asm-util) + ("java-osgi-service-packageadmin" ,java-osgi-service-packageadmin) + ("java-osgi-framework" ,java-osgi-framework))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))))) (define-public java-gson (package -- cgit v1.3 From 335aa20b96fb18689f3dc10406b9b7c8926e2e03 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 17:09:49 +0100 Subject: gnu: Add java-hawtjni. * gnu/packages/java.scm (java-hawtjni): New variable. --- gnu/packages/java.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 0a5604b63f..ca8be38081 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7858,3 +7858,55 @@ Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.") (license license:asl2.0))) + +(define-public java-hawtjni + (package + (name "java-hawtjni") + (version "1.15") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/fusesource/hawtjni/archive/" + "hawtjni-project-" version ".tar.gz")) + (sha256 + (base32 + "1bqfd732rmh6svyx17fpw9175gc9gzkcbyps2yyrf50c3zzjas6g")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "hawtjni.jar" + #:source-dir "hawtjni-generator/src/main/java:hawtjni-runtime/src/main/java" + #:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-native + (lambda* (#:key inputs #:allow-other-keys) + (with-directory-excursion "hawtjni-generator/src/main/resources/" + (and + (system* "gcc" "-c" "hawtjni.c" "-o" "hawtjni.o" + "-fPIC" "-O2" + (string-append "-I" (assoc-ref inputs "jdk") "/include/linux")) + (system* "gcc" "-c" "hawtjni-callback.c" "-o" "hawtjni-callback.o" + "-fPIC" "-O2" + (string-append "-I" (assoc-ref inputs "jdk") "/include/linux")) + (system* "gcc" "-o" "libhawtjni.so" "-shared" + "hawtjni.o" "hawtjni-callback.o"))))) + (add-after 'install 'install-native + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib")) + (inc (string-append out "/include"))) + (mkdir-p lib) + (mkdir-p inc) + (with-directory-excursion "hawtjni-generator/src/main/resources/" + (copy-file "libhawtjni.so" (string-append lib "/libhawtjni.so")) + (copy-file "hawtjni.h" (string-append inc "/hawtjni.h")))) + #t))))) + (inputs + `(("java-commons-cli" ,java-commons-cli) + ("java-asm" ,java-asm) + ("java-geronimo-xbean-finder" ,java-geronimo-xbean-finder))) + (home-page "https://fusesource.github.io/hawtjni/") + (synopsis "JNI code generator") + (description "HawtJNI is a code generator that produces the JNI code needed +to implement Java native methods. It is based on the jnigen code generator +that is part of the SWT Tools project.") + (license license:asl2.0))) -- cgit v1.3 From d0c62afa8cad5e4e63b9746b4bea18922f1595bd Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 17:35:36 +0100 Subject: gnu: Add java-jansi-native. * gnu/packages/java.scm (java-jansi-native): New variable. --- gnu/packages/java.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ca8be38081..1d4e18b72e 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7910,3 +7910,59 @@ including pre-existing objects that you do not have source-code of.") to implement Java native methods. It is based on the jnigen code generator that is part of the SWT Tools project.") (license license:asl2.0))) + +(define-public java-jansi-native + (package + (name "java-jansi-native") + (version "1.7") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/fusesource/jansi-native/" + "archive/jansi-native-" version ".tar.gz")) + (sha256 + (base32 + "0j2ydlgxbzbgshqkwghbxxxnbnx1mmjgd6k5fw6xfvxw1z956yqf")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "jansi-native.jar" + #:source-dir "src/main/java" + #:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (add-before 'build 'build-native + (lambda* (#:key inputs #:allow-other-keys) + ;; there are more required files for windows in windows/ + (with-directory-excursion "src/main/native-package/src" + (substitute* "jansi_ttyname.c" + (("#include \"jansi_.*") "")) + (and + (system* "gcc" "-c" "jansi_ttyname.c" "-o" "jansi_ttyname.o" + (string-append "-I" (assoc-ref inputs "java-hawtjni") + "/include") + (string-append "-I" (assoc-ref inputs "jdk") + "/include/linux") + "-fPIC" "-O2") + (system* "gcc" "-o" "libjansi.so" "-shared" "jansi_ttyname.o"))))) + (add-before 'build 'install-native + (lambda _ + (let ((dir (string-append "build/classes/META-INF/native/" + ,(match (%current-system) + ((or "i686-linux" "armhf-linux") + "linux32") + ((or "x86_64-linux" "aarch64-linux") + "linux64"))))) + (install-file "src/main/native-package/src/libjansi.so" dir)) + #t)) + (add-after 'install 'install-native + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref outputs "out") "/include")) + (install-file "src/main/native-package/src/jansi.h" + (string-append (assoc-ref outputs "out") "/include")) + #t))))) + (inputs + `(("java-hawtjni" ,java-hawtjni))) + (home-page "https://fusesource.github.io/jansi/") + (synopsis "Native library for jansi") + (description "Java-jansi-native contains the native library for the jansi +frobnication library/framework.") + (license license:asl2.0))) -- cgit v1.3 From a87ea1adcb86045abd25cec712a6a24223500a14 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 18:54:09 +0100 Subject: gnu: Add java-jansi. * gnu/packages/java.scm (java-jansi): New variable. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1d4e18b72e..650abec673 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7966,3 +7966,35 @@ that is part of the SWT Tools project.") (description "Java-jansi-native contains the native library for the jansi frobnication library/framework.") (license license:asl2.0))) + +(define-public java-jansi + (package + (name "java-jansi") + (version "1.16") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/fusesource/jansi/archive/" + "jansi-project-" version ".tar.gz")) + (sha256 + (base32 + "11kh3144i3fzp21dpy8zg52mjmsr214k7km9p8ly0rqk2px0qq2z")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "jansi.jar" + #:source-dir "jansi/src/main/java" + #:test-dir "jansi/src/test" + #:phases + (modify-phases %standard-phases + (add-after 'check 'clear-term + (lambda _ + (zero? (system* "echo" "-e" "\\e[0m"))))))) + (inputs + `(("java-jansi-native" ,java-jansi-native))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "https://fusesource.github.io/jansi/") + (synopsis "Portable ANSI escape sequences") + (description "Jansi is a Java library that allows you to use ANSI escape +sequences to format your console output which works on every platform.") + (license license:asl2.0))) -- cgit v1.3 From cc0613295744640b56e7ecaf2fe30e8bed638fc9 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 19:04:35 +0100 Subject: gnu: Add java-jboss-el-api-spec. * gnu/packages/java.scm (java-jboss-el-api-spec): New variable. --- gnu/packages/java.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 650abec673..8a542789bf 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7998,3 +7998,30 @@ frobnication library/framework.") (description "Jansi is a Java library that allows you to use ANSI escape sequences to format your console output which works on every platform.") (license license:asl2.0))) + +(define-public java-jboss-el-api-spec + (package + (name "java-jboss-el-api-spec") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jboss/jboss-el-api_spec/" + "archive/jboss-el-api_" version + "_spec-1.0.7.Final.tar.gz")) + (sha256 + (base32 + "1j45ljxalwlibxl7g7iv952sjxkw275m8vyxxij8l6wdd5pf0pdh")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-jboss-el-api_spec.jar" + #:jdk ,icedtea-8)) + (inputs + `(("java-junit" ,java-junit))) + (home-page "https://github.com/jboss/jboss-el-api_spec") + (synopsis "JSR-341 expression language 3.0 API") + (description "This package contains an implementation of the JSR-341 +specification for the expression language 3.0. It implements an expression +language inspired by ECMAScript and XPath. This language is used with +JavaServer Pages (JSP).") + ;; Either GPL2 only or CDDL. + (license (list license:gpl2 license:cddl1.1)))) -- cgit v1.3 From cc03a786eee342a7511b13ef908349d995c2dde6 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Feb 2018 16:26:17 +0100 Subject: gnu: Add java-jboss-interceptors-api-spec. * gnu/packages/java.scm (java-jboss-interceptors-api-spec): New variable. --- gnu/packages/java.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 8a542789bf..b235d16659 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8025,3 +8025,29 @@ language inspired by ECMAScript and XPath. This language is used with JavaServer Pages (JSP).") ;; Either GPL2 only or CDDL. (license (list license:gpl2 license:cddl1.1)))) + +(define-public java-jboss-interceptors-api-spec + (package + (name "java-jboss-interceptors-api-spec") + (version "1.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jboss/jboss-interceptors-api_spec/" + "archive/jboss-interceptors-api_" version + "_spec-1.0.0.Final.tar.gz")) + (sha256 + (base32 + "0wv8x0jp9a5qxlrgkhb5jdk2gr6vi87b4j4kjb8ryxiy9gn8g51z")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-jboss-interceptors-api_spec.jar" + #:jdk ,icedtea-8 + #:source-dir "." + #:tests? #f)); no tests + (home-page "https://github.com/jboss/jboss-interceptors-api_spec") + (synopsis "Interceptors 1.2 API classes from JSR 318") + (description "Java-jboss-interceptors-api-spec implements the Interceptors +API. Interceptors are used to interpose on business method invocations and +specific events.") + ;; Either GPL2 only or CDDL. + (license (list license:gpl2 license:cddl1.1)))) -- cgit v1.3 From a10a451c20c5396bcac811c17428abe998708e1d Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Feb 2018 16:50:59 +0100 Subject: gnu: Add java-cdi-api. * gnu/packages/java.scm (java-cdi-api): New variable. --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b235d16659..b5bbb1cfae 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8051,3 +8051,35 @@ API. Interceptors are used to interpose on business method invocations and specific events.") ;; Either GPL2 only or CDDL. (license (list license:gpl2 license:cddl1.1)))) + +(define-public java-cdi-api + (package + (name "java-cdi-api") + (version "2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/cdi-spec/cdi/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1iv8b8bp07c5kmqic14jsr868vycjv4qv02lf3pkgp9z21mnfg5y")))) + (build-system ant-build-system) + (arguments + `(#:source-dir "api/src/main/java" + #:jar-name "java-cdi-api.jar" + #:test-dir "api/src/test" + #:jdk ,icedtea-8 + #:tests? #f)); Tests fail because we don't have a CDI provider yet + (inputs + `(("java-javax-inject" ,java-javax-inject) + ("java-jboss-el-api-spec" ,java-jboss-el-api-spec) + ("java-jboss-interceptors-api-spec" ,java-jboss-interceptors-api-spec))) + (native-inputs + `(("java-testng" ,java-testng) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "http://cdi-spec.org/") + (synopsis "Contexts and Dependency Injection APIs") + (description "Java-cdi-api contains the required APIs for Contexts and +Dependency Injection (CDI).") + (license license:asl2.0))) -- cgit v1.3 From d57fd728d7df0c992d5f0420fbd61eea9150d705 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 21:13:52 +0100 Subject: gnu: Add java-joda-convert. * gnu/packages/java.scm (java-joda-convert): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b5bbb1cfae..e73cd3de52 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8083,3 +8083,34 @@ specific events.") (description "Java-cdi-api contains the required APIs for Contexts and Dependency Injection (CDI).") (license license:asl2.0))) + +(define-public java-joda-convert + (package + (name "java-joda-convert") + (version "1.9.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/JodaOrg/joda-convert/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vp346xz7dh9br4q7xazhc7hvzf76a6hf95fki9bg67q5jr0kjh7")))) + (build-system ant-build-system) + (arguments + `(#:jar-name (string-append ,name "-" ,version ".jar") + #:source-dir "src/main/java" + #:test-include (list "**/Test*.java") + ;; Contains only interfaces and base classes (no test) + #:test-exclude (list "**/test*/**.java"))) + (inputs + `(("java-guava" ,java-guava))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "http://www.joda.org/joda-convert/") + (synopsis "Conversion between Objects and Strings") + (description "Joda-Convert provides a small set of classes to aid +conversion between Objects and Strings. It is not intended to tackle the +wider problem of Object to Object transformation.") + (license license:asl2.0))) -- cgit v1.3 From 0158ea8a82bf60555665addc17dc8895bf4efe36 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 21:48:44 +0100 Subject: gnu: Add java-joda-time. * gnu/packages/java.scm (java-joda-time): New variable. --- gnu/packages/java.scm | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e73cd3de52..0c8c2abdd9 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8114,3 +8114,67 @@ Dependency Injection (CDI).") conversion between Objects and Strings. It is not intended to tackle the wider problem of Object to Object transformation.") (license license:asl2.0))) + +(define-public java-joda-time + (package + (name "java-joda-time") + (version "2.9.9") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/JodaOrg/joda-time/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i9x91mi7yg2pasl0k3912f1pg46n37sps6rdb0v1gs8hj9ppwc1")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-joda-time.jar" + #:source-dir "src/main/java" + #:test-include (list "**/Test*.java") + ;; There is no runnable test in these files + #:test-exclude (list "**/Test*Chronology.java" "**/Test*Field.java") + #:phases + (modify-phases %standard-phases + (add-after 'build 'build-resources + (lambda _ + (mkdir-p "build/classes/org/joda/time/tz/data") + (mkdir-p "build/classes/org/joda/time/format") + ;; This will produce an exception, but it's all right. + (zero? (system* "java" "-cp" + (string-append "build/classes:" (getenv "CLASSPATH")) + "org.joda.time.tz.ZoneInfoCompiler" + "-src" "src/main/java/org/joda/time/tz/src" + "-dst" "build/classes/org/joda/time/tz/data" + "africa" "antarctica" "asia" "australasia" + "europe" "northamerica" "southamerica" + "pacificnew" "etcetera" "backward" "systemv")) + (for-each (lambda (f) + (copy-file f (string-append + "build/classes/org/joda/time/format/" + (basename f)))) + (find-files "src/main/java/org/joda/time/format" ".*.properties")) + #t)) + (add-before 'install 'regenerate-jar + (lambda _ + ;; We need to regenerate the jar file to add generated data. + (delete-file "build/jar/java-joda-time.jar") + (zero? (system* "ant" "jar")))) + (add-before 'check 'copy-test-resources + (lambda _ + (mkdir-p "build/test-classes/org/joda/time/tz/data") + (copy-file "src/test/resources/tzdata/ZoneInfoMap" + "build/test-classes/org/joda/time/tz/data/ZoneInfoMap") + (copy-recursively "src/test/resources" "build/test-classes") + #t))))) + (inputs + `(("java-joda-convert" ,java-joda-convert))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core) + ("tzdata" ,tzdata))) + (home-page "http://www.joda.org/joda-time/") + (synopsis "Replacement for the Java date and time classes") + (description "Joda-Time is a replacement for the Java date and time +classes prior to Java SE 8.") + (license license:asl2.0))) -- cgit v1.3 From 6d0368eb842f4b5b8a65209569a21c07b378b397 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 18 Nov 2017 22:03:57 +0100 Subject: gnu: Add java-xerces. * gnu/packages/java.scm (java-xerces): New variable. * gnu/packages/patches/java-xerces-bootclasspath.patch: New file. * gnu/packages/patches/java-xerces-build_dont_unzip.patch: New file. * gnu/packages/patches/java-xerces-xjavac_taskdef.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. --- gnu/local.mk | 3 + gnu/packages/java.scm | 97 +++++++++++++++++++--- .../patches/java-xerces-bootclasspath.patch | 38 +++++++++ .../patches/java-xerces-build_dont_unzip.patch | 44 ++++++++++ .../patches/java-xerces-xjavac_taskdef.patch | 45 ++++++++++ 5 files changed, 217 insertions(+), 10 deletions(-) create mode 100644 gnu/packages/patches/java-xerces-bootclasspath.patch create mode 100644 gnu/packages/patches/java-xerces-build_dont_unzip.patch create mode 100644 gnu/packages/patches/java-xerces-xjavac_taskdef.patch (limited to 'gnu/packages/java.scm') diff --git a/gnu/local.mk b/gnu/local.mk index 925057dc70..eb968dede7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -776,6 +776,9 @@ dist_patch_DATA = \ %D%/packages/patches/isl-0.11.1-aarch64-support.patch \ %D%/packages/patches/jacal-fix-texinfo.patch \ %D%/packages/patches/java-powermock-fix-java-files.patch \ + %D%/packages/patches/java-xerces-bootclasspath.patch \ + %D%/packages/patches/java-xerces-build_dont_unzip.patch \ + %D%/packages/patches/java-xerces-xjavac_taskdef.patch \ %D%/packages/patches/jemalloc-arm-address-bits.patch \ %D%/packages/patches/jbig2dec-ignore-testtest.patch \ %D%/packages/patches/jbig2dec-CVE-2016-9601.patch \ diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 0c8c2abdd9..3088803fd3 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8140,15 +8140,18 @@ wider problem of Object to Object transformation.") (lambda _ (mkdir-p "build/classes/org/joda/time/tz/data") (mkdir-p "build/classes/org/joda/time/format") - ;; This will produce an exception, but it's all right. - (zero? (system* "java" "-cp" - (string-append "build/classes:" (getenv "CLASSPATH")) - "org.joda.time.tz.ZoneInfoCompiler" - "-src" "src/main/java/org/joda/time/tz/src" - "-dst" "build/classes/org/joda/time/tz/data" - "africa" "antarctica" "asia" "australasia" - "europe" "northamerica" "southamerica" - "pacificnew" "etcetera" "backward" "systemv")) + ;; This will produce the following exception: + ;; java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" + ;; which is normal, because it doesn't exist yet. It still generates + ;; the same file as in the binary one can find on maven. + (invoke "java" "-cp" + (string-append "build/classes:" (getenv "CLASSPATH")) + "org.joda.time.tz.ZoneInfoCompiler" + "-src" "src/main/java/org/joda/time/tz/src" + "-dst" "build/classes/org/joda/time/tz/data" + "africa" "antarctica" "asia" "australasia" + "europe" "northamerica" "southamerica" + "pacificnew" "etcetera" "backward" "systemv") (for-each (lambda (f) (copy-file f (string-append "build/classes/org/joda/time/format/" @@ -8159,7 +8162,7 @@ wider problem of Object to Object transformation.") (lambda _ ;; We need to regenerate the jar file to add generated data. (delete-file "build/jar/java-joda-time.jar") - (zero? (system* "ant" "jar")))) + (invoke "ant" "jar"))) (add-before 'check 'copy-test-resources (lambda _ (mkdir-p "build/test-classes/org/joda/time/tz/data") @@ -8178,3 +8181,77 @@ wider problem of Object to Object transformation.") (description "Joda-Time is a replacement for the Java date and time classes prior to Java SE 8.") (license license:asl2.0))) + +(define-public java-xerces + (package + (name "java-xerces") + (version "2.11.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://apache/xerces/j/source/" + "Xerces-J-src." version ".tar.gz")) + (sha256 + (base32 "1006igwy2lqrmjvdk64v8dg6qbk9c29pm8xxx7r87n0vnpvmx6pm")) + (patches (search-patches + "java-xerces-xjavac_taskdef.patch" + "java-xerces-build_dont_unzip.patch" + "java-xerces-bootclasspath.patch")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f;; Test files are not present + #:test-target "test" + #:jdk ,icedtea-8 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'create-build.properties + (lambda* (#:key inputs #:allow-other-keys) + (let ((jaxp (assoc-ref inputs "java-jaxp")) + (resolver (assoc-ref inputs "java-apache-xml-commons-resolver"))) + (with-output-to-file "build.properties" + (lambda _ + (format #t + "jar.jaxp = ~a/share/java/jaxp.jar~@ + jar.apis-ext = ~a/share/java/jaxp.jar~@ + jar.resolver = ~a/share/java/xml-resolver.jar~%" + jaxp jaxp resolver))) + ;; Make xerces use our version of jaxp in tests + (substitute* "build.xml" + (("xml-apis.jar") + (string-append jaxp "/share/java/jaxp.jar")) + (("\\$\\{tools.dir\\}/\\$\\{jar.apis\\}") + "${jar.apis}"))) + #t)) + (replace 'install (install-jars "build"))))) + (inputs + `(("java-apache-xml-commons-resolver" ,java-apache-xml-commons-resolver) + ("java-jaxp" ,java-jaxp))) + (home-page "https://xerces.apache.org/xerces2-j/") + (synopsis "Validating XML parser for Java with DOM level 3 support") + (description "The Xerces2 Java parser is the reference implementation of +XNI, the Xerces Native Interface, and also a fully conforming XML Schema +processor. + +Xerces2-J supports the following standards and APIs: + +@itemize +@item eXtensible Markup Language (XML) 1.0 Second Edition Recommendation +@item Namespaces in XML Recommendation +@item Document Object Model (DOM) Level 2 Core, Events, and Traversal and + Range Recommendations +@item Simple API for XML (SAX) 2.0.1 Core and Extension +@item Java APIs for XML Processing (JAXP) 1.2.01 +@item XML Schema 1.0 Structures and Datatypes Recommendations +@item Experimental implementation of the Document Object Model (DOM) Level 3 + Core and Load/Save Working Drafts +@item Provides a partial implementation of the XML Inclusions (XInclude) W3C + Candidate Recommendation +@end itemize + +Xerces is now able to parse documents written according to the XML 1.1 +Candidate Recommendation, except that it does not yet provide an option to +enable normalization checking as described in section 2.13 of this +specification. It also handles namespaces according to the XML Namespaces 1.1 +Candidate Recommendation, and will correctly serialize XML 1.1 documents if +the DOM level 3 load/save API's are in use.") + (license license:asl2.0))) diff --git a/gnu/packages/patches/java-xerces-bootclasspath.patch b/gnu/packages/patches/java-xerces-bootclasspath.patch new file mode 100644 index 0000000000..efaa548a62 --- /dev/null +++ b/gnu/packages/patches/java-xerces-bootclasspath.patch @@ -0,0 +1,38 @@ +Based on https://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java/debian/patches/03_bootclasspath.patch?revision=14509, adopted for guix + +--- xerces-2_11_0/build.xml.orig 2010-11-26 21:42:11.000000000 +0100 ++++ xerces-2_11_0/build.xml 2017-03-28 14:04:41.946606996 +0200 +@@ -290,13 +290,14 @@ + destdir="${build.dest}" + source="${javac.source}" + target="${javac.target}" +- classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}:${tools.dir}/${jar.serializer}" ++ classpath="${build.dir}/classes:${jar.jaxp}:${jar.apis-ext}:${jar.resolver}" + debug="${debug}" nowarn="true" + debuglevel="${debuglevel}" + deprecation="${deprecation}" + optimize="${optimize}" + includeAntRuntime="false" +- includeJavaRuntime="false" ++ includeJavaRuntime="true" ++ bootclasspath="${jar.jaxp}:${jar.apis-ext}:${jar.resolver}" + excludes="org/xml/sax/** + javax/xml/** + org/w3c/dom/* +@@ -1451,13 +1452,14 @@ + destdir="${build.dest}" + source="${javac.source}" + target="${javac.target}" +- classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}:${tools.dir}/${jar.serializer}" ++ classpath="${build.dir}/classes:${jar.jaxp}:${jar.apis-ext}:${jar.resolver}" + debug="${debug}" + debuglevel="${debuglevel}" + deprecation="${deprecation}" + optimize="${optimize}" + includeAntRuntime="false" +- includeJavaRuntime="false" ++ includeJavaRuntime="true" ++ bootclasspath="${jar.jaxp}:${jar.apis-ext}:${jar.resolver}" + excludes="org/xml/sax/** + javax/xml/** + org/w3c/dom/* diff --git a/gnu/packages/patches/java-xerces-build_dont_unzip.patch b/gnu/packages/patches/java-xerces-build_dont_unzip.patch new file mode 100644 index 0000000000..2ff5628865 --- /dev/null +++ b/gnu/packages/patches/java-xerces-build_dont_unzip.patch @@ -0,0 +1,44 @@ +Don't unzip the sources which were bundled originally. Guix strips them from +the source and uses pre-build packages. + +Taken from https://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java/debian/patches/02_build_dont_unzip.patch?revision=14507 + +Index: b/build.xml +=================================================================== +--- a/build.xml ++++ b/build.xml +@@ -247,7 +247,7 @@ + + +- ++ + + + + +- ++ + + + + + +- ++ + + + +@@ -291,7 +291,7 @@ + source="${javac.source}" + target="${javac.target}" + classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}:${tools.dir}/${jar.serializer}" +- debug="${debug}" ++ debug="${debug}" nowarn="true" + debuglevel="${debuglevel}" + deprecation="${deprecation}" + optimize="${optimize}" +@@ -359,7 +359,7 @@ + source="${javac.source}" + target="${javac.target}" + classpath="${build.dir}/classes:${tools.dir}/${jar.apis}" +- debug="${debug}" ++ debug="${debug}" nowarn="true" + debuglevel="${debuglevel}" + includeAntRuntime="false" + includeJavaRuntime="true"/> +@@ -379,7 +379,7 @@ + source="${javac.source}" + target="${javac.target}" + classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:./tools/junit.jar" +- debug="${debug}" ++ debug="${debug}" nowarn="true" + debuglevel="${debuglevel}" + includeAntRuntime="false" + includeJavaRuntime="true"/> -- cgit v1.3 From e06bf42811d57f8a391673b40e0ec7933958757a Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Feb 2018 18:42:58 +0100 Subject: gnu: Add java-jline. * gnu/packages/java.scm (java-jline): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 3088803fd3..1f1b238a28 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8255,3 +8255,34 @@ specification. It also handles namespaces according to the XML Namespaces 1.1 Candidate Recommendation, and will correctly serialize XML 1.1 documents if the DOM level 3 load/save API's are in use.") (license license:asl2.0))) + +(define-public java-jline + (package + (name "java-jline") + (version "1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jline/jline1/archive/jline-" + version ".tar.gz")) + (sha256 + (base32 + "0bi3p6vrh7a6v0fbpb6rx9plpmx5zk3lr352xzdbz2jcxg499wir")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "jline.jar" + #:source-dir "src/main/java" + #:test-dir "src/test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-resources + (lambda _ + (copy-recursively "src/main/resources" "build/classes") + #t))))) + (native-inputs + `(("java-junit" ,java-junit))) + (home-page "https://jline.github.io") + (synopsis "Console input handling library") + (description "JLine is a Java library for handling console input. It is +similar in functionality to BSD editline and GNU readline but with additional +features that bring it on par with the Z shell line editor.") + (license license:bsd-3))) -- cgit v1.3 From 7ac4f054e74acdf45edac0d3e454e4eeb0dd33cc Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Feb 2018 18:46:46 +0100 Subject: gnu: Add java-xmlunit. * gnu/packages/java.scm (java-xmlunit): New variable. --- gnu/packages/java.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1f1b238a28..edc6f2aaca 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8286,3 +8286,51 @@ the DOM level 3 load/save API's are in use.") similar in functionality to BSD editline and GNU readline but with additional features that bring it on par with the Z shell line editor.") (license license:bsd-3))) + +(define-public java-xmlunit + (package + (name "java-xmlunit") + (version "2.5.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/xmlunit/xmlunit/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "035rivlnmwhfqj0fzviciv0bkh1h95ps1iwnh2kjcvdbk5nccm4z")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-xmlunit.jar" + #:source-dir "xmlunit-core/src/main/java" + #:test-dir "xmlunit-core/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'check 'copy-test-resources + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "resources") "../test-resources") + #t))))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-mockito-1" ,java-mockito-1) + ("java-hamcrest-all" ,java-hamcrest-all) + ("java-objenesis" ,java-objenesis) + ("java-asm" ,java-asm) + ("java-cglib" ,java-cglib) + ("resources" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xmlunit/test-resources.git") + (commit "a590d2ae865c3e0455691d76ba8eefccc2215aec"))) + (file-name "java-xmlunit-test-resources") + (sha256 + (base32 + "0r0glj37pg5l868yjz78gckr91cs8fysxxbp9p328dssssi91agr")))))) + (home-page "http://www.xmlunit.org/") + (synopsis "XML output testing") + (description "XMLUnit provides you with the tools to verify the XML you +emit is the one you want to create. It provides helpers to validate against +an XML Schema, assert the values of XPath queries or compare XML documents +against expected outcomes.") + (license license:asl2.0))) -- cgit v1.3 From 73a1f10a80397597436d08e1992412148dbceea8 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 10 Feb 2018 18:47:34 +0100 Subject: gnu: Add java-xmlunit-legacy. * gnu/packages/java.scm (java-xmlunit-legacy): New variable. --- gnu/packages/java.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index edc6f2aaca..e714a031c8 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8334,3 +8334,17 @@ emit is the one you want to create. It provides helpers to validate against an XML Schema, assert the values of XPath queries or compare XML documents against expected outcomes.") (license license:asl2.0))) + +(define-public java-xmlunit-legacy + (package + (inherit java-xmlunit) + (name "java-xmlunit-legacy") + (arguments + `(#:jar-name "java-xmlunit-legacy.jar" + #:source-dir "xmlunit-legacy/src/main/java" + #:test-dir "xmlunit-legacy/src/test")) + (inputs + `(("java-xmlunit" ,java-xmlunit) + ("java-junit" ,java-junit))) + (native-inputs + `(("java-mockito-1" ,java-mockito-1))))) -- cgit v1.3 From 36b39d1618bf8b4ff1459fcb4970d26522ebdb3c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 15 Feb 2018 14:41:44 +0100 Subject: gnu: java-testng: Update to 6.14.2. * gnu/packages/java.scm (java-testng): Update to 6.14.2. [arguments]: Delete failing tests and those requiring groovy. [native-inputs]: Add java-mockito-1. --- gnu/packages/java.scm | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 19169f65e6..290fc8ffed 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6959,15 +6959,16 @@ those in Perl and JavaScript.") (define-public java-testng (package (name "java-testng") - (version "6.12") + (version "6.14.2") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/cbeust/testng/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/cbeust/testng.git") + (commit version))) + (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "01j2x47wkj7n5w6gpcjfbwgc88ai5654b23lb87w7nsrj63m3by6")))) + "0ngj88dpbqqdx9084cmiasmn9q3v5dgx45qbvxpip47nxc5x14xy")))) (build-system ant-build-system) (arguments `(#:jdk ,icedtea-8; java.util.function @@ -6975,6 +6976,20 @@ those in Perl and JavaScript.") #:source-dir "src/main/java" #:phases (modify-phases %standard-phases + ;; FIXME: I don't know why these tests fail + (add-after 'unpack 'delete-failing-tests + (lambda _ + (substitute* "src/test/resources/testng.xml" + (("") "") + (("") "")) + #t)) + ;; We don't have groovy + (add-after 'unpack 'delete-groovy-tests + (lambda _ + (delete-file-recursively "src/test/java/test/dependent/issue1648/") + (substitute* "src/test/resources/testng.xml" + (("") "")) + #t)) (add-before 'build 'copy-resources (lambda _ (copy-recursively "src/main/resources" "build/classes") @@ -7006,6 +7021,7 @@ those in Perl and JavaScript.") ("java-javax-inject" ,java-javax-inject) ("java-hamcrest" ,java-hamcrest-all) ("java-assertj" ,java-assertj) + ("java-mockito" ,java-mockito-1) ("cglib" ,java-cglib) ("asm" ,java-asm) ("aopalliance" ,java-aopalliance))) -- cgit v1.3 From 4aa0a1df2dd89ba0e5f76d33b37383fdb530e0b8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 15 Feb 2018 14:57:13 +0100 Subject: gnu: java-jeromq: Update to 0.4.3. * gnu/packages/java.scm (java-jeromq): Update to 0.4.3. [arguments]: Disable DealerSpecTest. --- gnu/packages/java.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 290fc8ffed..8b38d45c4b 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7625,15 +7625,16 @@ protocol-independent framework to build mail and messaging applications.") (define-public java-jeromq (package (name "java-jeromq") - (version "0.4.2") + (version "0.4.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/zeromq/jeromq/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/zeromq/jeromq.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "17wx8dlyqmbw77xf6d6wxnhiyky6181zpf1a48jqzz9hidz0j841")))) + "1gxkp7lv2ahymgrqdw94ncq54bmp4m4sw5m1x9gkp7l5bxn0xsyj")))) (build-system ant-build-system) (arguments `(#:jar-name "java-jeromq.jar" @@ -7645,6 +7646,7 @@ protocol-independent framework to build mail and messaging applications.") ;; Requires network "**/ZBeaconTest.java" ;; Failures + "**/DealerSpecTest.java" "**/CustomDecoderTest.java" "**/CustomEncoderTest.java"))) (inputs -- cgit v1.3 From 93dceea45ec5a4ec9a34efb6967981b5ce8e2126 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:46:06 +0800 Subject: gnu: java-fasterxml-jackson-annotations: Update to 2.9.4. * gnu/packages/java.scm (java-fasterxml-jackson-annotations): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e714a031c8..e8355e324c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6183,7 +6183,7 @@ the system under test at the same time.") (define-public java-fasterxml-jackson-annotations (package (name "java-fasterxml-jackson-annotations") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6191,7 +6191,7 @@ the system under test at the same time.") "jackson-annotations-" version ".tar.gz")) (sha256 (base32 - "0b4wdxjxfbl3gkilylfdbl7fzimfpyih676jiwdf19i4056j8lqw")))) + "0mr95xd0da6a4g95zvrl1ryk5n5zv2rc696w3xnsr5hxk2gicfc4")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-annotations.jar" -- cgit v1.3 From 38a0fc384a8c45cdbf2adb20e8ae4fcc02c4c6e7 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:46:31 +0800 Subject: gnu: java-fasterxml-jackson-core: Update to 2.9.4. * gnu/packages/java.scm (java-fasterxml-jackson-core): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e8355e324c..8aca53ca31 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6209,7 +6209,7 @@ not included are ones that require dependency to the Databind package.") (define-public java-fasterxml-jackson-core (package (name "java-fasterxml-jackson-core") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6217,7 +6217,7 @@ not included are ones that require dependency to the Databind package.") "jackson-core-" version ".tar.gz")) (sha256 (base32 - "0q2d6qnylyxj5jh0sam1b095b5486f7ipzhxgwcgbm254ls7fqc1")))) + "159hsnk17jr1gyzkf01cxvsn45srnk37g949r7364qlsr527gjgd")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-core.jar" -- cgit v1.3 From 3c1edff5ca27e17d71ab08b2431761206e9a3ff0 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:49:06 +0800 Subject: gnu: java-fasterxml-jackson-databind: Update to 2.9.4 [fixes CVE-{2017-17485, 2018-5968}]. * gnu/packages/java.scm (java-fasterxml-jackson-databind): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 8aca53ca31..e38614d9a4 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6266,7 +6266,7 @@ not included are ones that require dependency to the Databind package.") (define-public java-fasterxml-jackson-databind (package (name "java-fasterxml-jackson-databind") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6274,7 +6274,7 @@ not included are ones that require dependency to the Databind package.") "jackson-databind-" version ".tar.gz")) (sha256 (base32 - "1d5ns8ypqhdy8d94i8q560ip9kka6q8lhnk6q7nfh2g9mr22cc4w")))) + "1zd2cw4z6kdkbx8za96xh9pyicv2a2l7y0rkcx2fqd8hv6d47s08")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-databind.jar" -- cgit v1.3 From 07207211df0f5fbc5c68ed5d47576a7467dccd7c Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:49:53 +0800 Subject: gnu: java-fasterxml-jackson-modules-base-jaxb: Update to 2.9.4. * gnu/packages/java.scm (java-fasterxml-jackson-modules-base-jaxb): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e38614d9a4..803bb7ea95 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6309,7 +6309,7 @@ configuration.") (define-public java-fasterxml-jackson-modules-base-jaxb (package (name "java-fasterxml-jackson-modules-base-jaxb") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6317,7 +6317,7 @@ configuration.") "jackson-modules-base-" version ".tar.gz")) (sha256 (base32 - "0kc19n5a188g4vpyay44xfb7qcabcbfnwzhx1g84lg0sac8lf0ng")))) + "1wws95xi8sppp6b0k2vvjdjyynl20r1a4dwrhai08lzlria6blp5")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-modules-base-jaxb.jar" -- cgit v1.3 From 1f2be88f26e1d4b99b5ccd830b8b27978b827d39 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:50:15 +0800 Subject: gnu: java-fasterxml-jackson-dataformat-yaml: Update to 2.9.4. * gnu/packages/java.scm (java-fasterxml-jackson-dataformat-yaml): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 803bb7ea95..ad93722dbc 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6379,7 +6379,7 @@ configuration.") (define-public java-fasterxml-jackson-dataformat-yaml (package (name "java-fasterxml-jackson-dataformat-yaml") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6387,7 +6387,7 @@ configuration.") "jackson-dataformats-text-" version ".tar.gz")) (sha256 (base32 - "1x7c7v201jpb8ynjsmmq7jj7hyqzzp39jvpr053ggdndm022yzc7")))) + "1hikl06khaxbg439avf442qifcadap8w0lx13f0nnhp2vh3dkbz7")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-dataformat-yaml.jar" -- cgit v1.3 From f3bbe0291b535f21cc0261bd7c5cce4b5594a1f0 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 16 Feb 2018 05:51:00 +0800 Subject: gnu: java-fasterxml-jackson-dataformat-xml: Update to 2.9.4. * gnu/packages/java.scm (java-fasterxml-jackson-dataformat-xml): Update to 2.9.4. Signed-off-by: Leo Famulari --- gnu/packages/java.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/java.scm') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ad93722dbc..5c505fde1c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6488,7 +6488,7 @@ interface and high-performance Typed Access API.") (define-public java-fasterxml-jackson-dataformat-xml (package (name "java-fasterxml-jackson-dataformat-xml") - (version "2.9.2") + (version "2.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/FasterXML/" @@ -6496,7 +6496,7 @@ interface and high-performance Typed Access API.") "jackson-dataformat-xml-" version ".tar.gz")) (sha256 (base32 - "1j1qanvcdh6afagr67zqrlypjkf0n6wr1qzpbvkw79lii72j6pbr")))) + "111fkkl90w31jbf30kgj82qdcxlw4sxppki7i198liw0ck1jcavq")))) (build-system ant-build-system) (arguments `(#:jar-name "jackson-dataformat-xml.jar" -- cgit v1.3