]> source.dussan.org Git - jgit.git/commitdiff
Bump jetty version to 12.0.9 and servlet-api to 6.0 91/1194291/4 next
authorDavid Ostrovsky <david@ostrovsky.org>
Sun, 5 May 2024 08:56:32 +0000 (10:56 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 8 May 2024 00:47:05 +0000 (02:47 +0200)
Bug: jgit-41
Change-Id: Ib3e42581db2dd88043a1a67d606795501b8019f4

55 files changed:
WORKSPACE
lib/BUILD
org.eclipse.jgit.http.server/META-INF/MANIFEST.MF
org.eclipse.jgit.http.test/META-INF/MANIFEST.MF
org.eclipse.jgit.http.test/pom.xml
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AdvertiseErrorTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AsIsServiceTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DefaultReceivePackFactoryTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DefaultUploadPackFactoryTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientDumbServerTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientSmartServerTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ErrorServletTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/GitServletInitTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/GitServletResponseTests.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HookMessageTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/MeasurePackSizeTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/RegexPipelineTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SetAdditionalHeadersTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerSslTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
org.eclipse.jgit.junit.http/BUILD
org.eclipse.jgit.junit.http/META-INF/MANIFEST.MF
org.eclipse.jgit.junit.http/pom.xml
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/SimpleHttpServer.java
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/TestRequestLog.java
org.eclipse.jgit.lfs.server.test/META-INF/MANIFEST.MF
org.eclipse.jgit.lfs.server.test/pom.xml
org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/LfsServerTest.java
org.eclipse.jgit.lfs.server/META-INF/MANIFEST.MF
org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.17.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.18.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.19.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.20.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.21.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.22.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.23.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.24.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.25.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.26.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.27.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.28.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.29.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.30.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.31.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/maven/dependencies.tpd
org.eclipse.jgit.pgm/META-INF/MANIFEST.MF
org.eclipse.jgit.pgm/pom.xml
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java
pom.xml

index a21e3f0b988321bd830115e704e326b1036cd3fa..ab80a64da6c397b032cac28556d0c5567c94d6ed 100644 (file)
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -162,8 +162,8 @@ maven_jar(
 
 maven_jar(
     name = "servlet-api",
-    artifact = "jakarta.servlet:jakarta.servlet-api:5.0.0",
-    sha1 = "2e6b8ccde55522c879434ddec3714683ccae6867",
+    artifact = "jakarta.servlet:jakarta.servlet-api:6.0.0",
+    sha1 = "abecc699286e65035ebba9844c03931357a6a963",
 )
 
 maven_jar(
@@ -240,55 +240,62 @@ maven_jar(
     sha1 = "b3add478d4382b78ea20b1671390a858002feb6c",
 )
 
-JETTY_VER = "11.0.20"
+JETTY_VER = "12.0.9"
 
 maven_jar(
     name = "jetty-servlet",
-    artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER,
-    sha1 = "a1d845eb6cec5d4667daffd0028a642fb3a9103c",
-    src_sha1 = "61ff906fa41d8fe313148c32ed7af4750bfed989",
+    artifact = "org.eclipse.jetty.ee10:jetty-ee10-servlet:" + JETTY_VER,
+    sha1 = "19e056d75741e7348411d677a9b26a54ea4b7d16",
+    src_sha1 = "d7fcb4e9d259c1dd8595c6163054be449072fe14",
 )
 
 maven_jar(
     name = "jetty-security",
     artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER,
-    sha1 = "610df128b530f3edde46f784b42aa60bd46375c5",
-    src_sha1 = "21c82fbce2ddc9cf0e5bdd2de31e99312079b44c",
+    sha1 = "0c03a77f9d1a8b595cb4a83011cef735bd34bc95",
+    src_sha1 = "9fba93bbce1466ef9c77d7a75338abd479641721",
 )
 
 maven_jar(
     name = "jetty-server",
     artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER,
-    sha1 = "4b42686cc172c2dc68014ae62800ba49cef1fc68",
-    src_sha1 = "9df80a893fa573e0b1d4d186bf73db6966f26f64",
+    sha1 = "87adc518dd68b674e08d7e4968d07b6dc73214f1",
+    src_sha1 = "5404f097aae0126b820b040b4e924f31fe4ff25b",
+)
+
+maven_jar(
+    name = "jetty-session",
+    artifact = "org.eclipse.jetty:jetty-session:" + JETTY_VER,
+    sha1 = "628444f02dfbc4efbd1920a12e055580b227e86b",
+    src_sha1 = "2ac0ca2c84fa8e40655af1482a9c67d60d659ad2",
 )
 
 maven_jar(
     name = "jetty-http",
     artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER,
-    sha1 = "1673815598a7932110813edbcd9b5be6f354937b",
-    src_sha1 = "d75c02dedd8bc91cc8ab5a175c7b4157d86d3996",
+    sha1 = "cb54f006b1484306bc4b24dc3802cff472a6ba82",
+    src_sha1 = "a1a6bc169e06007cabf6534fd7c7d1f2e91ab775",
 )
 
 maven_jar(
     name = "jetty-io",
     artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER,
-    sha1 = "2095d70a6089a6af5ad22d3c8ea0887e3d56f776",
-    src_sha1 = "cfd54d4686deb71272af25f01f150f035cf7e206",
+    sha1 = "03e8f5b5c6d583ea591064671c23b8639c132052",
+    src_sha1 = "41b5752f3aa4c77f872649c215142aee1d6a3395",
 )
 
 maven_jar(
     name = "jetty-util",
     artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER,
-    sha1 = "6b72e01745c0fa15037d034ae699b059180862d9",
-    src_sha1 = "7dfc8ca46ba4f92a14a74d20f7c5842122da797f",
+    sha1 = "996ebc69825af41d49e2edc6796eb714acdc3369",
+    src_sha1 = "fe3b4ecf5a176bfd3c0055e5e1490503d90965e8",
 )
 
 maven_jar(
     name = "jetty-util-ajax",
     artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER,
-    sha1 = "2ca8b1f9ecf1f3c0d7456d6a7535df2c91f319ec",
-    src_sha1 = "b6166377c13014b299e69aa57af741d1fd4aaaa0",
+    sha1 = "634f67e811e0ad2acb32feaaf409927d80cd69ae",
+    src_sha1 = "192f1e1254f659af64c6cd1124807fa12bdfa721",
 )
 
 BOUNCYCASTLE_VER = "1.77"
index 88062175778266d778db7fd241bc7bb3c97d0ea1..c2a8271bbeec1a9f5038b100e54430c5bc8ee85c 100644 (file)
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -152,6 +152,13 @@ java_library(
     exports = ["@jetty-security//jar"],
 )
 
+java_library(
+    name = "jetty-session",
+    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
+    visibility = ["//visibility:public"],
+    exports = ["@jetty-session//jar"],
+)
+
 java_library(
     name = "jetty-server",
     # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
index 0738914bcf6731b6eb12c3fd87570536cea63b02..124129d73d2efc9c8f378db007817a792d92cc8e 100644 (file)
@@ -17,8 +17,8 @@ Export-Package: org.eclipse.jgit.http.server;version="7.0.0",
    org.eclipse.jgit.transport,
 Bundle-ActivationPolicy: lazy
 Bundle-RequiredExecutionEnvironment: JavaSE-17
-Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
- jakarta.servlet.http;version="[5.0.0,6.0.0)",
+Import-Package: jakarta.servlet;version="[6.0.0,7.0.0)",
+ jakarta.servlet.http;version="[6.0.0,7.0.0)",
  org.eclipse.jgit.annotations;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.errors;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.internal.storage.dfs;version="[7.0.0,7.1.0)",
index f21d553eaf0496d1a3bf1ae6d940bffb6902d4c5..edce2d8d27c0906d77f48d84d6cb6ee37a5cb71d 100644 (file)
@@ -9,25 +9,26 @@ Bundle-Localization: plugin
 Bundle-RequiredExecutionEnvironment: JavaSE-17
 Require-Bundle: org.hamcrest.core;bundle-version="[1.3.0,2.0.0)",
  org.hamcrest.library;bundle-version="[1.3.0,2.0.0)"
-Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
- jakarta.servlet.http;version="[5.0.0,6.0.0)",
+Import-Package: jakarta.servlet;version="[6.0.0,7.0.0)",
+ jakarta.servlet.http;version="[6.0.0,7.0.0)",
+ net.bytebuddy.agent;version="[1.9.0,2.0.0)",
+ net.bytebuddy.dynamic.loading;version="[1.9.0,2.0.0)",
  org.apache.commons.codec;version="[1.6.0,2.0.0)",
  org.apache.commons.codec.binary;version="[1.6.0,2.0.0)",
  org.apache.http;version="[4.3.0,5.0.0)",
  org.apache.http.client;version="[4.4.0,5.0.0)",
  org.apache.http.message;version="[4.3.0,5.0.0)",
- org.eclipse.jetty.http;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.io;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security.authentication;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server.handler;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.servlet;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.component;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.log;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.thread;version="[11.0.0,12.0.0)",
+ org.eclipse.jetty.ee10.servlet;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.http;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.io;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security.authentication;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server.handler;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.component;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.thread;version="[12.0.0,13.0.0)",
  org.eclipse.jgit.api;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.errors;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.http.server;version="[7.0.0,7.1.0)",
@@ -51,4 +52,5 @@ Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
  org.junit;version="[4.13,5.0.0)",
  org.junit.rules;version="[4.13,5.0.0)",
  org.junit.runner;version="[4.13,5.0.0)",
- org.junit.runners;version="[4.13,5.0.0)"
+ org.junit.runners;version="[4.13,5.0.0)",
+ org.mockito;version="[5.4.0,6.0.0)"
index 9187612b97287daad1807aea5654e05fee879226..01ee7824cac1a434f7e30d4f0bb9111dcb6393cf 100644 (file)
       <version>${hamcrest-version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>org.eclipse.jgit</groupId>
       <artifactId>org.eclipse.jgit.junit.http</artifactId>
@@ -77,8 +82,8 @@
     </dependency>
 
     <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-servlet</artifactId>
+      <groupId>org.eclipse.jetty.ee10</groupId>
+      <artifactId>jetty-ee10-servlet</artifactId>
     </dependency>
   </dependencies>
 
index 5a12410279da83b3095f2ce68fb46a11d5312d90..fd78ba888ca51b486c26d700aa945326a8a36127 100644 (file)
@@ -17,8 +17,8 @@ import java.util.Collections;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.RemoteRepositoryException;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.http.server.GitServlet;
index 062d6248c1c999704084ad04929e0be48b69fa0c..f5db80ba3daeafd58c53d20dc329a469e5e7801e 100644 (file)
@@ -14,9 +14,6 @@ import static org.junit.Assert.fail;
 
 import java.io.IOException;
 
-import jakarta.servlet.http.HttpServletRequestWrapper;
-
-import org.eclipse.jetty.server.Request;
 import org.eclipse.jgit.http.server.resolver.AsIsFileService;
 import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
 import org.eclipse.jgit.lib.Repository;
@@ -25,6 +22,10 @@ import org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException;
 import org.eclipse.jgit.transport.resolver.ServiceNotEnabledException;
 import org.junit.Before;
 import org.junit.Test;
+import org.mockito.Mockito;
+
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequestWrapper;
 
 public class AsIsServiceTest extends LocalDiskRepositoryTestCase {
        private Repository db;
@@ -101,7 +102,7 @@ public class AsIsServiceTest extends LocalDiskRepositoryTestCase {
                private final String host;
 
                R(String user, String host) {
-                       super(new Request(null, null) /* can't pass null, sigh */);
+                       super(Mockito.mock(HttpServletRequest.class));
                        this.user = user;
                        this.host = host;
                }
index 3042564276d120bb846e75e17fc3d309008732ef..62979129fc723855d585ef426d0b2a9d0d7de624 100644 (file)
@@ -17,10 +17,6 @@ import static org.junit.Assert.fail;
 
 import java.io.IOException;
 
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletRequestWrapper;
-
-import org.eclipse.jetty.server.Request;
 import org.eclipse.jgit.http.server.resolver.DefaultReceivePackFactory;
 import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
 import org.eclipse.jgit.lib.PersonIdent;
@@ -32,6 +28,10 @@ import org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException;
 import org.eclipse.jgit.transport.resolver.ServiceNotEnabledException;
 import org.junit.Before;
 import org.junit.Test;
+import org.mockito.Mockito;
+
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequestWrapper;
 
 public class DefaultReceivePackFactoryTest extends LocalDiskRepositoryTestCase {
        private Repository db;
@@ -173,7 +173,7 @@ public class DefaultReceivePackFactoryTest extends LocalDiskRepositoryTestCase {
                private final String host;
 
                R(String user, String host) {
-                       super(new Request(null, null) /* can't pass null, sigh */);
+                       super(Mockito.mock(HttpServletRequest.class));
                        this.user = user;
                        this.host = host;
                }
index c5007aabb7a9871558f7d359b4e4321c6f8c7ca4..90188be2c67ef4033e26deabdb11e8ebe9989946 100644 (file)
@@ -16,10 +16,6 @@ import static org.junit.Assert.fail;
 
 import java.io.IOException;
 
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletRequestWrapper;
-
-import org.eclipse.jetty.server.Request;
 import org.eclipse.jgit.http.server.resolver.DefaultUploadPackFactory;
 import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
 import org.eclipse.jgit.lib.Repository;
@@ -30,6 +26,10 @@ import org.eclipse.jgit.transport.resolver.ServiceNotEnabledException;
 import org.eclipse.jgit.transport.resolver.UploadPackFactory;
 import org.junit.Before;
 import org.junit.Test;
+import org.mockito.Mockito;
+
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequestWrapper;
 
 public class DefaultUploadPackFactoryTest extends LocalDiskRepositoryTestCase {
        private Repository db;
@@ -129,7 +129,7 @@ public class DefaultUploadPackFactoryTest extends LocalDiskRepositoryTestCase {
                private final String host;
 
                R(String user, String host) {
-                       super(new Request(null, null) /* can't pass null, sigh */);
+                       super(Mockito.mock(HttpServletRequest.class));
                        this.user = user;
                        this.host = host;
                }
index 8b28c4292c9394426decc4bc3e272ad2bfe7d504..7ccc0e5d9afa55b0883f4c4502a90ec0d83f687c 100644 (file)
@@ -25,9 +25,9 @@ import java.net.URI;
 import java.util.List;
 import java.util.Map;
 
-import org.eclipse.jetty.servlet.DefaultServlet;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.DefaultServlet;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.NotSupportedException;
 import org.eclipse.jgit.junit.TestRepository;
 import org.eclipse.jgit.junit.http.AccessEvent;
@@ -70,7 +70,7 @@ public class DumbClientDumbServerTest extends AllFactoriesHttpTestCase {
                final URI base = srcGit.getParentFile().toURI();
 
                ServletContextHandler app = server.addContext("/git");
-               app.setResourceBase(base.toString());
+               app.setBaseResourceAsString(base.toString());
                ServletHolder holder = app.addServlet(DefaultServlet.class, "/");
                // The tmp directory is symlinked on OS X
                holder.setInitParameter("aliases", "true");
index 986b5ca92bcf9ad04863600a8d513320ad60fb16..9b9f6843deec9b78f982792bac88da864d9f2db5 100644 (file)
@@ -25,8 +25,8 @@ import java.io.IOException;
 import java.util.List;
 import java.util.Map;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.NotSupportedException;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.junit.TestRepository;
index a837db06cd04ef03c6a3b5418266dd911a52580e..9a610c6b73803ff74ca5e72a047f59541126a550 100644 (file)
@@ -15,8 +15,8 @@ import static org.junit.Assert.assertEquals;
 import java.net.HttpURLConnection;
 import java.net.URI;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.http.server.glue.ErrorServlet;
 import org.eclipse.jgit.junit.http.AppServer;
 import org.junit.After;
index 4d51bec852fbd1ddcd048428299d61300a146ee7..c8873606f33e8f7460db9be714d50b29b8e26af9 100644 (file)
@@ -13,13 +13,8 @@ package org.eclipse.jgit.http.test;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import java.util.List;
-
-import jakarta.servlet.ServletException;
-
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
-import org.eclipse.jetty.util.MultiException;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.junit.http.AppServer;
 import org.eclipse.jgit.junit.http.MockServletConfig;
@@ -27,6 +22,8 @@ import org.eclipse.jgit.junit.http.RecordingLogger;
 import org.junit.After;
 import org.junit.Test;
 
+import jakarta.servlet.ServletException;
+
 public class GitServletInitTest {
        private AppServer server;
 
@@ -75,14 +72,14 @@ public class GitServletInitTest {
                        server.setUp();
                } catch (Exception e) {
                        Throwable why = null;
-                       if (e instanceof MultiException) {
-                               MultiException multi = (MultiException) e;
-                               List<Throwable> reasons = multi.getThrowables();
-                               why = reasons.get(0);
+                       Throwable[] reasons = e.getSuppressed();
+                       if (reasons.length > 0) {
+                               why = reasons[0];
                                assertTrue("Expected ServletException",
                                                why instanceof ServletException);
-                       } else if (e instanceof ServletException)
+                       } else if (e instanceof ServletException) {
                                why = e;
+                       }
 
                        if (why != null) {
                                assertTrue("Wanted base-path",
index 12bfac6ffe7d1e9e3ad8bf6122753609064c89af..9331efa603067f663c87a7ffe26f41a29b2947fc 100644 (file)
@@ -17,8 +17,8 @@ import java.util.Collections;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.CorruptObjectException;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.errors.TooLargePackException;
index 5bb6c45ab54d61b7c9df9a71765f70db90cab9b9..082d853f42d7d4742346f4ef9d1d1f4b565ad5a5 100644 (file)
@@ -22,8 +22,8 @@ import java.util.List;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.http.server.resolver.DefaultReceivePackFactory;
index 8c0d7ecce730d2d0805eb9ab06cd294553ee09d8..3937627f53c2ae8898d03e8cdf7c2a7d946e05e9 100644 (file)
@@ -30,9 +30,9 @@ import java.util.Set;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.DefaultServlet;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.DefaultServlet;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.api.Git;
 import org.eclipse.jgit.errors.NoRemoteRepositoryException;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
@@ -105,7 +105,7 @@ public class HttpClientTests extends AllFactoriesHttpTestCase {
                final URI base = srcGit.getParentFile().toURI();
 
                ServletContextHandler ctx = server.addContext(path);
-               ctx.setResourceBase(base.toString());
+               ctx.setBaseResourceAsString(base.toString());
                ServletHolder holder = ctx.addServlet(DefaultServlet.class, "/");
                // The tmp directory is symlinked on OS X
                holder.setInitParameter("aliases", "true");
index 9030f51b30739b2a9879abea230a33637f34166a..183043b2d42d694ab90032b3e4b72c0d5e7c1b4c 100644 (file)
@@ -16,8 +16,8 @@ import java.util.Collections;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.http.server.resolver.DefaultReceivePackFactory;
index 9fa8584b3f4312c19c1ad21a9a70858112533f15..74028d762d55b5296b312163f03e24d578830494 100644 (file)
@@ -22,8 +22,8 @@ import java.net.URL;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.http.server.GitSmartHttpTools;
index e30212de88e02cfbff8a33238bd4e3d46fa58ce5..dfdb975ef61abef3ff8701fa7f5c7ab6a2ca2dc3 100644 (file)
@@ -59,8 +59,8 @@ import jakarta.servlet.http.HttpServlet;
 import jakarta.servlet.http.HttpServletRequest;
 import jakarta.servlet.http.HttpServletResponse;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.http.server.glue.MetaServlet;
 import org.eclipse.jgit.http.server.glue.RegexGroupFilter;
 import org.eclipse.jgit.junit.http.AppServer;
index cda2b325296b1ce99363ee51519ec9fc3dd03067..d569431684521723001b03e82d92b0a00d05906e 100644 (file)
@@ -20,9 +20,9 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.eclipse.jetty.servlet.DefaultServlet;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.DefaultServlet;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.junit.TestRepository;
 import org.eclipse.jgit.junit.http.AccessEvent;
 import org.eclipse.jgit.lib.Repository;
@@ -58,7 +58,7 @@ public class SetAdditionalHeadersTest extends AllFactoriesHttpTestCase {
                final URI base = srcGit.getParentFile().toURI();
 
                ServletContextHandler app = server.addContext("/git");
-               app.setResourceBase(base.toString());
+               app.setBaseResourceAsString(base.toString());
                ServletHolder holder = app.addServlet(DefaultServlet.class, "/");
                // The tmp directory is symlinked on OS X
                holder.setInitParameter("aliases", "true");
index 19f6bcd463a165123c3a4394e4cfc942cc0b92a9..13ed36cb8c4d4015813c9e0badb86271784bc7aa 100644 (file)
@@ -29,9 +29,9 @@ import jakarta.servlet.ServletResponse;
 import jakarta.servlet.http.HttpServletRequest;
 import jakarta.servlet.http.HttpServletResponse;
 
-import org.eclipse.jetty.servlet.FilterHolder;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.FilterHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.TransportException;
 import org.eclipse.jgit.errors.UnsupportedCredentialItem;
 import org.eclipse.jgit.http.server.GitServlet;
index 45ca6ba0113f2213adb336e5fab5f82fadff8a31..850e8957900f2a53be69ebbefb81e6f519c303d8 100644 (file)
@@ -52,9 +52,9 @@ import jakarta.servlet.ServletResponse;
 import jakarta.servlet.http.HttpServletRequest;
 import jakarta.servlet.http.HttpServletResponse;
 
-import org.eclipse.jetty.servlet.FilterHolder;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.FilterHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.api.Git;
 import org.eclipse.jgit.api.TransportConfigCallback;
 import org.eclipse.jgit.errors.NoRemoteRepositoryException;
index 8e6a5089c863cae0ed39983dc3e2d93588386a8f..5ddd0c8d5684ca3f15e706a0b14f33423fc269b1 100644 (file)
@@ -10,9 +10,11 @@ java_library(
     # TODO(davido): we want here provided deps
     deps = [
         "//lib:jetty-http",
+        "//lib:jetty-io",
         "//lib:jetty-security",
         "//lib:jetty-server",
         "//lib:jetty-servlet",
+        "//lib:jetty-session",
         "//lib:jetty-util",
         "//lib:junit",
         "//lib:servlet-api",
index 15453f37dd252aaa44b435fb87905e5f6aaf4ab9..3e983511d51bdc55528d4b22b97de7cd1d914e80 100644 (file)
@@ -8,19 +8,20 @@ Bundle-Localization: OSGI-INF/l10n/plugin
 Bundle-Vendor: %Bundle-Vendor
 Bundle-ActivationPolicy: lazy
 Bundle-RequiredExecutionEnvironment: JavaSE-17
-Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
- jakarta.servlet.http;version="[5.0.0,6.0.0)",
+Import-Package: jakarta.servlet;version="[6.0.0,7.0.0)",
+ jakarta.servlet.http;version="[6.0.0,7.0.0)",
  org.apache.commons.logging;version="[1.1.1,2.0.0)",
- org.eclipse.jetty.http;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security.authentication;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server.handler;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.servlet;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.component;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.log;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.ssl;version="[11.0.0,12.0.0)",
+ org.eclipse.jetty.ee10.servlet;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.ee10.servlet.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.http;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security.authentication;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server.handler;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.component;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.ssl;version="[12.0.0,13.0.0)",
  org.eclipse.jgit.errors;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.http.server;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.internal.storage.file;version="[7.0.0,7.1.0)",
index 05701bd2431e763d23fbf9f4e7526d63f35c73e7..67c82652cb7810bfe502b4578808a637db7af50a 100644 (file)
       <version>${project.version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>org.eclipse.jetty.ee10</groupId>
+      <artifactId>jetty-ee10-servlet</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-servlet</artifactId>
+      <artifactId>jetty-session</artifactId>
     </dependency>
   </dependencies>
 
index 3d4f3792438aadedf93ac9b78c1f00a8cbf6e34e..36da539e8df21582ea63b304db2014353f9fa24c 100644 (file)
 package org.eclipse.jgit.junit.http;
 
 import java.util.Collections;
-import java.util.Enumeration;
 import java.util.Map;
 import java.util.TreeMap;
 
+import org.eclipse.jetty.http.HttpField;
+import org.eclipse.jetty.http.HttpURI;
 import org.eclipse.jetty.server.Request;
 import org.eclipse.jetty.server.Response;
+import org.eclipse.jetty.util.Fields;
 
 /**
  * A single request made through {@link org.eclipse.jgit.junit.http.AppServer}.
@@ -24,7 +26,7 @@ import org.eclipse.jetty.server.Response;
 public class AccessEvent {
        private final String method;
 
-       private final String uri;
+       private final HttpURI uri;
 
        private final Map<String, String> requestHeaders;
 
@@ -36,9 +38,9 @@ public class AccessEvent {
 
        AccessEvent(Request req) {
                method = req.getMethod();
-               uri = req.getRequestURI();
+               uri = req.getHttpURI();
                requestHeaders = cloneHeaders(req);
-               parameters = clone(req.getParameterMap());
+               parameters = cloneParameters(req);
        }
 
        void setResponse(Response rsp) {
@@ -48,11 +50,10 @@ public class AccessEvent {
 
        private static Map<String, String> cloneHeaders(Request req) {
                Map<String, String> r = new TreeMap<>();
-               Enumeration hn = req.getHeaderNames();
-               while (hn.hasMoreElements()) {
-                       String key = (String) hn.nextElement();
+               for (HttpField f : req.getHeaders()) {
+                       String key = f.getName();
                        if (!r.containsKey(key)) {
-                               r.put(key, req.getHeader(key));
+                               r.put(key, f.getValue());
                        }
                }
                return Collections.unmodifiableMap(r);
@@ -60,20 +61,29 @@ public class AccessEvent {
 
        private static Map<String, String> cloneHeaders(Response rsp) {
                Map<String, String> r = new TreeMap<>();
-               Enumeration<String> hn = rsp.getHttpFields().getFieldNames();
-               while (hn.hasMoreElements()) {
-                       String key = hn.nextElement();
+               for (HttpField f : rsp.getHeaders()) {
+                       String key = f.getName();
                        if (!r.containsKey(key)) {
-                               Enumeration<String> v = rsp.getHttpFields().getValues(key);
-                               r.put(key, v.nextElement());
+                               r.put(key, f.getValue());
                        }
                }
                return Collections.unmodifiableMap(r);
        }
 
-       @SuppressWarnings("unchecked")
-       private static Map<String, String[]> clone(Map parameterMap) {
-               return new TreeMap<>(parameterMap);
+       private static Map<String, String[]> cloneParameters(Request req) {
+               Map<String, String[]> r = new TreeMap<>();
+
+               Fields fields;
+               try {
+                       fields = Request.getParameters(req);
+                       for (String n : fields.getNames()) {
+                               r.put(n, fields.getValues(n).toArray(new String[0]));
+                       }
+               } catch (Exception e) {
+                       throw new RuntimeException("Failed to extract request parameters",
+                                       e);
+               }
+               return r;
        }
 
        /**
@@ -91,7 +101,7 @@ public class AccessEvent {
         * @return path of the file on the server, e.g. {@code /git/HEAD}.
         */
        public String getPath() {
-               return uri;
+               return uri.getPath();
        }
 
        /**
@@ -151,7 +161,7 @@ public class AccessEvent {
                StringBuilder b = new StringBuilder();
                b.append(method);
                b.append(' ');
-               b.append(uri);
+               b.append(uri.getPath());
                if (!parameters.isEmpty()) {
                        b.append('?');
                        boolean first = true;
index de4535ab5298d02362ede0d8f4d161860a5a049c..76e437bc3d655e5920ecf6aabe550f3500c90f63 100644 (file)
@@ -27,10 +27,12 @@ import java.util.Locale;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.security.ConstraintMapping;
+import org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler;
 import org.eclipse.jetty.security.AbstractLoginService;
 import org.eclipse.jetty.security.Authenticator;
-import org.eclipse.jetty.security.ConstraintMapping;
-import org.eclipse.jetty.security.ConstraintSecurityHandler;
+import org.eclipse.jetty.security.Constraint;
 import org.eclipse.jetty.security.RolePrincipal;
 import org.eclipse.jetty.security.UserPrincipal;
 import org.eclipse.jetty.security.authentication.BasicAuthenticator;
@@ -42,8 +44,6 @@ import org.eclipse.jetty.server.Server;
 import org.eclipse.jetty.server.ServerConnector;
 import org.eclipse.jetty.server.SslConnectionFactory;
 import org.eclipse.jetty.server.handler.ContextHandlerCollection;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.util.security.Constraint;
 import org.eclipse.jetty.util.security.Password;
 import org.eclipse.jetty.util.ssl.SslContextFactory;
 import org.eclipse.jgit.transport.URIish;
@@ -243,6 +243,7 @@ public class AppServer {
         *            path of the context; use "/" for the root context if binding
         *            to the root is desired.
         * @return the context to add servlets into.
+        * @since 7.0
         */
        public ServletContextHandler addContext(String path) {
                assertNotYetSetUp();
@@ -264,6 +265,7 @@ public class AppServer {
         * @param methods
         *            the methods
         * @return servlet context handler
+        * @since 7.0
         */
        public ServletContextHandler authBasic(ServletContextHandler ctx,
                        String... methods) {
@@ -305,10 +307,10 @@ public class AppServer {
 
        private ConstraintMapping createConstraintMapping() {
                ConstraintMapping cm = new ConstraintMapping();
-               cm.setConstraint(new Constraint());
-               cm.getConstraint().setAuthenticate(true);
-               cm.getConstraint().setDataConstraint(Constraint.DC_NONE);
-               cm.getConstraint().setRoles(new String[] { authRole });
+               Constraint constraint = new Constraint.Builder()
+                               .authorization(Constraint.Authorization.SPECIFIC_ROLE)
+                               .roles(new String[] { authRole }).build();
+               cm.setConstraint(constraint);
                cm.setPathSpec("/*");
                return cm;
        }
index 8a4d363709fb7ddc8283b1e48763af6d0a1f4a0e..f399471b398f0571ae008952fe083bf138471eca 100644 (file)
@@ -21,7 +21,7 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
 import org.eclipse.jgit.internal.storage.file.FileRepository;
 import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
 import org.eclipse.jgit.junit.TestRepository;
@@ -109,6 +109,7 @@ public abstract class HttpTestCase extends LocalDiskRepositoryTestCase {
         * @return the warnings (if any) from the last execution
         * @throws URISyntaxException
         *             if URI is invalid
+        * @since 7.0
         */
        protected URIish toURIish(ServletContextHandler app, String name)
                        throws URISyntaxException {
index 790a6eb6573d1b1baee96f6565e503c2255b12e7..bce41383d172f4379ef6536cd444abfeec23cc7f 100644 (file)
@@ -15,8 +15,8 @@ import java.net.URISyntaxException;
 
 import jakarta.servlet.http.HttpServletRequest;
 
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.RepositoryNotFoundException;
 import org.eclipse.jgit.http.server.GitServlet;
 import org.eclipse.jgit.lib.Repository;
index 799decafa6cdddee78a73d21cac33158fc9791b6..7a71951dbd5153d42e6e6b0b13f2a1db58c85a7b 100644 (file)
 
 package org.eclipse.jgit.junit.http;
 
-import java.io.IOException;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.List;
 import java.util.concurrent.Semaphore;
 
-import jakarta.servlet.DispatcherType;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
+import org.eclipse.jetty.server.Handler.Wrapper;
 import org.eclipse.jetty.server.Request;
 import org.eclipse.jetty.server.Response;
-import org.eclipse.jetty.server.handler.HandlerWrapper;
+import org.eclipse.jetty.util.Callback;
 
 /** Logs request made through {@link AppServer}. */
-class TestRequestLog extends HandlerWrapper {
+class TestRequestLog extends Wrapper {
        private static final int MAX = 16;
 
-       private final List<AccessEvent> events = new ArrayList<>();
+       private final List<AccessEvent> events = Collections
+                       .synchronizedList(new ArrayList<>());
 
        private final Semaphore active = new Semaphore(MAX, true);
 
@@ -43,10 +40,7 @@ class TestRequestLog extends HandlerWrapper {
                                        continue;
                                }
                        }
-
-                       synchronized (events) {
-                               events.clear();
-                       }
+                       events.clear();
                } finally {
                        active.release(MAX);
                }
@@ -63,19 +57,15 @@ class TestRequestLog extends HandlerWrapper {
                                        continue;
                                }
                        }
-
-                       synchronized (events) {
-                               return events;
-                       }
+                       return Collections.unmodifiableList(new ArrayList<>(events));
                } finally {
                        active.release(MAX);
                }
        }
 
        @Override
-       public void handle(String target, Request baseRequest,
-                       HttpServletRequest request, HttpServletResponse response)
-                       throws IOException, ServletException {
+       public boolean handle(Request request, Response response, Callback callback)
+                       throws Exception {
                try {
                        for (;;) {
                                try {
@@ -86,21 +76,13 @@ class TestRequestLog extends HandlerWrapper {
                                }
                        }
 
-                       AccessEvent event = null;
-                       if (DispatcherType.REQUEST
-                                       .equals(baseRequest.getDispatcherType())) {
-                               event = new AccessEvent((Request) request);
-                               synchronized (events) {
-                                       events.add(event);
-                               }
-                       }
+                       AccessEvent event = new AccessEvent(request);
+                       events.add(event);
 
-                       super.handle(target, baseRequest, request, response);
-
-                       if (event != null) {
-                               event.setResponse((Response) response);
-                       }
+                       boolean result = super.handle(request, response, callback);
 
+                       event.setResponse(response);
+                       return result;
                } finally {
                        active.release();
                }
index 737ff3f14e9c244cc9045e6bcfe95bead1cf14a4..8e41ee3d280d198f472a6191b03942a95b8dad18 100644 (file)
@@ -7,25 +7,25 @@ Bundle-Version: 7.0.0.qualifier
 Bundle-Vendor: %Bundle-Vendor
 Bundle-Localization: plugin
 Bundle-RequiredExecutionEnvironment: JavaSE-17
-Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
- jakarta.servlet.http;version="[5.0.0,6.0.0)",
+Import-Package: jakarta.servlet;version="[6.0.0,7.0.0)",
+ jakarta.servlet.http;version="[6.0.0,7.0.0)",
  org.apache.http;version="[4.4.0,5.0.0)",
  org.apache.http.client;version="[4.4.0,5.0.0)",
  org.apache.http.client.methods;version="[4.4.0,5.0.0)",
  org.apache.http.entity;version="[4.4.0,5.0.0)",
  org.apache.http.impl.client;version="[4.4.0,5.0.0)",
- org.eclipse.jetty.http;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.io;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.security.authentication;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server.handler;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.servlet;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.component;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.log;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.security;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.thread;version="[11.0.0,12.0.0)",
+ org.eclipse.jetty.ee10.servlet;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.http;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.io;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.security.authentication;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.session;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server.handler;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.component;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.security;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.thread;version="[12.0.0,13.0.0)",
  org.eclipse.jgit.api;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.api.errors;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.internal.storage.file;version="[7.0.0,7.1.0)",
index 9cdd7a9f227266b1f7023b889f19af0479c78e16..49c1023ef076641c1f294e7303a37705fec35108 100644 (file)
@@ -74,8 +74,8 @@
     </dependency>
 
     <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-servlet</artifactId>
+      <groupId>org.eclipse.jetty.ee10</groupId>
+      <artifactId>jetty-ee10-servlet</artifactId>
       <scope>test</scope>
     </dependency>
 
index b2b9ee010b2d7feaabb6f54c150e5e2b581b918d..9a49023fcbae1ff148326370c893ae21ce4f52b5 100644 (file)
@@ -39,8 +39,8 @@ import org.apache.http.entity.InputStreamEntity;
 import org.apache.http.entity.StringEntity;
 import org.apache.http.impl.client.CloseableHttpClient;
 import org.apache.http.impl.client.HttpClientBuilder;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.junit.MockSystemReader;
 import org.eclipse.jgit.junit.http.AppServer;
 import org.eclipse.jgit.lfs.errors.LfsException;
index 7c521f93a6d52c7faec1137332b1ed806e0ab193..a59c82ed1ac762abf795161f1d232d34c6deedbb 100644 (file)
@@ -20,9 +20,9 @@ Export-Package: org.eclipse.jgit.lfs.server;version="7.0.0";
    org.eclipse.jgit.lfs.lib"
 Bundle-RequiredExecutionEnvironment: JavaSE-17
 Import-Package: com.google.gson;version="[2.8.0,3.0.0)",
- jakarta.servlet;version="[5.0.0,6.0.0)",
- jakarta.servlet.annotation;version="[5.0.0,6.0.0)",
- jakarta.servlet.http;version="[5.0.0,6.0.0)",
+ jakarta.servlet;version="[6.0.0,7.0.0)",
+ jakarta.servlet.annotation;version="[6.0.0,7.0.0)",
+ jakarta.servlet.http;version="[6.0.0,7.0.0)",
  org.apache.http;version="[4.3.0,5.0.0)",
  org.eclipse.jgit.annotations;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.internal;version="[7.0.0,7.1.0)",
index e0c790ad9071bbb53bf7ba5ef46943a287e5f25b..f46e08dfdc1183571431845f5917c6e3b03f0d39 100644 (file)
    <bundle id="org.eclipse.jetty.server.source">
       <category name="JGit-dependency-bundles"/>
    </bundle>
-   <bundle id="org.eclipse.jetty.servlet">
+   <bundle id="org.eclipse.jetty.ee10.servlet">
       <category name="JGit-dependency-bundles"/>
    </bundle>
-   <bundle id="org.eclipse.jetty.servlet.source">
+   <bundle id="org.eclipse.jetty.ee10.servlet.source">
       <category name="JGit-dependency-bundles"/>
    </bundle>
    <bundle id="org.eclipse.jetty.util">
index cd5f276e130fa75143fdf93f5b802f71a98a4bda..8899b518f0387faae445fb6fd2601331fe74eff8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.17" sequenceNumber="1714661051">
+<target name="jgit-4.17" sequenceNumber="1715125111">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 2abd522dbeb1ee5be53c6faf653f13ffa14fa759..ee56a725843abf6b4d0cd47bfb9590f8e106cd37 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.18" sequenceNumber="1714661051">
+<target name="jgit-4.18" sequenceNumber="1715125111">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 3c2a565d9486e3daacc2e7fa92e2438f3f179c48..ad35e58e3fcb2911f19c3a75623845061e2e2da0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.19-staging" sequenceNumber="1714661051">
+<target name="jgit-4.19-staging" sequenceNumber="1715125111">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 5a61cc440cd85cc64ec1dc604444eb7da79fc7e0..4031c045dc59c68290c351a4d3ad837b78b1f943 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.20" sequenceNumber="1714661051">
+<target name="jgit-4.20" sequenceNumber="1715125111">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index d4933c5dfa6a85356ec5936d4203d389058ea414..1a119f2f7eed67eefa68af4245142da4c7c4c69f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.21" sequenceNumber="1714661051">
+<target name="jgit-4.21" sequenceNumber="1715125111">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index c95554a5295d662f9b885e939261e698f2839ae0..1f6ee4eaacac9fbff9b084e7460666329f9576c4 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.22" sequenceNumber="1714661050">
+<target name="jgit-4.22" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 66d6f3a6ac153a1aa7edf7f3faf21782aff2e935..d0a04209b3675316c5aed7fd4d8a0266b497e580 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.23" sequenceNumber="1714661050">
+<target name="jgit-4.23" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index e7581831477489d4d2985fa52e54a463ea8883e6..dc9e090a238f9e8142a7e04681c451d1ac0bf39e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.24" sequenceNumber="1714661050">
+<target name="jgit-4.24" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 71cc4096748bd62a42b808b0779f4731a43da3e9..53dcb36667e8e5b7d71afd0ee3fbeb1112f04d9c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.25" sequenceNumber="1714661050">
+<target name="jgit-4.25" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index acfae9b7a8d485c952481b221d83b8d907c9fa2b..822c7cf41ef24cf31413e4636af757ea5666b137 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.26" sequenceNumber="1714661050">
+<target name="jgit-4.26" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 1d7bdde5083e4e96291786cb4446c4f448ef762b..9a0cab4248edb662cbbfcde7bfd8aa0e3021f06b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.27" sequenceNumber="1714661050">
+<target name="jgit-4.27" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 42af665453988836a464301859856a5f20181520..22aa30e6074c3169b3431add903a04f4023a7432 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.28" sequenceNumber="1714661050">
+<target name="jgit-4.28" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index f171138a616d650717f27048c80cc74d6e4a461c..f7fb7c9e5864189a8cc712a96f56f921ec57553d 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.29" sequenceNumber="1714661050">
+<target name="jgit-4.29" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index c2262095793e48e90096da96be5396c02c14fb46..733559d6600994119383f6095721141ab2ebc0d6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.30" sequenceNumber="1714661049">
+<target name="jgit-4.30" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 8e7706e07c4e2d7881b17be5be0b5a004a91694d..78ef16818ca8734ff4afdf45adf619a3c4cd9a61 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?pde?>
 <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="jgit-4.31" sequenceNumber="1714661050">
+<target name="jgit-4.31" sequenceNumber="1715125110">
   <locations>
     <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
       <unit id="com.jcraft.jsch" version="0.1.55.v20230916-1400"/>
     </location>
     <location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="jetty">
     <dependencies>
+       <dependency>
+               <groupId>org.eclipse.jetty.ee10</groupId>
+               <artifactId>jetty-ee10-servlet</artifactId>
+               <version>12.0.9</version>
+               <type>jar</type>
+       </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-http</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-io</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-security</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-server</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
-               <artifactId>jetty-servlet</artifactId>
-               <version>11.0.20</version>
+               <artifactId>jetty-session</artifactId>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-util-ajax</artifactId>
-               <version>11.0.20</version>
+               <version>12.0.9</version>
                <type>jar</type>
        </dependency>
        <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
-               <version>5.0.0</version>
+               <version>6.0.0</version>
                <type>jar</type>
        </dependency>
     </dependencies>
index 59fdbba3a07bbac578deab0a8c9e3dbfa2f052d0..a25f9c9650a19a0daa47ab00be79a7b8544c9026 100644 (file)
@@ -146,45 +146,50 @@ maven jetty
        missingManifest = error
        includeSources
 {
+       dependency {
+               groupId = "org.eclipse.jetty.ee10"
+               artifactId = "jetty-ee10-servlet"
+               version = "12.0.9"
+       }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-http"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-io"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-security"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-server"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
-               artifactId = "jetty-servlet"
-               version = "11.0.20"
+               artifactId = "jetty-session"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-util"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "org.eclipse.jetty"
                artifactId = "jetty-util-ajax"
-               version = "11.0.20"
+               version = "12.0.9"
        }
        dependency {
                groupId = "jakarta.servlet"
                artifactId = "jakarta.servlet-api"
-               version = "5.0.0"
+               version = "6.0.0"
        }
 }
 
index da6ab235f52c275b2670bf2890f6ca8a75d09192..bb0c23dd725b4cc3c8995cea41bb74f00864bc0a 100644 (file)
@@ -7,13 +7,13 @@ Bundle-Version: 7.0.0.qualifier
 Bundle-Vendor: %Bundle-Vendor
 Bundle-Localization: OSGI-INF/l10n/plugin
 Bundle-RequiredExecutionEnvironment: JavaSE-17
-Import-Package: jakarta.servlet;version="[5.0.0,6.0.0)",
+Import-Package: jakarta.servlet;version="[6.0.0,7.0.0)",
  org.apache.commons.logging;version="[1.2,2.0)",
- org.eclipse.jetty.server;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.server.handler;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.servlet;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util;version="[11.0.0,12.0.0)",
- org.eclipse.jetty.util.component;version="[11.0.0,12.0.0)",
+ org.eclipse.jetty.ee10.servlet;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.server.handler;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util;version="[12.0.0,13.0.0)",
+ org.eclipse.jetty.util.component;version="[12.0.0,13.0.0)",
  org.eclipse.jgit.api;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.api.errors;version="[7.0.0,7.1.0)",
  org.eclipse.jgit.archive;version="[7.0.0,7.1.0)",
index a33dcbaca1eef9376ef400c2f9263e1b118b914e..7cd76c301158656f042f7b681ae0d8d680b748e9 100644 (file)
     </dependency>
 
     <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-servlet</artifactId>
+      <groupId>org.eclipse.jetty.ee10</groupId>
+      <artifactId>jetty-ee10-servlet</artifactId>
     </dependency>
 
     <dependency>
index 653530d11aca754d80c1186e7e6557341a90fb9d..757c4357228d9584c9032fec61992c5d03e43e7a 100644 (file)
@@ -26,8 +26,8 @@ import org.eclipse.jetty.server.HttpConnectionFactory;
 import org.eclipse.jetty.server.Server;
 import org.eclipse.jetty.server.ServerConnector;
 import org.eclipse.jetty.server.handler.ContextHandlerCollection;
-import org.eclipse.jetty.servlet.ServletContextHandler;
-import org.eclipse.jetty.servlet.ServletHolder;
+import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
+import org.eclipse.jetty.ee10.servlet.ServletHolder;
 import org.eclipse.jgit.errors.ConfigInvalidException;
 import org.eclipse.jgit.lfs.server.LargeFileRepository;
 import org.eclipse.jgit.lfs.server.LfsProtocolServlet;
diff --git a/pom.xml b/pom.xml
index 86bf9bf5029d56ee70aea7a54c96852b1fe8334e..590dffa7c537cef1f9487c0e9691c761a9f385b3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <args4j-version>2.33</args4j-version>
     <commons-compress-version>1.26.0</commons-compress-version>
     <osgi-core-version>6.0.0</osgi-core-version>
-    <servlet-api-version>5.0.0</servlet-api-version>
-    <jetty-version>11.0.20</jetty-version>
+    <servlet-api-version>6.0.0</servlet-api-version>
+    <jetty-version>12.0.9</jetty-version>
     <japicmp-version>0.18.5</japicmp-version>
     <httpclient-version>4.5.14</httpclient-version>
     <httpcore-version>4.4.16</httpcore-version>
         <optional>true</optional>
       </dependency>
 
+      <dependency>
+        <groupId>org.eclipse.jetty.ee10</groupId>
+        <artifactId>jetty-ee10-servlet</artifactId>
+        <version>${jetty-version}</version>
+      </dependency>
+
       <dependency>
         <groupId>org.eclipse.jetty</groupId>
-        <artifactId>jetty-servlet</artifactId>
+        <artifactId>jetty-session</artifactId>
         <version>${jetty-version}</version>
       </dependency>