On Sep 29, 2006, at 12:30 , LECAN Damien wrote:
I'm thinking about ApacheCon again so I remember that at the last
ApacheCon we talked about modifying the JAR plugin to create OSGi
bundles for you guys automatically.
What kind of modifications do you think about ?
Does bundle packaging could be handle by JAR plugin ? Or are they
modifications to improve JAR plugin extensions ?
At ApacheCon we talked about a couple of things:
a) extending the JAR plugin so you can add the extra meta-information
required by OSGi (instead of Felix creating its own plugin from scratch)
b) ensuring that standard JAR files created by maven contain a little
bit of extra meta information so they can be used as bundles
Whilst a) is merely making sure we don't duplicate code and work by
re-inventing the wheel, b) makes sure that lots of libraries that are
currently created can be used as bundles directly. Of course without
extra information, the only thing you can do is simply export all
packages of such a JAR but that would be a very valuable step (at
least we thought so at ApacheCon, and I still think it is).
Greetings, Marcel