gtata007 commented on issue #3961:
URL: https://github.com/apache/camel-k/issues/3961#issuecomment-1372495541

   Hi @squakez ,
   
   Thank you for your response on this. I have changed the import statement as 
follows but still camel k operator is throwing the error.
   
   
   **Sample Program**
   
   // camel-k: language=java
   // camel-k: 
dependency=mvn:org.apache.camel.quarkus:camel-quarkus-cxf-soap:2.14.0
   
   import org.apache.camel.builder.RouteBuilder;
   
   public class TestWeb 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");
   }
   }
   
   **Error:**
   
   
{"level":"error","ts":1672937615.0208771,"logger":"camel-k.maven.build","msg":"[ERROR]
 Some problems were encountered while processing the POMs:\n[ERROR] 
'dependencies.dependency.version' for org.apache.camel:camel-cxf-soap:jar is 
missing. @ line 56, column 17\n @ 
","stacktrace":"github.com/apache/camel-k/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\ngithub.com/apache/camel-k/pkg/builder.BuildQuarkusRunnerCommon\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:189\ngithub.com/apache/camel-k/pkg/builder.buildQuarkusRunner\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:163\ngithub.com/apache/camel-k/pkg/builder.(*builderStep).execute\n\tgithub.com/apache/camel-k/pkg/builder/steps.go:46\ngithub.com/apache/camel
 
-k/pkg/builder.(*builderTask).Do\n\tgithub.com/apache/camel-k/pkg/builder/builder.go:125\ngithub.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:146"}
   
   
{"level":"error","ts":1672937615.024683,"logger":"camel-k.maven.build","msg":"  
  'dependencies.dependency.version' for org.apache.camel:camel-cxf-soap:jar is 
missing. @ line 56, column 
17","stacktrace":"github.com/apache/camel-k/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\ngithub.com/apache/camel-k/pkg/builder.BuildQuarkusRunnerCommon\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:189\ngithub.com/apache/camel-k/pkg/builder.buildQuarkusRunner\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:163\ngithub.com/apache/camel-k/pkg/builder.(*builderStep).execute\n\tgithub.com/apache/camel-k/pkg/builder/steps.go:46\ngithub.com/apache/camel-k/pkg/builder.(*builderTask).Do\n\tgithub.com/apache/camel-k/pkg/builder/bui
 
lder.go:125\ngithub.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:146"}


-- 
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

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

Reply via email to