Hi JB,
Like this?
<feature name="clerezza-jena-tdb" version="0.7.1.36"
description="Clarezza Jena TDB components" resolver="(obr)">
<feature version="0.7.1.36">clerezza-jena</feature>
<bundle dependency="true"
start-level="36">mvn:org.apache.clerezza.ext/org.apache.jena.jena-tdb/1.0.0_1-SNAPSHOT</bundle>
<bundle dependency="true"
start-level="36">mvn:org.apache.clerezza/rdf.jena.tdb.storage/0.7-SNAPSHOT</bundle>
</feature>
Doesn't seem to make any difference.
Regards,
Minto
Op 24-9-2013 11:09, Jean-Baptiste Onofré schreef:
> Hi Minto,
>
> can you try to use dependency="true" on the bundle ?
>
> Regards
> JB
>
> On 09/24/2013 10:58 AM, Minto van der Sluis wrote:
>> Hi Folks,
>>
>> When using Karaf 3.0.0. RC1 I end up with an assembly that does not
>> contain all dependencies. All features.xml files are present but not all
>> bundles mentioned in these features are present.
>>
>> It almost seems as if bundles from dependent features are missing in the
>> assembly. Like in the following brief example where "my-features" is
>> included in the assembly as bootFeature:
>>
>> <feature name="other-feature" ...>
>> <bundle>mvn:...</bundle> <-- not present in assembly
>> </feature>
>>
>> <feature name="my-features" .... >
>> <feature>other-feature</feature>
>> <bundle>mvn:.... </bundle> <-- present in assembly
>> </feature>
>>
>> On my development system I did not immediately noticed this because the
>> bundles could be found by there maven id. However when I installed the
>> assembly on a system without maven these bundles could not be started.
>>
>> I am probably missing an important detail. What do I need to do to get
>> these missing bundles in my assembly as well?
>>
>> Regards,
>>
>> Minto
>>
>>
>> Assembly build log adding all the feature files:
>>
>> <snip>
>> [INFO] --- karaf-maven-plugin:3.0.0.RC1:install-kars
>> (default-install-kars) @ reva-assembly ---
>> [INFO] Installing feature
>> file:/C:/Dev/src/Werk/Ictu/Digimelding2.0/github/reva/src/reva-assembly/target/assembly/system/org/apache/karaf/features/framework/3.0.0.RC1/framework-3.0.0.RC1-features.xml
>>
>> to system and startup.properties
>> [INFO] Adding feature repository to system:
>> mvn:org.apache.karaf.features/standard/3.0.0.RC1/xml/features
>> [INFO] Adding feature repository to system:
>> mvn:org.apache.karaf.features/enterprise/3.0.0.RC1/xml/features
>> [INFO] Adding feature repository to system:
>> mvn:nl.overheid.stelsel.gba.reva/reva-features/0.1.0-SNAPSHOT/xml/features
>>
>> [INFO] Adding feature repository to system:
>> mvn:org.apache.shiro/shiro-features/1.2.2/xml/features
>> [INFO] Adding feature repository to system:
>> mvn:org.ops4j.pax.wicket/paxwicket/3.0.1/xml/features
>> [INFO] Adding feature repository to system:
>> mvn:org.ops4j.pax.wicket/features/3.0.1/xml/features
>> [INFO] Adding feature repository to system:
>> mvn:nl.overheid.stelsel.digimelding.astore/clerezza-features/0.7.1.36/xml/features
>>
>> [INFO] Adding feature repository to system:
>> mvn:nl.overheid.stelsel.digimelding.astore/astore-features/0.7.1.36/xml/features
>>
>> <snap>
>>
>
--
ir. ing. Minto van der Sluis
Software innovator / renovator
Xup BV
Mobiel: +31 (0) 626 014541