From 6f737ae68f6616466fafdb33427f2d1b0d23f23e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 30 Apr 2019 12:36:49 +0200 Subject: [PATCH] gnu: java-plexus-archiver: Update to 4.1.0. * gnu/packages/java.scm (java-plexus-archiver): Update to 4.1.0. --- gnu/packages/java.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 762d5d0e87..9664d749fb 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -3416,14 +3416,14 @@ reusing it in maven.") (define-public java-plexus-archiver (package (name "java-plexus-archiver") - (version "3.5") + (version "4.1.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/codehaus-plexus/plexus-archiver" "/archive/plexus-archiver-" version ".tar.gz")) (sha256 (base32 - "0iv1j7khra6icqh3jndng3iipfmkc7l5jq2y802cm8r575v75pyv")))) + "0ry6i92gli0mvdmfih2vgs0lkf9yvx18h2ajxim66yg6yipnp0hg")))) (build-system ant-build-system) (arguments `(#:jar-name "plexus-archiver.jar" @@ -3439,6 +3439,11 @@ reusing it in maven.") (delete-file "src/test/java/org/codehaus/plexus/archiver/DuplicateFilesTest.java") #t)) + (add-before 'check 'fix-test-building + (lambda _ + (substitute* "build.xml" + (("srcdir=\"src/test\"") "srcdir=\"src/test/java\"")) + #t)) (add-before 'build 'copy-resources (lambda _ (mkdir-p "build/classes/META-INF/plexus") @@ -3455,7 +3460,8 @@ reusing it in maven.") ("snappy" ,java-snappy) ("java-jsr305" ,java-jsr305))) (native-inputs - `(("junit" ,java-junit) + `(("java-hamcrest-core" ,java-hamcrest-core) + ("junit" ,java-junit) ("classworld" ,java-plexus-classworlds) ("xbean" ,java-geronimo-xbean-reflect) ("xz" ,java-tukaani-xz)