title: Dependency management with OSGi
body: <p>I want to develop a multi-module application according to <code>OSGi</code> specification. Let's assume that one of my modules uses <code>Apache Commons Logging 1.1.1</code>. Spring provides a bundled version of <code>Apache Commons Logging 1.1.1</code> in their repository, so I can add the corresponding dependency in my POM.</p>
  
  <p>If I install my bundle in <code>Apache Felix</code> for example, is it right that the dependency to <code>Apache Commons Logging 1.1.1</code> will not be resolved until I install the bundle of <code>Apache Commons Logging 1.1.1</code> as well? My bundle will try to import a package that hasn't been exported.</p>
  
  <p>I don't really understand how dependency management works in the <code>OSGi</code> world. Should I install every bundle that my application needs? Also, I don't understand how it integrates with Maven?</p>
  
  <p>Thanks in advance for your explanations</p>
  
  <hr>
  
  <p><strong>EDIT</strong>: I've seen there is a subproject of Apache Felix called OBR that seems to facilitate bundles management (e.g. deployment). But, we already have a Maven architecture with local repositories, private repositories... How is OBR integrated to Maven?</p>