From a0d8f077f43e0dfa9a24bf36166483353a191337 Mon Sep 17 00:00:00 2001 From: Ludovic Orban Date: Wed, 17 Jul 2024 11:43:17 +0200 Subject: [PATCH] move core demos from jetty-core to jetty-demos Signed-off-by: Ludovic Orban --- jetty-core/jetty-bom/pom.xml | 2 +- jetty-core/pom.xml | 1 - .../jetty-core-demos/jetty-core-demo-handler}/pom.xml | 9 ++------- .../src/main/config/modules/demo-handler.mod | 4 ++-- .../src/main/config/modules/demo.d/demo-handler.xml | 0 .../main/java/org/eclipse/jetty/demo/HelloHandler.java | 0 .../jetty-demos => jetty-demos/jetty-core-demos}/pom.xml | 6 +++--- jetty-demos/pom.xml | 2 +- jetty-home/pom.xml | 2 +- 9 files changed, 10 insertions(+), 16 deletions(-) rename {jetty-core/jetty-demos/jetty-demo-handler => jetty-demos/jetty-core-demos/jetty-core-demo-handler}/pom.xml (85%) rename {jetty-core/jetty-demos/jetty-demo-handler => jetty-demos/jetty-core-demos/jetty-core-demo-handler}/src/main/config/modules/demo-handler.mod (63%) rename {jetty-core/jetty-demos/jetty-demo-handler => jetty-demos/jetty-core-demos/jetty-core-demo-handler}/src/main/config/modules/demo.d/demo-handler.xml (100%) rename {jetty-core/jetty-demos/jetty-demo-handler => jetty-demos/jetty-core-demos/jetty-core-demo-handler}/src/main/java/org/eclipse/jetty/demo/HelloHandler.java (100%) rename {jetty-core/jetty-demos => jetty-demos/jetty-core-demos}/pom.xml (80%) diff --git a/jetty-core/jetty-bom/pom.xml b/jetty-core/jetty-bom/pom.xml index 7ca797d651fb..39288818be5d 100644 --- a/jetty-core/jetty-bom/pom.xml +++ b/jetty-core/jetty-bom/pom.xml @@ -162,7 +162,7 @@ org.eclipse.jetty.demos - jetty-demo-handler + jetty-core-demo-handler 12.1.0-SNAPSHOT diff --git a/jetty-core/pom.xml b/jetty-core/pom.xml index c117bf3208b5..c3670faf6a58 100644 --- a/jetty-core/pom.xml +++ b/jetty-core/pom.xml @@ -15,7 +15,6 @@ jetty-alpn jetty-bom jetty-client - jetty-demos jetty-deploy jetty-ee jetty-fcgi diff --git a/jetty-core/jetty-demos/jetty-demo-handler/pom.xml b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/pom.xml similarity index 85% rename from jetty-core/jetty-demos/jetty-demo-handler/pom.xml rename to jetty-demos/jetty-core-demos/jetty-core-demo-handler/pom.xml index c1592e4d5f90..94dcea1e7024 100644 --- a/jetty-core/jetty-demos/jetty-demo-handler/pom.xml +++ b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/pom.xml @@ -3,10 +3,10 @@ 4.0.0 org.eclipse.jetty.demos - jetty-demos + jetty-core-demos 12.1.0-SNAPSHOT - jetty-demo-handler + jetty-core-demo-handler Core :: Demo Handler ${project.groupId}.demos @@ -31,11 +31,6 @@ jetty-slf4j-impl test - - org.eclipse.jetty.toolchain - jetty-test-helper - test - diff --git a/jetty-core/jetty-demos/jetty-demo-handler/src/main/config/modules/demo-handler.mod b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/config/modules/demo-handler.mod similarity index 63% rename from jetty-core/jetty-demos/jetty-demo-handler/src/main/config/modules/demo-handler.mod rename to jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/config/modules/demo-handler.mod index 966de59a45ef..ffefbc1df821 100644 --- a/jetty-core/jetty-demos/jetty-demo-handler/src/main/config/modules/demo-handler.mod +++ b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/config/modules/demo-handler.mod @@ -12,10 +12,10 @@ server [files] basehome:modules/demo.d/demo-handler.xml|etc/demo-handler.xml -maven://org.eclipse.jetty.demos/jetty-demo-handler/${jetty.version}/jar|lib/jetty-demo-handler.jar +maven://org.eclipse.jetty.demos/jetty-core-demo-handler/${jetty.version}/jar|lib/jetty-core-demo-handler.jar [xml] etc/demo-handler.xml [lib] -lib/jetty-demo-handler.jar +lib/jetty-core-demo-handler.jar diff --git a/jetty-core/jetty-demos/jetty-demo-handler/src/main/config/modules/demo.d/demo-handler.xml b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/config/modules/demo.d/demo-handler.xml similarity index 100% rename from jetty-core/jetty-demos/jetty-demo-handler/src/main/config/modules/demo.d/demo-handler.xml rename to jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/config/modules/demo.d/demo-handler.xml diff --git a/jetty-core/jetty-demos/jetty-demo-handler/src/main/java/org/eclipse/jetty/demo/HelloHandler.java b/jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/java/org/eclipse/jetty/demo/HelloHandler.java similarity index 100% rename from jetty-core/jetty-demos/jetty-demo-handler/src/main/java/org/eclipse/jetty/demo/HelloHandler.java rename to jetty-demos/jetty-core-demos/jetty-core-demo-handler/src/main/java/org/eclipse/jetty/demo/HelloHandler.java diff --git a/jetty-core/jetty-demos/pom.xml b/jetty-demos/jetty-core-demos/pom.xml similarity index 80% rename from jetty-core/jetty-demos/pom.xml rename to jetty-demos/jetty-core-demos/pom.xml index 9ff8dcbdba4a..962b8abdf914 100644 --- a/jetty-core/jetty-demos/pom.xml +++ b/jetty-demos/jetty-core-demos/pom.xml @@ -4,16 +4,16 @@ 4.0.0 org.eclipse.jetty - jetty-core + jetty-demos 12.1.0-SNAPSHOT org.eclipse.jetty.demos - jetty-demos + jetty-core-demos pom Core :: Demos - jetty-demo-handler + jetty-core-demo-handler diff --git a/jetty-demos/pom.xml b/jetty-demos/pom.xml index e7f4b23b8015..38020937ccb8 100644 --- a/jetty-demos/pom.xml +++ b/jetty-demos/pom.xml @@ -7,13 +7,13 @@ jetty-project 12.1.0-SNAPSHOT - org.eclipse.jetty jetty-demos pom Demos + jetty-core-demos jetty-servlet4-demos jetty-servlet5-demos diff --git a/jetty-home/pom.xml b/jetty-home/pom.xml index 5d2e3b6c22e0..1972104a95e8 100644 --- a/jetty-home/pom.xml +++ b/jetty-home/pom.xml @@ -121,7 +121,7 @@ org.eclipse.jetty.demos - jetty-demo-handler + jetty-core-demo-handler ${project.version} true