gnu: java-plexus-utils: Update to 3.2.1.

* gnu/packages/java.scm (java-plexus-utils): Update to 3.2.1.
This commit is contained in:
Julien Lepiller 2020-05-16 23:02:32 +02:00
parent ba03666d29
commit b3971a5c47
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -3819,7 +3819,8 @@ (define-public java-junitparams
(define-public java-plexus-utils (define-public java-plexus-utils
(package (package
(name "java-plexus-utils") (name "java-plexus-utils")
(version "3.2.0") ;; sisu-build-api needs this version, later versions don't work
(version "3.2.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3828,7 +3829,7 @@ (define-public java-plexus-utils
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1mlx7xrq7lgqjqcpg7y4hi1ghavf28vvk3har82037dqx61n0f15")))) "1w169glixyk94jbczj8jzg897lsab46jihiaa3dhw0p06g35va8b"))))
(build-system ant-build-system) (build-system ant-build-system)
;; FIXME: The default build.xml does not include a target to install ;; FIXME: The default build.xml does not include a target to install
;; javadoc files. ;; javadoc files.
@ -3858,11 +3859,21 @@ (define-public java-plexus-utils
;; FIXME: The command line tests fail, maybe because they use ;; FIXME: The command line tests fail, maybe because they use
;; absolute paths. ;; absolute paths.
(delete-file "cli/CommandlineTest.java")) (delete-file "cli/CommandlineTest.java")
#t)))))
;; These tests require openjdk jmh, which is not packaged yet
(for-each delete-file (find-files "." "PerfTest.java$")))
#t))
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "src/main/resources" "build/classes")
#t))
(replace 'install (install-from-pom "pom.xml")))))
(native-inputs (native-inputs
`(("java-hamcrest-core" ,java-hamcrest-core) `(("java-hamcrest-core" ,java-hamcrest-core)
("java-junit" ,java-junit))) ("java-junit" ,java-junit)))
(propagated-inputs
`(("plexus-parent-pom" ,plexus-parent-pom-5.1)))
(home-page "https://codehaus-plexus.github.io/plexus-utils/") (home-page "https://codehaus-plexus.github.io/plexus-utils/")
(synopsis "Common utilities for the Plexus framework") (synopsis "Common utilities for the Plexus framework")
(description "This package provides various Java utility classes for the (description "This package provides various Java utility classes for the