From 82d5d46fb39098950c770f506506fef067c6f57f Mon Sep 17 00:00:00 2001 From: "Edward M. Kagan" Date: Wed, 3 Nov 2021 15:34:48 +0300 Subject: [PATCH] Fixed CXF shading --- modules/cxf-jetty/pom.xml | 11 +++++++---- .../src/main/java/twopm/tech/bench/jaxrs/Bench.java | 2 +- modules/cxf-netty/pom.xml | 11 +++++++---- .../src/main/java/twopm/tech/bench/jaxrs/Bench.java | 2 +- modules/cxf-undertow/pom.xml | 11 +++++++---- .../src/main/java/twopm/tech/bench/jaxrs/Bench.java | 2 +- 6 files changed, 24 insertions(+), 15 deletions(-) diff --git a/modules/cxf-jetty/pom.xml b/modules/cxf-jetty/pom.xml index 2183d7e..fd83f64 100644 --- a/modules/cxf-jetty/pom.xml +++ b/modules/cxf-jetty/pom.xml @@ -33,12 +33,15 @@ shade - + false - - + - ${app.main.class} + ${app.main.class} + + + + META-INF/cxf/bus-extensions.txt diff --git a/modules/cxf-jetty/src/main/java/twopm/tech/bench/jaxrs/Bench.java b/modules/cxf-jetty/src/main/java/twopm/tech/bench/jaxrs/Bench.java index be3f418..1c10f13 100644 --- a/modules/cxf-jetty/src/main/java/twopm/tech/bench/jaxrs/Bench.java +++ b/modules/cxf-jetty/src/main/java/twopm/tech/bench/jaxrs/Bench.java @@ -8,7 +8,7 @@ import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; public class Bench { - public static final String BASE_URI = "localhost:8080"; + public static final String BASE_URI = "http://localhost:8080"; public static void main(String[] args) throws IOException, InterruptedException { JAXRSServerFactoryBean factoryBean = new JAXRSServerFactoryBean(); diff --git a/modules/cxf-netty/pom.xml b/modules/cxf-netty/pom.xml index 379c899..c716fe1 100644 --- a/modules/cxf-netty/pom.xml +++ b/modules/cxf-netty/pom.xml @@ -33,12 +33,15 @@ shade - + false - - + - ${app.main.class} + ${app.main.class} + + + + META-INF/cxf/bus-extensions.txt diff --git a/modules/cxf-netty/src/main/java/twopm/tech/bench/jaxrs/Bench.java b/modules/cxf-netty/src/main/java/twopm/tech/bench/jaxrs/Bench.java index be3f418..1c10f13 100644 --- a/modules/cxf-netty/src/main/java/twopm/tech/bench/jaxrs/Bench.java +++ b/modules/cxf-netty/src/main/java/twopm/tech/bench/jaxrs/Bench.java @@ -8,7 +8,7 @@ import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; public class Bench { - public static final String BASE_URI = "localhost:8080"; + public static final String BASE_URI = "http://localhost:8080"; public static void main(String[] args) throws IOException, InterruptedException { JAXRSServerFactoryBean factoryBean = new JAXRSServerFactoryBean(); diff --git a/modules/cxf-undertow/pom.xml b/modules/cxf-undertow/pom.xml index 6d879ce..3794cd5 100644 --- a/modules/cxf-undertow/pom.xml +++ b/modules/cxf-undertow/pom.xml @@ -33,12 +33,15 @@ shade - + false - - + - ${app.main.class} + ${app.main.class} + + + + META-INF/cxf/bus-extensions.txt diff --git a/modules/cxf-undertow/src/main/java/twopm/tech/bench/jaxrs/Bench.java b/modules/cxf-undertow/src/main/java/twopm/tech/bench/jaxrs/Bench.java index be3f418..1c10f13 100644 --- a/modules/cxf-undertow/src/main/java/twopm/tech/bench/jaxrs/Bench.java +++ b/modules/cxf-undertow/src/main/java/twopm/tech/bench/jaxrs/Bench.java @@ -8,7 +8,7 @@ import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; public class Bench { - public static final String BASE_URI = "localhost:8080"; + public static final String BASE_URI = "http://localhost:8080"; public static void main(String[] args) throws IOException, InterruptedException { JAXRSServerFactoryBean factoryBean = new JAXRSServerFactoryBean();