aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-12-13 21:18:50 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-01-13 12:06:12 +0100
commit59e0021cc79b577daaf0f23a9f0b93e166400261 (patch)
tree5a11fdd124e94ea84be5a139b41fccb43b3deec1 /gnu/packages
parent7c0926ea7c6f0d0fa291251017704dfb6fb21924 (diff)
downloadguix-59e0021cc79b577daaf0f23a9f0b93e166400261.tar.gz
guix-59e0021cc79b577daaf0f23a9f0b93e166400261.zip
gnu: java-powermock-core: Include resources.
* gnu/packages/java.scm (java-powermock-core)[arguments]: Add a phase to include resources.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8dd6356058..c05e4c3fab 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -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)))