[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52723] [PATCH 23/26] gnu: maven-enforcer-api: Update to 3.0.0.
From: |
Julien Lepiller |
Subject: |
[bug#52723] [PATCH 23/26] gnu: maven-enforcer-api: Update to 3.0.0. |
Date: |
Tue, 21 Dec 2021 23:45:07 +0100 |
* gnu/packages/maven.scm (maven-enforcer-api): Update to 3.0.0.
* gnu/packages/java.scm (java-bsh): Do not patch pom file anymore.
---
gnu/packages/java.scm | 5 -----
gnu/packages/maven.scm | 19 +++++++++----------
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 463cf51bcb..0e6a9601e4 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -11068,11 +11068,6 @@ (define-public java-bsh
#:make-flags (list "-DDATE" "(no date for reproducibility)")
#:phases
(modify-phases %standard-phases
- (add-before 'install 'fix-pom
- (lambda _
- (substitute* "pom.xml"
- (("org.apache-extras.beanshell") "org.beanshell"))
- #t))
(replace 'install
(install-from-pom "pom.xml")))))
(inputs
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 3e17e79752..d0424a3d08 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2739,16 +2739,14 @@ (define-public maven-common-artifact-filters-3.1.0
(define-public maven-enforcer-api
(package
(name "maven-enforcer-api")
- (version "3.0.0-M3")
+ (version "3.0.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://apache/maven/enforcer/"
"enforcer-" version "-source-release.zip"))
(sha256
(base32
- "014cwj0dqa69nnlzcin8pk9wsjmmg71vsbcpb16cibcjpm6h9wjg"))
- (patches
- (search-patches
"maven-enforcer-api-fix-old-dependencies.patch"))))
+ "1479yp58jv788xc1jc2sbdxpajlbvwlk60639vd2h4s8r6x7naqh"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "maven-enforcer-api.jar"
@@ -2782,12 +2780,13 @@ (define maven-enforcer-parent-pom
(add-before 'install 'fix-pom-versions
(lambda _
(substitute* "pom.xml"
- (("3.8.1") ,(package-version java-commons-lang3))
- (("1.4.1") ,(package-version maven-resolver-util))
- (("1.12") ,(package-version java-commons-codec))
- (("<version>2.2</version>")
- ,(string-append "<version>" (package-version
maven-dependency-tree)
- "</version>")))))
+ (("<maven.version>.*</maven.version>")
+ ,(string-append "<maven.version>" (package-version maven)
+ "</maven.version>"))
+ (("2.11.0") ,(package-version java-commons-io))
+ (("3.12.0") ,(package-version java-commons-lang3))
+ (("1.6.1") ,(package-version maven-resolver-util))
+ (("1.15") ,(package-version java-commons-codec)))))
(replace 'install
(install-pom-file "pom.xml")))))
(propagated-inputs
--
2.34.0
- [bug#52723] [PATCH 15/26] gnu: maven-common-artifact-filters: Update to 3.2.0., (continued)
- [bug#52723] [PATCH 15/26] gnu: maven-common-artifact-filters: Update to 3.2.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 18/26] gnu: Add java-sonatype-aether-spi-1.13., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 16/26] gnu: java-plexus-container-default-bootstrap: Update to 2.1.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 21/26] gnu: maven-dependency-tree: Update to 3.1.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 22/26] guix: maven: Fix java parser., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 17/26] gnu: Add java-sonatype-aether-api-1.13., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 26/26] gnu: maven: Update to 3.8.4., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 25/26] gnu: Update maven-artifact-transfer to 0.13.1., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 10/26] gnu: java-plexus-sec-dispatcher: Update to 2.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 08/26] gnu: Add java-plexus-build-api., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 23/26] gnu: maven-enforcer-api: Update to 3.0.0.,
Julien Lepiller <=
- [bug#52723] [PATCH 20/26] gnu: Add java-sonatype-aether-util-1.13., Julien Lepiller, 2021/12/21