Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The basic information for how to do this comes from the maven-bundle-plugin documentation: http://felix.apache.org/site/maven-bundle-plugin-bnd.htmlImage Removed

This plugin supports "library project" plugins which are just collections of other jars, put into a plugin - exactly what our uimaj-ep-runtime plugin is.

...

The mechanism in the maven-bundle-plugin that creates "uses" clauses for packages from the dependencies is turned off, because that feature isn't properly supported in Eclipse 3.2. Therefore, if there are multiple versions of these packages that are present, be aware that mis-wiring may occur. For more on this, see http://underlap.blogspot.com/2007/10/osgi-type-safety-and-uses-directive.htmlImage Removed

Sometimes additions are needed for <Import-Package>

...

The next issue we ran into happened when we tried to use our plugins in Eclipse 3.2.x, which doesn't support the "uses" clause. The fix here was to eliminate the "uses" clauses, by (a) using version 1.4.0 of the maven-bundle-plugin, and (b) adding a <_nouses>true</_nouses> instruction. We also found a further motivation found for not generating the "uses" clause: this note from the Eclipse project developers mailing list: http://dev.eclipse.org/mhonarc/lists/stp-dev/msg01624.htmlImage Removed (concerning performance issues with "uses" clauses).

...