gnu: java-plexus-utils: Default to the newer one.

* gnu/packages/java.scm (java-plexus-utils-3.3.0): Rename to...
(java-plexus-utils): ...this.
(java-plexus-utils-3.2.1): New variable.
This commit is contained in:
Julien Lepiller 2021-12-19 22:25:45 +01:00
parent a348520e2a
commit 12769573eb
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82
2 changed files with 10 additions and 10 deletions

View file

@ -3949,8 +3949,7 @@ (define-public java-junitparams
(define-public java-plexus-utils (define-public java-plexus-utils
(package (package
(name "java-plexus-utils") (name "java-plexus-utils")
;; sisu-build-api needs this version, later versions don't work (version "3.3.0")
(version "3.2.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3959,7 +3958,7 @@ (define-public java-plexus-utils
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1w169glixyk94jbczj8jzg897lsab46jihiaa3dhw0p06g35va8b")))) "0d0fq21rzjy0j55kcp8w9k1rbq9rwr0r7cc8239p9jbz54vihp0g"))))
(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.
@ -4010,10 +4009,11 @@ (define-public java-plexus-utils
more.") more.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public java-plexus-utils-3.3.0 (define-public java-plexus-utils-3.2.1
(package (package
(inherit java-plexus-utils) (inherit java-plexus-utils)
(version "3.3.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
@ -4022,7 +4022,7 @@ (define-public java-plexus-utils-3.3.0
(file-name (git-file-name "java-plexus-utils" version)) (file-name (git-file-name "java-plexus-utils" version))
(sha256 (sha256
(base32 (base32
"0d0fq21rzjy0j55kcp8w9k1rbq9rwr0r7cc8239p9jbz54vihp0g")))))) "1w169glixyk94jbczj8jzg897lsab46jihiaa3dhw0p06g35va8b"))))))
(define-public java-plexus-interpolation (define-public java-plexus-interpolation
(package (package
@ -4185,7 +4185,7 @@ (define-public java-plexus-io
#t)) #t))
(replace 'install (install-from-pom "pom.xml"))))) (replace 'install (install-from-pom "pom.xml")))))
(propagated-inputs (propagated-inputs
(list java-plexus-utils-3.3.0 java-commons-io plexus-parent-pom-5.1)) (list java-plexus-utils java-commons-io plexus-parent-pom-5.1))
(inputs (inputs
(list java-jsr305)) (list java-jsr305))
(native-inputs (native-inputs
@ -4241,7 +4241,7 @@ (define-public java-plexus-archiver
#t)) #t))
(replace 'install (install-from-pom "pom.xml"))))) (replace 'install (install-from-pom "pom.xml")))))
(propagated-inputs (propagated-inputs
(list java-plexus-utils-3.3.0 java-plexus-io java-iq80-snappy (list java-plexus-utils java-plexus-io java-iq80-snappy
java-commons-compress plexus-parent-pom-6.1)) java-commons-compress plexus-parent-pom-6.1))
(inputs (inputs
`(("java-jsr305" ,java-jsr305) `(("java-jsr305" ,java-jsr305)
@ -4870,7 +4870,7 @@ (define-public java-sisu-build-api
(replace 'install (replace 'install
(install-from-pom "pom.xml"))))) (install-from-pom "pom.xml")))))
(inputs (inputs
(list java-plexus-utils java-plexus-container-default)) (list java-plexus-utils-3.2.1 java-plexus-container-default))
(home-page "https://github.com/sonatype/sisu-build-api/") (home-page "https://github.com/sonatype/sisu-build-api/")
(synopsis "Base build API for maven") (synopsis "Base build API for maven")
(description "This package contains the base build API for maven and (description "This package contains the base build API for maven and

View file

@ -3004,7 +3004,7 @@ (define-public maven-filtering
(propagated-inputs (propagated-inputs
(list maven-3.0-core (list maven-3.0-core
maven-shared-utils maven-shared-utils
java-plexus-utils java-plexus-utils-3.2.1
java-plexus-interpolation java-plexus-interpolation
java-sisu-build-api java-sisu-build-api
maven-parent-pom-30)) maven-parent-pom-30))