You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Gert Vanthienen <ge...@skynet.be> on 2007/06/26 08:22:50 UTC

Re: Reg:help

Brahma Naidu,


You have to add a dependency to the servicemix-drools JBI component in 
the pom.xml file for your Drools-drools-su project.

<dependency>
     <groupId>org.apache.servicemix</groupId>
     <artifactId>servicemix-drools</artifactId>
     <version>${servicemix-version}</version>
</dependency>



Gert


BramhaNaidu.Aelem@cognizant.com wrote:
>
> Gert,
>
>  
>
>    When I am using *mvn clean install* command the following error is 
> occurring.
>
>   
>
>  
>
> *Error:*
>
> * *
>
> *[INFO] Determining component name for service unit Drools-drools-su*
>
> *[INFO] Project org.apache.maven.project.MavenProject@d8162803 
> packaged pom*
>
> *[INFO] 
> ------------------------------------------------------------------------*
>
> *[ERROR] BUILD ERROR*
>
> *[INFO] 
> ------------------------------------------------------------------------*
>
> *[INFO] The service unit Drools-drools-su does not have a dependency 
> which is packaged as a jbi-component or a project property 
> 'componentName'*
>
> *[INFO] 
> ------------------------------------------------------------------------*
>
> *[INFO] For more information, run Maven with the -e switch*
>
> *[INFO] 
> ------------------------------------------------------------------------*
>
> *[INFO] Total time: 21 seconds*
>
> *[INFO] Finished at: Tue Jun 26 09:49:50 IST 2007*
>
> *[INFO] Final Memory: 13M/27M*
>
> *[INFO] 
> ------------------------------------------------------------------------*
>
>  
>
> How to resolve this error?
>
>  
>
> Please help me.
>
>  
>
> Thanks &Regards
>
> Brahma Naidu
>


Re: Reg:help

Posted by Praveen K <pr...@yahoo.com>.
I was also facing the same problem couple of days back with another
component. Even with dependency tag and after mentioning type as
jbi-component the problem persisted. Then I found out that the problem was
occuring because the dependent jbi component was not installed properly in
the maven repository. The problem got resolved after I manually copied the
dependent files to the repository.

Praveen


Gert Vanthienen wrote:
> 
> Brahma Naidu,
> 
> 
> You have to add a dependency to the servicemix-drools JBI component in 
> the pom.xml file for your Drools-drools-su project.
> 
> <dependency>
>      <groupId>org.apache.servicemix</groupId>
>      <artifactId>servicemix-drools</artifactId>
>      <version>${servicemix-version}</version>
> </dependency>
> 
> 
> 
> Gert
> 
> 
> BramhaNaidu.Aelem@cognizant.com wrote:
>>
>> Gert,
>>
>>  
>>
>>    When I am using *mvn clean install* command the following error is 
>> occurring.
>>
>>   
>>
>>  
>>
>> *Error:*
>>
>> * *
>>
>> *[INFO] Determining component name for service unit Drools-drools-su*
>>
>> *[INFO] Project org.apache.maven.project.MavenProject@d8162803 
>> packaged pom*
>>
>> *[INFO] 
>> ------------------------------------------------------------------------*
>>
>> *[ERROR] BUILD ERROR*
>>
>> *[INFO] 
>> ------------------------------------------------------------------------*
>>
>> *[INFO] The service unit Drools-drools-su does not have a dependency 
>> which is packaged as a jbi-component or a project property 
>> 'componentName'*
>>
>> *[INFO] 
>> ------------------------------------------------------------------------*
>>
>> *[INFO] For more information, run Maven with the -e switch*
>>
>> *[INFO] 
>> ------------------------------------------------------------------------*
>>
>> *[INFO] Total time: 21 seconds*
>>
>> *[INFO] Finished at: Tue Jun 26 09:49:50 IST 2007*
>>
>> *[INFO] Final Memory: 13M/27M*
>>
>> *[INFO] 
>> ------------------------------------------------------------------------*
>>
>>  
>>
>> How to resolve this error?
>>
>>  
>>
>> Please help me.
>>
>>  
>>
>> Thanks &Regards
>>
>> Brahma Naidu
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-Reg%3Ahelp-tf3980708s12049.html#a11323488
Sent from the ServiceMix - User mailing list archive at Nabble.com.