You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2009/03/02 19:22:31 UTC

Re: Is it possible to reference bean-su from one SA into another bean-su?

Hi,

Your problem is more maven related and can be :
- you haven't launched mvn install yet and so common-group/common-bean-su is not in your local m2 repo
- your common-bean-su pom doesn't define groupId as common-group and artifactId as common-bean-su.

Please, send the pom.xml of each project to investigate.

Regards
JB

On Monday 02 March 2009 - 09:23, Bhaskar Dabbigodla wrote:
> 
> Hi,
> I have two service assemblies 
> 1) common-sa (common-bean-su, common-eip-su) and 
> 2) specific-sa(specific-bean-su, specific-eip-su). 
> 
> I want to use some of the methods from common-bean-su in specific-bean-su.
> 
> I have added the dependency in specific-bean-su's pom.xml as
> 
>    <dependency>
>       <groupId>common-group</groupId>
>       <artifactId>common-bean-su</artifactId>
>       <version>${aversion}</version>
>     </dependency>
> 
> I am getting the following error
> GroupId: common-group
> ArtifactId: common-parent
> Version: ${aversion}
> Reason: Unable to download the artifact from any repository
> 
> common-parent:pom:${aversion}
> 
> Am I configuring it wrong? Is it possible to reference su accross service
> assemblies?
> 
> 
> 
> 
> -- 
> View this message in context: http://www.nabble.com/Is-it-possible-to-reference-bean-su-from-one-SA-into-another-bean-su--tp22292466p22292466.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 

-- 
Jean-Baptiste Onofré
---------------------------------
 HomePage
http://www.nanthrax.net
---------------------------------
 Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
 OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086

Re: Is it possible to reference bean-su from one SA into another bean-su?

Posted by Bhaskar Dabbigodla <Bh...@orbitz.com>.
Hi,
I do see the common-group/common-bean-su hierarchy created in my local
repository .m2 

But one thing I have noticed is that if I have an independent(Not in any
service assembly) su then the dependency(Added dependency in
specific-sa/specific-su/pom.xml) is working fine.

But in my case both the su's are in different sa's.

Regards,
Bhaskar


jb-58 wrote:
> 
> Hi,
> 
> Your problem is more maven related and can be :
> - you haven't launched mvn install yet and so common-group/common-bean-su
> is not in your local m2 repo
> - your common-bean-su pom doesn't define groupId as common-group and
> artifactId as common-bean-su.
> 
> Please, send the pom.xml of each project to investigate.
> 
> Regards
> JB
> 
> On Monday 02 March 2009 - 09:23, Bhaskar Dabbigodla wrote:
>> 
>> Hi,
>> I have two service assemblies 
>> 1) common-sa (common-bean-su, common-eip-su) and 
>> 2) specific-sa(specific-bean-su, specific-eip-su). 
>> 
>> I want to use some of the methods from common-bean-su in
>> specific-bean-su.
>> 
>> I have added the dependency in specific-bean-su's pom.xml as
>> 
>>    <dependency>
>>       <groupId>common-group</groupId>
>>       <artifactId>common-bean-su</artifactId>
>>       <version>${aversion}</version>
>>     </dependency>
>> 
>> I am getting the following error
>> GroupId: common-group
>> ArtifactId: common-parent
>> Version: ${aversion}
>> Reason: Unable to download the artifact from any repository
>> 
>> common-parent:pom:${aversion}
>> 
>> Am I configuring it wrong? Is it possible to reference su accross service
>> assemblies?
>> 
>> 
>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Is-it-possible-to-reference-bean-su-from-one-SA-into-another-bean-su--tp22292466p22292466.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> 
> 
> -- 
> Jean-Baptiste Onofré
> ---------------------------------
>  HomePage
> http://www.nanthrax.net
> ---------------------------------
>  Contacts
> jbonofre@apache.org
> jb@nanthrax.net
> ---------------------------------
>  OpenSource
> BuildProcess/AutoDeploy
> http://buildprocess.sourceforge.net
> Apache ServiceMix
> http://servicemix.apache.org
> -----------------------------------
> PGP : 17D4F086
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-it-possible-to-reference-bean-su-from-one-SA-into-another-bean-su--tp22292466p22296056.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.