Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16735

camel-maven-plugin - run goal seems broken

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.11.0
    • Fix Version/s: 3.11.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      [INFO]
      [INFO] — camel-maven-plugin:3.11.0-SNAPSHOT:run (default-cli) @ camel-example-kamelet-main —
      [INFO] You can skip tests from the command line using: mvn camel:run -Dmaven.test.skip=true
      [INFO] camel-kamelet-main detected on classpath
      [INFO] Using org.apache.camel.main.KameletMain to initiate a CamelContext
      [INFO] camel-kamelet-main detected on classpath
      [INFO] Starting Camel ...
      [ERROR] *************************************
      [ERROR] Error occurred while running main from: org.apache.camel.main.KameletMain
      [ERROR]
      java.lang.IllegalArgumentException: wrong number of arguments
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:566)
      at org.apache.camel.maven.RunMojo$1.run (RunMojo.java:429)
      at java.lang.Thread.run (Thread.java:834)
      [ERROR] *************************************
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.763 s
      [INFO] Finished at: 2021-06-18T21:02:21+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.camel:camel-maven-plugin:3.11.0-SNAPSHOT:run (default-cli) on project camel-example-kamelet-main: null: MojoExecutionException: wrong number of arguments -> [Help 1]

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment