title: Good way to "wrap" jars for OSGi with Maven
body: <p>I was looking at the PAX tools on OPS4J for example: <a href="http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/wrap-jar-mojo.html" rel="nofollow noreferrer">this one</a> and I thought I'd found a nice way to:</p>
  
  <ul>
  <li>Specify an artifact</li>
  <li>Create an assembled jar (jar that contains all dependencies) from that jar and its transitive dependencies</li>
  <li>Wrap it with BND to create an OSGi bundle</li>
  </ul>
  
  <p>It turns out, that I was wrong - it doesn't appear that the PAX stuff does this. (RTFM, right? :) )</p>
  
  <p>But this got me wondering: is there something out there that does what I'm asking?</p>
  
  <p>I've thought maybe I could do this by creating a simple POM and using the maven-bundle-plugin but this seems like it might be a bit cumbersome for what I'm asking. </p>
  
  <p><strong>NOTE:</strong> I get that embedding and assembling jar's is not really "the OSGi way" - so I wouldn't do this unless I really felt it useful. For example - Spring.</p>
  
  <p>Thanks in advance.</p>