Hi Nick,

Pax-Wicket feature files (there are 2) do not use dependency="true".
Nevertheless I tried setting the ignoreDependencyFlag to true, but this
has no effect.

Also I tried using 3.0.0-SNAPSHOT instead of 3.0.0.RC1. Unfortunately
the expected bundles are still missing.

Any other options for me to try?

Regards,

Minto


Op 24-9-2013 21:16, Nick Smith schreef:
> If the Pax-Wicket feature file uses dependency="true" for the missing bundles 
> you could be hitting issue : 
>
> https://issues.apache.org/jira/browse/KARAF-2357 
>
> for which a workaround / fix was added post 3.0.0.RC1 release. Have you tried 
> with the latest 3.0.0-SNAPSHOT?
>
> Regards,
>
> Nick
>
> On 24.09.13, Jean-Baptiste Onofré  <j...@nanthrax.net> wrote:
>
>> Hi Minto,
>>
>> thanks for the use case, I will take a look on that. I'm pretty sure that we 
>> fixed something in the Maven plugin around transitive dependencies.
>>
>> I keep you posted.
>>
>> Regards
>> JB
>>
>> On 09/24/2013 02:12 PM, Minto van der Sluis wrote:
>>> Hi JB,
>>>
>>> One of my little example application has exactly the same behaviour. The
>>> example app is available on github
>>> https://github.com/misl/Samples/tree/master/WicketKaraf
>>>
>>> In this app there is a feature dependency on pax-wicket. In the final
>>> assembly archive the pax-wicket libraries are missing. Still the
>>> assembly runs just fine (with maven present).
>>>
>>> Regards,
>>>
>>> Minto
>>>
>>> Op 24-9-2013 13:22, Minto van der Sluis schreef:
>>>> 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>
>>>>>>
>>>
>> -- 
>> Jean-Baptiste Onofré
>> jbono...@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>


-- 
ir. ing. Minto van der Sluis
Software innovator / renovator
Xup BV

Mobiel: +31 (0) 626 014541

Reply via email to