Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For jars that are intended to be usable by other projects, build them with the maven-bundle-plugin so they include OSGi metadata.
  • Put APIs and implementation details in different packages.  A common convention in the OSGi world is to use the ".impl" suffix on packages that contain implementation details.
  • If possible, avoid using libraries that are known to be problematic in OSGi environments, or require third-party repackaging in order to work in OSGi environments.  Well-known examples include:

...