gnu: maven-enforcer-parent-pom: Fix pom.
* gnu/packages/maven.scm (maven-enforcer-parent-pom): Fix dependency versions in pom file.master
parent
b6b9668949
commit
98d2ba1a5a
|
@ -2713,6 +2713,15 @@ Maven project dependencies.")
|
|||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'build)
|
||||
(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>")))))
|
||||
(replace 'install
|
||||
(install-pom-file "pom.xml")))))
|
||||
(propagated-inputs
|
||||
|
|
Reference in New Issue