You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grant McDonald (JIRA)" <ji...@apache.org> on 2006/08/16 18:11:23 UTC

[jira] Commented: (SM-545) jbi-maven-plugin throws an error when building a jbi-service-assembly with 2 or more dependencies using the same component.

    [ https://issues.apache.org/activemq/browse/SM-545?page=comments#action_36797 ] 
            
Grant McDonald commented on SM-545:
-----------------------------------

As a workaround you may specify on the second service unit that the dependency is of type "jbi-component".  This must a dependency resolution issue in the mojo.

> jbi-maven-plugin throws an error when building a jbi-service-assembly with 2 or more dependencies using the same component.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-545
>                 URL: https://issues.apache.org/activemq/browse/SM-545
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>            Reporter: Fritz Oconer
>         Assigned To: Fritz Oconer
>             Fix For: 3.0
>
>
> 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"
>  
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira