diff options
author | Julien Lepiller <julien@lepiller.eu> | 2018-02-10 22:52:22 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-02-25 11:59:34 +0100 |
commit | fc620befd4d4236db8f446dba2e0f3abcd4c0cfb (patch) | |
tree | 6b20bc149ec47e16b155d63dfc78a731a8d80041 /gnu | |
parent | b26c8b618457943075eaf5d33592af0eabf53cc8 (diff) | |
download | guix-fc620befd4d4236db8f446dba2e0f3abcd4c0cfb.tar.gz |
gnu: Add java-modello-plugins-java.
* gnu/packages/java.scm (java-modello-plugins-java): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d7a1299a7f..05cf91999b 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2877,6 +2877,30 @@ XSD and documentation.") "src/main/java/org/codehaus/modello/plugin/" "java/javasource/JNaming.java")))))) +(define-public java-modello-plugins-java + (package + (inherit java-modello-core) + (name "java-modello-plugins-java") + (arguments + `(#:jar-name "modello-plugins-java.jar" + #:source-dir "modello-plugins/modello-plugin-java/src/main/java" + #:test-dir "modello-plugins/modello-plugin-java/src/test" + #:jdk ,icedtea-8 + #:tests? #f; requires maven-model, which depends on this package + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-resources + (lambda _ + (mkdir-p "build/classes") + (copy-recursively "modello-plugins/modello-plugin-java/src/main/resources" + "build/classes") + #t))))) + (inputs + `(("java-modello-core" ,java-modello-core) + ,@(package-inputs java-modello-core))) + (synopsis "Modello Java Plugin") + (description "Modello Java Plugin generates Java objects for the model."))) + (define-public java-asm (package (name "java-asm") |