1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<resource>
<capability namespace="osgi.identity">
<attribute name="osgi.identity" value="org.example.g"/>
<attribute name="type" value="osgi.bundle"/>
<attribute name="version" type="Version" value="0.0.0"/>
</capability>
<capability namespace="osgi.content">
<attribute name="osgi.content" value="801e50621aba2e62138559b3e50742abf045bf70d7092b49defdd78cef219c36"/>
<attribute name="url" value="testdata/07-optionalimport.jar"/>
<attribute name="size" type="Long" value="978"/>
<attribute name="mime" value="application/vnd.osgi.bundle"/>
</capability>
<capability namespace="osgi.wiring.bundle">
<attribute name="osgi.wiring.bundle" value="org.example.g"/>
<attribute name="bundle-version" type="Version" value="0.0.0"/>
</capability>
<capability namespace="osgi.wiring.host">
<attribute name="osgi.wiring.host" value="org.example.g"/>
<attribute name="bundle-version" type="Version" value="0.0.0"/>
</capability>
<requirement namespace="osgi.wiring.package">
<directive name="filter" value="(&(osgi.wiring.package=org.example.a)(version>=1.0.0)(!(version>=2.0.0)))"/>
<directive name="resolution" value="optional"/>
</requirement>
</resource>
|