me
/
guix
Archived
1
0
Fork 0

gnu: maven-compat: Install resources.

* gnu/packages/maven.scm (maven-compat)[arguments]: Add copy-resources
phase.
Julien Lepiller 2022-02-08 10:24:41 +01:00
parent ea23386e08
commit 38c0830e85
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 4 additions and 0 deletions

View File

@ -2000,6 +2000,10 @@ logging support.")))
(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")