[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/20: gnu: Add java-plexus-container-default.
From: |
julien lepiller |
Subject: |
20/20: gnu: Add java-plexus-container-default. |
Date: |
Sat, 18 Nov 2017 05:32:59 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit a0837294abfeec63d42ff48985004d0c79c4c930
Author: Julien Lepiller <address@hidden>
Date: Mon Nov 6 20:02:22 2017 +0100
gnu: Add java-plexus-container-default.
* 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 e7d0e34..1ef4e1b 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")
- 02/20: gnu: Add java-snappy., (continued)
- 02/20: gnu: Add java-snappy., julien lepiller, 2017/11/18
- 09/20: gnu: Add java-commons-collections., julien lepiller, 2017/11/18
- 11/20: gnu: Add java-kafka-clients., julien lepiller, 2017/11/18
- 17/20: gnu: Add java-plexus-container-default-bootstrap., julien lepiller, 2017/11/18
- 06/20: gnu: Add java-mail., julien lepiller, 2017/11/18
- 04/20: licenses: Add cddl1.1., julien lepiller, 2017/11/18
- 08/20: gnu: Add java-commons-csv., julien lepiller, 2017/11/18
- 13/20: gnu: Add java-log4j-1.2-api., julien lepiller, 2017/11/18
- 14/20: gnu: Add java-jdom., julien lepiller, 2017/11/18
- 12/20: gnu: Add java-log4j-core., julien lepiller, 2017/11/18
- 20/20: gnu: Add java-plexus-container-default.,
julien lepiller <=
- 07/20: gnu: Add java-jeromq., julien lepiller, 2017/11/18
- 18/20: gnu: Add java-plexus-io., julien lepiller, 2017/11/18
- 10/20: gnu: Add java-commons-beanutils., julien lepiller, 2017/11/18
- 15/20: gnu: Add java-geronimo-xbean-reflect., julien lepiller, 2017/11/18
- 16/20: gnu: Add java-tukaani-xz., julien lepiller, 2017/11/18
- 19/20: gnu: Add java-plexus-archiver., julien lepiller, 2017/11/18