aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-14 22:40:30 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-23 22:54:49 +0200
commit4b172061e5b2e27d4641ae7f6d46eac841eeb5d0 (patch)
treeda8630c77a960322b4de48d9e604ef6e14fcbcf4 /gnu/packages/web.scm
parent821869fcf4e7bfd01b2b8c76a2f59b354a8bc9de (diff)
downloadguix-4b172061e5b2e27d4641ae7f6d46eac841eeb5d0.tar
guix-4b172061e5b2e27d4641ae7f6d46eac841eeb5d0.tar.gz
gnu: Add java-eclipse-jetty-jmx.
* gnu/packages/web.scm (java-eclipse-jetty-jmx): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 16e6911185..ee3c457927 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5675,3 +5675,27 @@ or embedded instantiation. This package provides HTTP-related utility classes."
`(("util" ,java-eclipse-jetty-util-9.2)
("io" ,java-eclipse-jetty-io-9.2)
,@(package-inputs java-eclipse-jetty-util-9.2)))))
+
+(define-public java-eclipse-jetty-jmx
+ (package
+ (inherit java-eclipse-jetty-util)
+ (name "java-eclipse-jetty-jmx")
+ (arguments
+ `(#:jar-name "eclipse-jetty-jmx.jar"
+ #:source-dir "src/main/java"
+ #:jdk ,icedtea-8
+ #:tests? #f; FIXME: requires com.openpojo.validation
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "jetty-jmx")
+ #t)))))
+ (inputs
+ `(("slf4j" ,java-slf4j-api)
+ ("servlet" ,java-tomcat)
+ ("util" ,java-eclipse-jetty-util)))
+ (synopsis "Jetty :: JMX Management")
+ (description "The Jetty Web Server provides an HTTP server and Servlet
+container capable of serving static and dynamic content either from a standalone
+or embedded instantiation. This package provides the JMX management.")))