From b274a3cceb92837049688f69f11d03eb3ebfcca7 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 26 May 2022 10:30:01 +1000 Subject: [PATCH] jetty 10.0.x no port 8080 (#8049) * ensure it test is not started on port 8080 and use non random groupIds Signed-off-by: Olivier Lamy --- .../MyLibrary/pom.xml | 6 +++--- .../MyWebApp/pom.xml | 20 +++++++++---------- .../MyWebApp/src/config/jetty.xml | 9 +++++---- .../src/it/jetty-run-mojo-jar-scan-it/pom.xml | 8 ++++---- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/pom.xml b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/pom.xml index ac59d8c0f05..a74242887d6 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/pom.xml +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/pom.xml @@ -3,13 +3,13 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - jetty-issue - org.mehdi + org.eclipse.jetty.its.jetty-run-mojo-jar-scan-it + jetty-jar-scan 1.0-SNAPSHOT 4.0.0 - MyLibrary + jetty-jar-scan-library diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/pom.xml b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/pom.xml index d0fa56d98ba..eb4b509e0c6 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/pom.xml +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/pom.xml @@ -3,13 +3,13 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - jetty-issue - org.mehdi + org.eclipse.jetty.its.jetty-run-mojo-jar-scan-it + jetty-jar-scan 1.0-SNAPSHOT 4.0.0 - MyWebApp + jetty-jar-scan-webapp jar @@ -23,8 +23,8 @@ provided - org.mehdi - MyLibrary + org.eclipse.jetty.its.jetty-run-mojo-jar-scan-it + jetty-jar-scan-library @@ -44,13 +44,11 @@ - - jetty.port.file - ${jetty.port.file} - + ${jetty.port.file} - true - ${basedir}/src/config/jetty.xml + + ${basedir}/src/config/jetty.xml + ${basedir}/src/config/context.xml true diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/config/jetty.xml b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/config/jetty.xml index 9193b42df99..4e43b5305df 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/config/jetty.xml +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/config/jetty.xml @@ -1,4 +1,5 @@ - + + @@ -23,15 +24,15 @@ - + - - 0 + + 30000 diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/pom.xml b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/pom.xml index 1380e37256e..bdacef83c24 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/pom.xml +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/pom.xml @@ -10,8 +10,8 @@ - org.mehdi - jetty-issue + org.eclipse.jetty.its.jetty-run-mojo-jar-scan-it + jetty-jar-scan pom 1.0-SNAPSHOT @@ -22,8 +22,8 @@ - org.mehdi - MyLibrary + org.eclipse.jetty.its.jetty-run-mojo-jar-scan-it + jetty-jar-scan-library ${project.version}