Create an integration test which verifies the OSGi descriptors by running some tests in an OSGi environment (e.g. Felix or Equinox).
Should we run all tests in the OSGi container (again)? On one hand, it is unnecessary, because it can be assumed that nearly all things behave the same inside OSGi as before in a non-OSGi environment. On the other hand, some things definitely work differently - especially class-loading. Maybe the best would thus be to have specific tests for the OSGi environment instead of simply running all the (other) tests again. This would save time and allow to check for certain situations that only cause trouble in OSGi (e.g. the model classes being spread over multiple OSGi bundles).