From 712b5ebf103a7e638b29df02a60d079db74e8561 Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Thu, 23 Mar 2023 12:48:53 +0100 Subject: [PATCH] Workaround https://github.com/quarkusio/quarkus/issues/32059 quarkus-jaxb loads entity classes at build time even though no default JAXBContext will be created within the application --- .../ROOT/examples/calculator-client/application.properties | 3 +++ .../client/src/main/resources/application.properties | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/modules/ROOT/examples/calculator-client/application.properties b/docs/modules/ROOT/examples/calculator-client/application.properties index b7d52e1a3..49aba475c 100644 --- a/docs/modules/ROOT/examples/calculator-client/application.properties +++ b/docs/modules/ROOT/examples/calculator-client/application.properties @@ -27,3 +27,6 @@ quarkus.cxf.client.clientWithRuntimeInitializedPayload.endpoint-namespace=http:/ quarkus.cxf.client.clientWithRuntimeInitializedPayload.endpoint-name=CalculatorService quarkus.cxf.client.clientWithRuntimeInitializedPayload.native.runtime-initialized = true quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkiverse.cxf.client.it.rtinit.Operands\\,io.quarkiverse.cxf.client.it.rtinit.Result + +# Workaround https://github.com/quarkusio/quarkus/issues/32059 +quarkus.jaxb.exclude-classes = io.quarkiverse.cxf.client.it.rtinit.Operands,io.quarkiverse.cxf.client.it.rtinit.Result diff --git a/integration-tests/client/src/main/resources/application.properties b/integration-tests/client/src/main/resources/application.properties index b7d52e1a3..49aba475c 100644 --- a/integration-tests/client/src/main/resources/application.properties +++ b/integration-tests/client/src/main/resources/application.properties @@ -27,3 +27,6 @@ quarkus.cxf.client.clientWithRuntimeInitializedPayload.endpoint-namespace=http:/ quarkus.cxf.client.clientWithRuntimeInitializedPayload.endpoint-name=CalculatorService quarkus.cxf.client.clientWithRuntimeInitializedPayload.native.runtime-initialized = true quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkiverse.cxf.client.it.rtinit.Operands\\,io.quarkiverse.cxf.client.it.rtinit.Result + +# Workaround https://github.com/quarkusio/quarkus/issues/32059 +quarkus.jaxb.exclude-classes = io.quarkiverse.cxf.client.it.rtinit.Operands,io.quarkiverse.cxf.client.it.rtinit.Result