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

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

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

        

[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.

Posted by "Vinod Chhabria (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38568 ] 

Vinod Chhabria commented on SM-545:
-----------------------------------

this issue mentions the fix version as 3.0 however the duplicate issue SM-694 (https://issues.apache.org/activemq/browse/SM-694) had a comment  that it is fixed in 3.1? I wanted to confirm in which version has it been fixed?

> 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: Guillaume Nodet
>             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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-545?page=all ]

Guillaume Nodet resolved SM-545.
--------------------------------

    Fix Version/s: 3.0-M3
                       (was: 3.0)
       Resolution: Fixed

Author: gnodet
Date: Mon Aug 21 14:09:59 2006
New Revision: 433360

URL: http://svn.apache.org/viewvc?rev=433360&view=rev
Log:
SM-545: fix component name retrieval for SU when generating the SA descriptor.
Use a full dependency graph so that artifacts are all kept when finding direct dependencies of one SU.
Also add missing copyrights and remove duplicate attributes on MOJOs.

Modified:
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitDescriptorMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateSharedLibraryDescriptorMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/IsDeployedTask.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiPluginException.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiResolutionListener.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiSharedLibraryDescriptorWriter.java



> 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: Guillaume Nodet
>             Fix For: 3.0-M3
>
>
> 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

        

[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.

Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-545?page=all ]

Guillaume Nodet reassigned SM-545:
----------------------------------

    Assignee: Guillaume Nodet  (was: Fritz Oconer)

> 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: Guillaume Nodet
>             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

        

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

Posted by "Fritz Oconer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-545?page=all ]

Work on SM-545 started by Fritz Oconer.

> 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