On May 11, 2009, at 11:20 AM, Carsten Ziegeler wrote:
Ate Douma wrote:
David Jencks wrote:
If we can get it to produce slightly more reasonable output by the
end
of tomorrow I think we should use it. For instance it has pointed
out
that the packages in Export-Packages should have uses clauses, at
least for the servlet package needed. If no answer from feiix
arrives
by tomorrow then I agree we should use the manual manifest
setup.....
but informed by the bundle plugin output.
Sounds good to me.
I hope Carsten can chime in on this tomorrow too as he's the one
bringing in the OSGi configuration in the first place ;)
I'm slowly recovering from switching to my new laptop :)
Ok I think we don't need to use the maven bundle plugin as the
manifest
headers are constant in our case; but there is nothing wrong with
using
the plugin, so we can leave it as is. But in this case, I suggest to
remove the import package statement and change the export statement
to just:
<Export-Package>javax.portlet.filter;version=2.0.0,
javax.portlet;version=2.0.0
</Export-Package>
The plugin is doing the rest (adding the uses, creating the correct
import etc.)
OK.... I had to include some info on imports in order to get the
servlet version to be 2.4, the sun api jar isn't a bundle with package
versions. I simplified the poms as much as I could...
many thanks
david jencks
Carsten
--
Carsten Ziegeler
[email protected]