summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2022-02-08 10:20:28 +0100
committerJulien Lepiller <julien@lepiller.eu>2022-02-28 10:55:48 +0100
commitea23386e084a035e4bc23273fffc3d114b311789 (patch)
tree56dc7e0be33c12b10f63bc66e4caa03668145317
parent61a847187d781bcecdc77fbec1fb75d1b9531e55 (diff)
downloadguix-ea23386e084a035e4bc23273fffc3d114b311789.tar.gz
gnu: maven-embedder: Install resources.
* gnu/packages/maven.scm (maven-embedder)[arguments]: Add copy-resources
phase.
-rw-r--r--gnu/packages/maven.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index ba4f111930..10f18dc7ac 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -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 @@ artifactId=maven-core" ,(package-version maven-core-bootstrap))))
              (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)