[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29221] [PATCH 19/19] gnu: Add java-plexus-container-default.
From: |
julien |
Subject: |
[bug#29221] [PATCH 19/19] gnu: Add java-plexus-container-default. |
Date: |
Wed, 8 Nov 2017 23:51:40 +0100 |
From: Julien Lepiller <address@hidden>
* gnu/packages/java.scm (java-plexus-container-default): New variable.
---
gnu/packages/java.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 7dcf68c3a..5c4a613ca 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2497,6 +2497,49 @@ reusing it in maven.")
archives (jar).")
(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
(package
(name "java-asm")
--
2.15.0
- [bug#29221] [PATCH 07/19] gnu: Add java-commons-csv., (continued)
- [bug#29221] [PATCH 07/19] gnu: Add java-commons-csv., julien, 2017/11/08
- [bug#29221] [PATCH 03/19] gnu: Add java-iq80-snappy., julien, 2017/11/08
- [bug#29221] [PATCH 12/19] gnu: Add java-log4j-1.2-api., julien, 2017/11/08
- [bug#29221] [PATCH 10/19] gnu: Add java-kafka-clients., julien, 2017/11/08
- [bug#29221] [PATCH 13/19] gnu: Add java-jdom., julien, 2017/11/08
- [bug#29221] [PATCH 15/19] gnu: Add java-tukaani-xz., julien, 2017/11/08
- [bug#29221] [PATCH 14/19] gnu: Add java-geronimo-xbean-reflect., julien, 2017/11/08
- [bug#29221] [PATCH 16/19] gnu: Add java-plexus-container-default-bootstrap., julien, 2017/11/08
- [bug#29221] [PATCH 18/19] gnu: Add java-plexus-archiver., julien, 2017/11/08
- [bug#29221] [PATCH 17/19] gnu: Add java-plexus-io., julien, 2017/11/08
- [bug#29221] [PATCH 19/19] gnu: Add java-plexus-container-default.,
julien <=