[
https://issues.jboss.org/browse/JBAS-9003?page=com.atlassian.jira.plugin....
]
Thomas Diesler resolved JBAS-9003.
----------------------------------
Resolution: Done
The suggested approach does not work because the compendium bundle cannot have a
dependency on org.osgi.core. Generally, OSGi bundles that are stored on the modules
hierarchy cannot have module dependencies.
I added the org.osgi.util.tracker package to the framework implementation. This is the
approach that other framework vendors also do.
Perhaps we should consider storing bundles in a hierarchy parallel to modules. In that way
a module cannot (accidentally) create a dependency on a bundle and vice versa
Two modules include "org.osgi:org.osgi.compendium" maven
artifact
-----------------------------------------------------------------
Key: JBAS-9003
URL:
https://issues.jboss.org/browse/JBAS-9003
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: David Lloyd
Assignee: Thomas Diesler
Fix For: 7.0.0.Beta2
{noformat}
<module-def name="org.osgi.compendium">
<maven-resource group="org.osgi"
artifact="org.osgi.compendium"/>
</module-def>
<module-def name="org.osgi.util">
<maven-resource group="org.osgi"
artifact="org.osgi.compendium"/>
</module-def>
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira