You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2026/06/03 12:33:49 UTC

[I] [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem [camel-quarkus]

jamesnetherton opened a new issue, #8720:
URL: https://github.com/apache/camel-quarkus/issues/8720

   @ppalaga. I assume you are aware of this for Quarkus 3.37? I see you commented on the PR where this breakage was introduced. https://github.com/quarkusio/quarkus/pull/53699.
   
   ```
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
    	: Build step io.quarkiverse.cxf.deployment.QuarkusCxfProcessor#generateRuntimeBusServiceFile threw an exception: java.lang.IllegalArgumentException: Use GeneratedServiceProviderBuildItem to register service providers instead of GeneratedResourceBuildItem
    	at io.quarkus.deployment.builditem.GeneratedResourceBuildItem.<init>(GeneratedResourceBuildItem.java:31)
    	at io.quarkus.deployment.builditem.GeneratedResourceBuildItem.<init>(GeneratedResourceBuildItem.java:26)
    	at io.quarkiverse.cxf.deployment.QuarkusCxfProcessor.generateRuntimeBusServiceFile(QuarkusCxfProcessor.java:208)
    	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
    	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:811)
    	at io.quarkus.builder.BuildContext.run(BuildContext.java:242)
    	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
    	at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
    	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
    	at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1694)
    	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
    	at java.base/java.lang.Thread.run(Thread.java:840)
    	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8720:
URL: https://github.com/apache/camel-quarkus/issues/8720#issuecomment-4628841002

   Issue is already fixed in QCXF. So we just need to wait for a new release:
   
   https://github.com/quarkiverse/quarkus-cxf/commit/946229207f19e19d98b3ca4c88c7a9a607449551


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem [camel-quarkus]

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #8720:
URL: https://github.com/apache/camel-quarkus/issues/8720#issuecomment-4689156196

   >  it should be adapted to GeneratedResourceBuildItem.allowingMetaInfServices()
   
   Done in https://github.com/quarkiverse/quarkus-cxf/pull/2190/changes#diff-75da9f7e1c3e1384976a49d0ad67baf36638a284b5c6d1beafa5846d6ff55fdfR209


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem [camel-quarkus]

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #8720:
URL: https://github.com/apache/camel-quarkus/issues/8720#issuecomment-4653059306

   Yes, there is https://github.com/quarkiverse/quarkus-cxf/commit/1840d806477c213f74e0a0781fbca1ccdfb09471 in QCXF main-quarkus-main branch, but it should be adapted to `GeneratedResourceBuildItem.allowingMetaInfServices()` now that https://github.com/quarkiverse/quarkus-cxf/commit/1840d806477c213f74e0a0781fbca1ccdfb09471 was merged. The problem is that  GeneratedServiceProviderBuildItem is planned for the modular class loader where only service provider resource will work which have proper interface name and contain only implementation class names. This CXF resource fulfills none of those. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #8720: [quarkus-main] cxf-soap-grouped native application fails to compile due to service registration with GeneratedResourceBuildItem
URL: https://github.com/apache/camel-quarkus/issues/8720


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org