From 4b172061e5b2e27d4641ae7f6d46eac841eeb5d0 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 14 Oct 2017 22:40:30 +0200 Subject: [PATCH] gnu: Add java-eclipse-jetty-jmx. * gnu/packages/web.scm (java-eclipse-jetty-jmx): New variable. --- gnu/packages/web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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.")))