This is an automated email from the ASF dual-hosted git repository.
baedke pushed a commit to branch issues/OAK-10337
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/issues/OAK-10337 by this push:
new bf183ef356 OAK-10337: mvn jetty:run fails to start oak-web
bf183ef356 is described below
commit bf183ef3560a6188f10f50e0959cf96aacf0fec9
Author: Manfred Baedke <[email protected]>
AuthorDate: Tue Jul 4 13:39:26 2023 +0200
OAK-10337: mvn jetty:run fails to start oak-web
Upgrade to jetty-10.0.15.
---
oak-examples/webapp/pom.xml | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/oak-examples/webapp/pom.xml b/oak-examples/webapp/pom.xml
index e446f0aa7f..7e94c75857 100644
--- a/oak-examples/webapp/pom.xml
+++ b/oak-examples/webapp/pom.xml
@@ -207,28 +207,21 @@
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
- <scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.2.3</version>
- </plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
- <version>9.4.11.v20180605</version>
+ <version>10.0.15</version>
<configuration>
- <scanIntervalSeconds>0</scanIntervalSeconds>
- <connectors>
- <connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>8080</port>
- <maxIdleTime>60000</maxIdleTime>
- </connector>
- </connectors>
+ <scan>-1</scan>
+ <httpConnector>
+ <port>8080</port>
+ <idleTimeout>60000</idleTimeout>
+ </httpConnector>
<webApp>
<!-- no need to scan anything as we're using servlet 2.5 and
moreover, we're not using ServletContainerInitializer(s) -->
<!-- for more relevant information regarding scanning of classes
refer to https://java.net/jira/browse/SERVLET_SPEC-36 -->