gnu: Add java-eclipse-jetty-xml.

* gnu/packages/web.scm (java-eclipse-jetty-xml): New variable.
This commit is contained in:
Julien Lepiller 2018-03-17 12:58:23 +01:00
parent c099f6a716
commit f69a1d04a1
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -6187,6 +6187,27 @@ (define-public java-eclipse-jetty-servlet-9.2
("server" ,java-eclipse-jetty-server-9.2) ("server" ,java-eclipse-jetty-server-9.2)
,@(package-inputs java-eclipse-jetty-util-9.2))))) ,@(package-inputs java-eclipse-jetty-util-9.2)))))
(define-public java-eclipse-jetty-xml
(package
(inherit java-eclipse-jetty-util)
(name "java-eclipse-jetty-xml")
(arguments
`(#:jar-name "eclipse-jetty-xml.jar"
#:source-dir "src/main/java"
#:jdk ,icedtea-8
#:tests? #f; most tests require network
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _
(chdir "jetty-xml")
#t)))))
(inputs
`(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
(native-inputs
`(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
,@(package-native-inputs java-eclipse-jetty-util)))))
(define-public java-jsoup (define-public java-jsoup
(package (package
(name "java-jsoup") (name "java-jsoup")