mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: java-plexus-component-metadata: Fix package.
* gnu/packages/java.scm (java-plexus-component-metadat): Apply fix for newer jdom.
This commit is contained in:
parent
0a58c7c1c0
commit
48a191c15d
1 changed files with 8 additions and 0 deletions
|
@ -4537,6 +4537,14 @@ (define-public java-plexus-component-metadata-1.7
|
|||
(copy-recursively "src/main/resources"
|
||||
"build/classes/")
|
||||
#t))
|
||||
(add-before 'build 'fix-jdom
|
||||
(lambda _
|
||||
;; The newer version of jdom now sets multiple features by default
|
||||
;; that are not supported.
|
||||
;; Skip these features
|
||||
(substitute* "src/main/java/org/codehaus/plexus/metadata/merge/MXParser.java"
|
||||
(("throw new XmlPullParserException\\(\"unsupporte feature \"\\+name\\);")
|
||||
"// skip"))))
|
||||
(add-before 'check 'fix-test-location
|
||||
(lambda _
|
||||
(substitute* '("src/test/java/org/codehaus/plexus/metadata/DefaultComponentDescriptorWriterTest.java"
|
||||
|
|
Loading…
Reference in a new issue