Subject: [PATCH 01/22] gnu: Add java-eclipse-jetty-xml.

From: Julien Lepiller <[email-masked]>
Date: Sun, 10 Jun 2018 13:02:58 +0200

* gnu/packages/web.scm (java-eclipse-jetty-xml): New variable.
---
 gnu/packages/web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d11601120..9b6dbb3cd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6182,6 +6182,27 @@ container.")))
        ("server" ,java-eclipse-jetty-server-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
   (package
     (name "java-jsoup")
-- 
2.17.1