aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-11-06 19:30:24 +0100
committerJulien Lepiller <julien@lepiller.eu>2017-11-18 11:30:10 +0100
commit0726d4ea7cb882dd1d3887303e260aba433dd1ef (patch)
tree24faf7c2dc72b25694ce461b742783647c12805b /gnu/packages/java.scm
parentb80027e5e7d32eb39b694afccabaae52f72433e8 (diff)
downloadguix-0726d4ea7cb882dd1d3887303e260aba433dd1ef.tar
guix-0726d4ea7cb882dd1d3887303e260aba433dd1ef.tar.gz
gnu: Add java-plexus-container-default-bootstrap.
* gnu/packages/java.scm (java-plexus-container-default-bootstrap): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f5385526aa..91b600c7a6 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2363,6 +2363,45 @@ of Java. It is especially usefull for dynamic loading of application
components.")
(license license:asl2.0)))
+(define-public java-plexus-container-default-bootstrap
+ (package
+ (name "java-plexus-container-default-bootstrap")
+ (version "1.7.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/codehaus-plexus/plexus-containers"
+ "/archive/plexus-containers-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0xw5g30qf4a83608rw9v2hv8pfsz7d69dkdhk6r0wia4q78hh1pc"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "container-default.jar"
+ #:source-dir "plexus-container-default/src/main/java"
+ #:test-dir "plexus-container-default/src/test"
+ #:jdk ,icedtea-8
+ #:tests? #f; requires plexus-archiver, which depends on this package
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'copy-resources
+ (lambda _
+ (copy-recursively
+ "plexus-container-default/src/main/resources/"
+ "build/classes")
+ #t)))))
+ (inputs
+ `(("worldclass" ,java-plexus-classworlds)
+ ("xbean" ,java-geronimo-xbean-reflect)
+ ("utils" ,java-plexus-utils)
+ ("junit" ,java-junit)
+ ("guava" ,java-guava)))
+ (home-page "https://github.com/codehaus-plexus/plexus-containers")
+ (synopsis "Inversion of controll container")
+ (description "Plexus-default-container is Plexus' inversion-of-control
+(IoC) container. It is composed of its public API and its default
+implementation.")
+ (license license:asl2.0)))
+
(define-public java-asm
(package
(name "java-asm")