Hi,
By loading the Tuscany modules into Eclipse as plugin projects (OSGi
bundles), we now use the PDE classpath container to set up the project
classpath. There is an issue related to the test dependencies used by test
cases. The MANIFEST.MF generated by maven-bundle-plugin doesn't have any
Import-Package headers for the packages used by test cases and Eclipse fails
to resolve the dependencies.
I searched Google and could find good solutions to this. I propose that we
add optional Import-Package headers for the packages referenced by the test
cases. Here is what we can do:
1) Tweak the maven-bundle-plugin to generate optional Import-Package for
test cases.
- I managed to get the plugin working.
2) Check the META-INF/MANIFEST.MF files into svn. To enforce the constraints
for OSGi bundles, these files should be really authored and maintained by
developers.
- We'll check in the generated files as a starting point.
Thanks,
Raymond