[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/110: gnu: java-commons-codec: Update to 1.14.
From: |
guix-commits |
Subject: |
43/110: gnu: java-commons-codec: Update to 1.14. |
Date: |
Thu, 16 Jul 2020 22:23:22 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit ba03666d298e05ba9d549cf4e83b7e383f648894
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat May 16 22:15:53 2020 +0200
gnu: java-commons-codec: Update to 1.14.
* gnu/packages/java.scm (java-commons-codec): Update to 1.14.
---
gnu/packages/java.scm | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 3af3757..1ad659c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6913,33 +6913,38 @@ This is a part of the Apache Commons Project.")
(define-public java-commons-codec
(package
(name "java-commons-codec")
- (version "1.10")
+ (version "1.14")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/commons/codec/source/"
"commons-codec-" version "-src.tar.gz"))
(sha256
(base32
- "1w9qg30y4s0x8gnmr2fgj4lyplfn788jqxbcz27lf5kbr6n8xr65"))))
+ "11xr0agckkhm91pb5akf2mbk84yd54gyr178wj57gsm97fi7nkh9"))))
(build-system ant-build-system)
- (outputs '("out" "doc"))
(arguments
- `(#:test-target "test"
- #:make-flags
- (let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-core"))
- (junit (assoc-ref %build-inputs "java-junit")))
- (list (string-append "-Djunit.jar=" (car (find-files junit "jar$")))
- (string-append "-Dhamcrest.jar=" (car (find-files hamcrest
"jar$")))
- ;; Do not append version to jar.
- "-Dfinal.name=commons-codec"))
+ `(#:jar-name "java-commons-codec.jar"
+ #:source-dir "src/main/java"
+ #:test-dir "src/test"
+ #:test-exclude (list "**/*AbstractTest.java")
#:phases
(modify-phases %standard-phases
- (add-after 'build 'build-javadoc ant-build-javadoc)
- (replace 'install (install-jars "dist"))
- (add-after 'install 'install-doc (install-javadoc "dist/docs/api")))))
+ (add-before 'build 'copy-resources
+ (lambda _
+ (copy-recursively "src/main/resources"
+ "build/classes")
+ #t))
+ (add-before 'check 'copy-test-resources
+ (lambda _
+ (copy-recursively "src/test/resources"
+ "build/test-classes")
+ #t))
+ (replace 'install (install-from-pom "pom.xml")))))
(native-inputs
- `(("java-junit" ,java-junit)
- ("java-hamcrest-core" ,java-hamcrest-core)))
+ `(("java-commons-lang3" ,java-commons-lang3)
+ ("java-junit" ,java-junit)))
+ (propagated-inputs
+ `(("apache-commons-parent-pom" ,apache-commons-parent-pom-50)))
(home-page "https://commons.apache.org/codec/")
(synopsis "Common encoders and decoders such as Base64, Hex, Phonetic and
URLs")
(description "The codec package contains simple encoder and decoders for
- 23/110: gnu: Add java-sonatype-forge-parent-pom-10., (continued)
- 23/110: gnu: Add java-sonatype-forge-parent-pom-10., guix-commits, 2020/07/16
- 27/110: gnu: Add java-sonatype-oss-parent-pom-7., guix-commits, 2020/07/16
- 29/110: gnu: Add plexus-parent-pom-3.1., guix-commits, 2020/07/16
- 33/110: gnu: Add maven-parent-pom-33., guix-commits, 2020/07/16
- 40/110: gnu: Add maven-components-parent-pom-22., guix-commits, 2020/07/16
- 42/110: gnu: java-commons-lang3: Update to 3.9., guix-commits, 2020/07/16
- 47/110: gnu: java-plexus-classworlds: Update to 2.6.0., guix-commits, 2020/07/16
- 54/110: gnu: maven: Install from pom file., guix-commits, 2020/07/16
- 57/110: gnu: Add java-plexus-digest., guix-commits, 2020/07/16
- 26/110: gnu: Add java-sonatype-spice-parent-pom-12., guix-commits, 2020/07/16
- 43/110: gnu: java-commons-codec: Update to 1.14.,
guix-commits <=
- 50/110: gnu: java-bsh: Unbundle third-party libraries., guix-commits, 2020/07/16
- 52/110: gnu: maven-wagon-provider-api: Update to 3.3.4., guix-commits, 2020/07/16
- 34/110: gnu: Add maven-parent-pom-30., guix-commits, 2020/07/16
- 36/110: gnu: Add maven-parent-pom-15., guix-commits, 2020/07/16
- 44/110: gnu: java-plexus-utils: Update to 3.2.1., guix-commits, 2020/07/16
- 48/110: gnu: java-plexus-archiver: Update to 4.2.2., guix-commits, 2020/07/16
- 51/110: gnu: java-plexus-interpolation: Update to 1.26., guix-commits, 2020/07/16
- 53/110: gnu: java-httpcomponents-httpclient: Update to 4.5.12., guix-commits, 2020/07/16
- 55/110: gnu: maven-shared-utils: Fix /bin/sh invocation., guix-commits, 2020/07/16
- 56/110: gnu: java-modello-core: Propagate inputs., guix-commits, 2020/07/16