mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: maven-compat: Install resources.
* gnu/packages/maven.scm (maven-compat)[arguments]: Add copy-resources phase.
This commit is contained in:
parent
ea23386e08
commit
38c0830e85
1 changed files with 4 additions and 0 deletions
|
@ -2000,6 +2000,10 @@ (define (modello-single-mode file version mode)
|
|||
(modello-single-mode file "1.0.0" "xpp3-reader")
|
||||
(modello-single-mode file "1.0.0" "xpp3-writer"))
|
||||
#t))
|
||||
(add-before 'build 'copy-resources
|
||||
(lambda _
|
||||
(mkdir-p "build/classes/")
|
||||
(copy-recursively "src/main/resources" "build/classes")))
|
||||
(add-after 'build 'generate-metadata
|
||||
(lambda _
|
||||
(invoke "java" "-cp" (string-append (getenv "CLASSPATH") ":build/classes")
|
||||
|
|
Loading…
Reference in a new issue