gnu: Add java-plexus-container-default.
* gnu/packages/java.scm (java-plexus-container-default): New variable.
This commit is contained in:
parent
b51df3ca6f
commit
a0837294ab
@ -2497,6 +2497,49 @@ reusing it in maven.")
|
|||||||
archives (jar).")
|
archives (jar).")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public java-plexus-container-default
|
||||||
|
(package
|
||||||
|
(inherit java-plexus-container-default-bootstrap)
|
||||||
|
(name "java-plexus-container-default")
|
||||||
|
(arguments
|
||||||
|
`(#:jar-name "container-default.jar"
|
||||||
|
#:source-dir "plexus-container-default/src/main/java"
|
||||||
|
#:test-dir "plexus-container-default/src/test"
|
||||||
|
#:test-exclude (list ;"**/*Test.java"
|
||||||
|
"**/Abstract*.java"
|
||||||
|
;; Requires plexus-hierarchy
|
||||||
|
"**/PlexusHierarchyTest.java"
|
||||||
|
;; Failures
|
||||||
|
"**/ComponentRealmCompositionTest.java"
|
||||||
|
"**/PlexusContainerTest.java")
|
||||||
|
#:jdk ,icedtea-8
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'copy-resources
|
||||||
|
(lambda _
|
||||||
|
(copy-recursively
|
||||||
|
"plexus-container-default/src/main/resources/"
|
||||||
|
"build/classes")
|
||||||
|
#t))
|
||||||
|
(add-before 'check 'fix-paths
|
||||||
|
(lambda _
|
||||||
|
(let ((dir "plexus-container-default/src/test/java/org/codehaus"))
|
||||||
|
(substitute*
|
||||||
|
(string-append
|
||||||
|
dir "/plexus/component/composition/"
|
||||||
|
"ComponentRealmCompositionTest.java")
|
||||||
|
(("src/test") "plexus-container-default/src/test"))
|
||||||
|
#t))))))
|
||||||
|
(inputs
|
||||||
|
`(("worldclass" ,java-plexus-classworlds)
|
||||||
|
("xbean" ,java-geronimo-xbean-reflect)
|
||||||
|
("utils" ,java-plexus-utils)
|
||||||
|
("junit" ,java-junit)
|
||||||
|
("guava" ,java-guava)))
|
||||||
|
(native-inputs
|
||||||
|
`(("archiver" ,java-plexus-archiver)
|
||||||
|
("hamcrest" ,java-hamcrest-core)))))
|
||||||
|
|
||||||
(define-public java-asm
|
(define-public java-asm
|
||||||
(package
|
(package
|
||||||
(name "java-asm")
|
(name "java-asm")
|
||||||
|
Loading…
Reference in New Issue
Block a user