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

maven camel:run fails about OSGi blueprint for standalone mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • tooling
    • None
    • Unknown

    Description

      The camel-example-main-tiny

      ❯ mvn camel:run
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ---------< org.apache.camel.example:camel-example-main-tiny >---------
      [INFO] Building Camel :: Example :: Main :: Tiny 3.2.0-SNAPSHOT
      [INFO] -------------------------------[ jar ]--------------------------------
      [INFO]
      [INFO] — camel-maven-plugin:3.2.0-SNAPSHOT:run (default-cli) @ camel-example-main-tiny —
      [INFO] You can skip tests from the command line using: mvn camel:run -Dmaven.test.skip=true
      [INFO] Using custom org.apache.camel.example.MyApplication to initiate a CamelContext
      [INFO] Classpath:
      [INFO] /Users/davsclaus/workspace/camel-examples/examples/camel-example-main-tiny/target/classes/
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-main/3.2.0-SNAPSHOT/camel-main-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-api/3.2.0-SNAPSHOT/camel-api-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-base/3.2.0-SNAPSHOT/camel-base-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-core-engine/3.2.0-SNAPSHOT/camel-core-engine-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-management-api/3.2.0-SNAPSHOT/camel-management-api-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-support/3.2.0-SNAPSHOT/camel-support-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-util/3.2.0-SNAPSHOT/camel-util-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-core-languages/3.2.0-SNAPSHOT/camel-core-languages-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-bean/3.2.0-SNAPSHOT/camel-bean-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/org/apache/camel/camel-timer/3.2.0-SNAPSHOT/camel-timer-3.2.0-SNAPSHOT.jar
      [INFO] /Users/davsclaus/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar
      [INFO] /Users/davsclaus/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar
      [INFO] /Users/davsclaus/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.032 s
      [INFO] Finished at: 2020-04-03T13:07:41+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.camel:camel-maven-plugin:3.2.0-SNAPSHOT:run (default-cli) on project camel-example-main-tiny: Cannot run OSGi Blueprint Main because camel-blueprint-main JAR is not available on classpath -> [Help 1]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: