gnu: Add java-eclipse-jetty-jmx.

* gnu/packages/web.scm (java-eclipse-jetty-jmx): New variable.
This commit is contained in:
Julien Lepiller 2017-10-14 22:40:30 +02:00
parent 821869fcf4
commit 4b172061e5
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 24 additions and 0 deletions

View File

@ -5675,3 +5675,27 @@ or embedded instantiation. This package provides HTTP-related utility classes."
`(("util" ,java-eclipse-jetty-util-9.2) `(("util" ,java-eclipse-jetty-util-9.2)
("io" ,java-eclipse-jetty-io-9.2) ("io" ,java-eclipse-jetty-io-9.2)
,@(package-inputs java-eclipse-jetty-util-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.")))