[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28841] [PATCH 06/24] gnu: Add java-eclipse-jetty-util-9.2.
From: |
julien |
Subject: |
[bug#28841] [PATCH 06/24] gnu: Add java-eclipse-jetty-util-9.2. |
Date: |
Sun, 15 Oct 2017 00:23:31 +0200 |
From: Julien Lepiller <address@hidden>
* gnu/packages/java.scm (java-eclipse-jetty-util-9.2): New variable.
---
gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 30312a3d9..33037a53d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6210,3 +6210,44 @@ Java WebSocket specifications are developed under the
Java Community Process.")
container capable of serving static and dynamic content either from a
standalone
or embedded instantiation. This package provides utility classes.")
(license (list license:epl1.0 license:asl2.0))))
+
+;; This version is required by maven-wagon
+(define-public java-eclipse-jetty-util-9.2
+ (package
+ (inherit java-eclipse-jetty-util)
+ (version "9.2.22")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/eclipse/jetty.project/"
+ "archive/jetty-" version
".v20170606.tar.gz"))
+ (sha256
+ (base32
+ "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
+ (arguments
+ `(#:jar-name "eclipse-jetty-util.jar"
+ #:source-dir "src/main/java"
+ #:jdk ,icedtea-8
+ #:test-exclude
+ (list "**/Abstract*.java"
+ ;; requires network
+ "**/InetAddressSetTest.java"
+ ;; Assumes we are using maven
+ "**/TypeUtilTest.java"
+ ;; We don't have an implementation for slf4j
+ "**/LogTest.java"
+ ;; Error on the style of log
+ "**/StdErrLogTest.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "jetty-util")))
+ (add-before 'check 'fix-sources
+ (lambda _
+ (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
+ (substitute* (string-append src "/AbstractFSResourceTest.java")
+ (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
+ (("testdir.getFile\\(\"foo\"\\)")
+ "testdir.getPathFile(\"foo\").toFile()")
+ (("testdir.getFile\\(name\\)")
+ "testdir.getPathFile(name).toFile()"))))))))))
--
2.14.2
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., (continued)
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., julien, 2017/10/14
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., Ricardo Wurmus, 2017/10/19
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., julien lepiller, 2017/10/19
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., Julien Lepiller, 2017/10/22
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., Ricardo Wurmus, 2017/10/22
- [bug#28841] [PATCH 03/24] gnu: Add java-eclipse-jetty-test-helper., julien lepiller, 2017/10/23
[bug#28841] [PATCH 07/24] gnu: Add java-eclipse-jetty-io., julien, 2017/10/14
[bug#28841] [PATCH 11/24] gnu: Add java-eclipse-jetty-jmx., julien, 2017/10/14
[bug#28841] [PATCH 20/24] gnu: Add java-javax-inject., julien, 2017/10/14
[bug#28841] [PATCH 08/24] gnu: Add java-eclipse-jetty-io-9.2., julien, 2017/10/14
[bug#28841] [PATCH 06/24] gnu: Add java-eclipse-jetty-util-9.2.,
julien <=
[bug#28841] [PATCH 10/24] gnu: Add java-eclipse-jetty-http-9.2., julien, 2017/10/14
[bug#28841] [PATCH 13/24] gnu: Add java-eclipse-jetty-server., julien, 2017/10/14
[bug#28841] [PATCH 09/24] gnu: Add java-eclipse-jetty-http., julien, 2017/10/14
[bug#28841] [PATCH 16/24] gnu: Add java-eclipse-jetty-security-9.2., julien, 2017/10/14
[bug#28841] [PATCH 15/24] gnu: Add java-eclipse-jetty-security., julien, 2017/10/14
[bug#28841] [PATCH 18/24] gnu: Add java-eclipse-jetty-servlet-9.2., julien, 2017/10/14
[bug#28841] [PATCH 12/24] gnu: Add java-eclipse-jetty-jmx-9.2., julien, 2017/10/14
[bug#28841] [PATCH 14/24] gnu: Add java-eclipse-jetty-server-9.2., julien, 2017/10/14
[bug#28841] [PATCH 17/24] gnu: Add java-eclipse-jetty-servlet., julien, 2017/10/14
[bug#28841] [PATCH 24/24] gnu: Add java-jboss-javassist., julien, 2017/10/14