mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add java-modello-plugins-java.
* gnu/packages/java.scm (java-modello-plugins-java): New variable.
This commit is contained in:
parent
b26c8b6184
commit
fc620befd4
1 changed files with 24 additions and 0 deletions
|
@ -2877,6 +2877,30 @@ (define-public java-modello-core
|
|||
"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")
|
||||
|
|
Loading…
Reference in a new issue