Hi Jean-Baptiste

Yes that's exactly what I would like to have generated. I see I could add
this manually to the features.xml template but I would prefer to use the
dependency visible also to maven and use the maven tools to add and
maintain the dependency on (the maven artifact generating) "other". Is this
possible?

Cheers,
Reto


On Sun, Sep 8, 2013 at 10:43 PM, Jean-Baptiste Onofré <[email protected]>wrote:

> Hi,
>
> use <feature/> inside the feature:
>
> <feature name="my" version="1.0">
>   <feature>other</feature>
> </feature>
>
> You can also "share" bundle adding dependency="true".
>
> Regards
> JB
>
>
> On 09/08/2013 10:15 PM, Reto Bachmann-Gmür wrote:
>
>> Hello,
>>
>> I'm doing my first steps with the karaf-maven-plugin.
>>
>> I created a simple bundle list with projectA and now would like
>> project-B to depend on project-A resulting in a dependent feature to be
>> added in the features.xml generated in projectB. Rather than a dependent
>> feature I get an entry like
>>
>> <bundle
>> start-level="50">wrap:mvn:my.**company/projectA/1.0-SNAPSHOT/**
>> pom</bundle>
>>
>> Is it possible to include and reference dependent features in the pom
>> using their maven identification?
>>
>> Cheers,
>> Reto
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to