mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: maven-embedder: Install resources.
* gnu/packages/maven.scm (maven-embedder)[arguments]: Add copy-resources phase.
This commit is contained in:
parent
61a847187d
commit
ea23386e08
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2018-2021 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2018-2022 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2019 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
||||
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||
|
@ -1791,6 +1791,10 @@ (define-public maven-embedder
|
|||
(invoke "./sisu.sh" "maven-embedder/src/main/java"
|
||||
"build/classes/META-INF/sisu/javax.inject.Named")
|
||||
#t))
|
||||
(add-before 'build 'copy-resources
|
||||
(lambda _
|
||||
(mkdir-p "build/classes/")
|
||||
(copy-recursively "maven-embedder/src/main/resources" "build/classes")))
|
||||
(add-before 'build 'generate-models
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(define (modello-single-mode file version mode)
|
||||
|
|
Loading…
Reference in a new issue