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

camel-maven-plugin - run goal seems broken

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 3.11.0
    • 3.11.0
    • tooling
    • None
    • 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

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: