gtata007 opened a new issue, #3971: URL: https://github.com/apache/camel-k/issues/3971
Hello, I'm trying to use xmljson in integration to convert the plain XML data to JSON format. Upon running this on OpenShift Camel-K is failing to download the dependency and error in the operator. Below is the code snippet and the commands I have tried. Though the xmljson plugin is deprecated we have a requirement to convert the XML payload into JSON. for your reference, maven dependency before the import statement is working fine on the Camel-K operation 1.6.1. We have some other applications running in a similar way(Able to download the SQL dependencies). **Camel-k Version is 1.6.1.** **Code:** // camel-k: language=java // camel-k: dependency=mvn:org.apache.camel:camel-xmljson:2.20.4 import org.apache.camel.builder.RouteBuilder; public class Abc extends RouteBuilder { @Override public void configure() throws Exception { // Write your routes here, for example: from("timer:java?period=1000") .routeId("java") .setBody() .simple("Hello Camel K from ${routeId}") .to("log:info"); } } Tried to run the integration using the below commands but nothing worked. **Run Command** 1. kamel run -d camel:camel-xmljson TestWeb.java --dev -t logging.level=DEBUG 2. kamel run TestWeb.java --dev -t logging.level=DEBUG 3. kamel run -d mvn:org.apache.camel:camel-xmljson TestWeb.java --dev -t logging.level=DEBUG Regards, Guru -- 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-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org