Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-545

jbi-maven-plugin throws an error when building a jbi-service-assembly with 2 or more dependencies using the same component.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • tooling
    • None

    Description

      Buiding a jbi-servicemix-assembly containing 2 or more service-units dependencies that uses same component an exception is thrown.

      "[INFO] The service unit grocery-demo-poll does not have a dependency which is pa
      ckaged as a jbi-component or a project property 'componentName'
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.lifecycle.LifecycleExecutionException: The service unit grocery
      -demo-poll does not have a dependency which is packaged as a jbi-component or a
      project property 'componentName'
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
      ultLifecycleExecutor.java:559)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
      fecycle(DefaultLifecycleExecutor.java:475)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
      ltLifecycleExecutor.java:454)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
      dleFailures(DefaultLifecycleExecutor.java:306)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
      ts(DefaultLifecycleExecutor.java:273)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi"

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              foconer Frederick G. Oconer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: