Hi,<div><br></div><div>My recent changes to the POM of the slf4j-scala-api module show how we should IMHO be doing OSGi in every module: Don&#39;t write the whole manifest manually, but let the Maven Bundle plugin generate it.</div>
<div><br></div><div>Looking at the manifest of slf4j-api there are several issues:</div><div><ul><li>There is no Bundle-Version</li><li>The bundle symbolic name does not follow &quot;well recognized OSGi conventions&quot;: It should follow the reverse domain naming convention, i.e. org.slf4j.api</li>
<li>I guess that SLF4J is compiled to target 1.5. At least for the JUL module it has to be 1.4 at minimum. Therefore I doubt that the 1.3 execution environment ist the correct setting</li><li>I think the import for org.slf4j.impl should be optional, but I have to play with that one</li>
<li>There is no uses directive for the exported packages. Well, that cannot be done manually (see Maven Bundle plugin above)</li></ul><div>I suggest I give it a try and change the slf4j-api module to also use the Maven Bundle plugin. Thoughts?</div>
<br>Heiko<br><br>Company: <a href="http://weiglewilczek.com" target="_blank">weiglewilczek.com</a><br>Blog: <a href="http://heikoseeberger.name" target="_blank">heikoseeberger.name</a><br>Follow me: <a href="http://twitter.com/hseeberger" target="_blank">twitter.com/hseeberger</a><br>
OSGi on Scala: <a href="http://scalamodules.org" target="_blank">scalamodules.org</a><br>Lift, the simply functional web framework: <a href="http://liftweb.net" target="_blank">liftweb.net</a><br>Akka - Simpler Scalability, Fault-Tolerance, Concurrency &amp; Remoting through Actors: <a href="http://akkasource.org" target="_blank">akkasource.org</a><br>

</div>