gnu: java-powermock-core: Include resources.

* gnu/packages/java.scm (java-powermock-core)[arguments]: Add a phase to
include resources.
This commit is contained in:
Julien Lepiller 2017-12-13 21:18:50 +01:00
parent 7c0926ea7c
commit 59e0021cc7
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 7 additions and 1 deletions

View File

@ -7418,7 +7418,13 @@ done to the IDE or continuous integration servers which simplifies adoption.")
#:source-dir "powermock-core/src/main/java"
#:test-dir "powermock-core/src/test"
#:tests? #f; requires powermock-api
#:jdk ,icedtea-8))
#:jdk ,icedtea-8
#:phases
(modify-phases %standard-phases
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "powermock-core/src/main/resources"
"build/classes"))))))
(inputs
`(("reflect" ,java-powermock-reflect)
("javassist" ,java-jboss-javassist)))