aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-05-16 22:06:20 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:12:07 +0200
commitb916b6382ee32a2ed8cd83378a42cb76c0dd2014 (patch)
tree4fe7be653ee5bf4b9139caf11b28afdce1d80868 /gnu/packages
parentc2cef73132bdf3337ea1e4f572aaec5c64dad409 (diff)
downloadguix-b916b6382ee32a2ed8cd83378a42cb76c0dd2014.tar
guix-b916b6382ee32a2ed8cd83378a42cb76c0dd2014.tar.gz
gnu: java-commons-lang3: Update to 3.9.
* gnu/packages/java.scm (java-commons-lang3): Update to 3.9.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java.scm36
1 files changed, 9 insertions, 27 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9d32a51645..3af375758c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux) ;alsa
#:use-module (gnu packages maths)
+ #:use-module (gnu packages maven-parent-pom)
#:use-module (gnu packages nss)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages web)
@@ -5359,43 +5360,24 @@ included:
(define-public java-commons-lang3
(package
(name "java-commons-lang3")
- (version "3.4")
+ (version "3.9")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://apache/commons/lang/source/"
"commons-lang3-" version "-src.tar.gz"))
(sha256
- (base32 "0xpshb9spjhplq5a7mr0y1bgfw8190ik4xj8f569xidfcki1d6kg"))))
+ (base32 "0s4ffbvsyl16c90l45ximsg4dwd8hmz7wsza3p308fw43h6mwhb6"))))
(build-system ant-build-system)
- (outputs '("out" "doc"))
(arguments
- `(#:test-target "test"
- #:make-flags
- (let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-all"))
- (junit (assoc-ref %build-inputs "java-junit"))
- (easymock (assoc-ref %build-inputs "java-easymock"))
- (io (assoc-ref %build-inputs "java-commons-io")))
- (list (string-append "-Djunit.jar="
- (car (find-files junit "jar$")))
- (string-append "-Dhamcrest.jar="
- (car (find-files hamcrest ".*.jar$")))
- (string-append "-Dcommons-io.jar=" io
- "/share/java/commons-io-"
- ,(package-version java-commons-io)
- "-SNAPSHOT.jar")
- (string-append "-Deasymock.jar=" easymock
- "/share/java/easymock.jar")))
+ `(#:jar-name "commons-lang3.jar"
+ #:source-dir "src/main/java"
+ #:tests? #f; require junit5
#:phases
(modify-phases %standard-phases
- (add-after 'build 'build-javadoc ant-build-javadoc)
- (replace 'install (install-jars "target"))
- (add-after 'install 'install-doc (install-javadoc "target/apidocs")))))
- (native-inputs
- `(("java-junit" ,java-junit)
- ("java-commons-io" ,java-commons-io)
- ("java-hamcrest-all" ,java-hamcrest-all)
- ("java-easymock" ,java-easymock)))
+ (replace 'install (install-from-pom "pom.xml")))))
+ (propagated-inputs
+ `(("apache-commons-parent-pom" ,apache-commons-parent-pom-48)))
(home-page "https://commons.apache.org/lang/")
(synopsis "Extension of the java.lang package")
(description "The Commons Lang components contains a set of Java classes