This is an automated email from the ASF dual-hosted git repository. reschke pushed a commit to branch 1.22 in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/1.22 by this push: new b9c2c9671b OAK-10337: mvn jetty:run fails to start oak-web b9c2c9671b is described below commit b9c2c9671bb5dbc76d1cae80839d11149bfb0a0a Author: Manfred Baedke <gre55...@adobe.com> 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 464bf7cb9a..601b2bee41 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 -->