gnu: Add java-eclipse-jetty-webapp.

* gnu/packages/web.scm (java-eclipse-jetty-webapp): New variable.
This commit is contained in:
Julien Lepiller 2018-03-17 13:00:06 +01:00
parent 38b57575c1
commit d736511864
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C

View File

@ -6231,6 +6231,34 @@ container.")))
`(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
(define-public java-eclipse-jetty-webapp
(package
(inherit java-eclipse-jetty-util)
(name "java-eclipse-jetty-webapp")
(arguments
`(#:jar-name "eclipse-jetty-webapp.jar"
#:source-dir "src/main/java"
#:jdk ,icedtea-8
;; One test fails
#:test-exclude (list "**/WebAppContextTest.java")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _
(chdir "jetty-webapp")
#t)))))
(inputs
`(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
("java-tomcat" ,java-tomcat)))
(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")