- Make the library an OSGi bundle (using
maven-bundle-plugin) and deploy it to a Maven repository
- Aggregate the library into an Eclipse feature, and put it into a p2 repository. We use the the
textgridlab-dependenciesproject for that.
- Depend on feature in an Eclipse-only feature or the product, and depend on the bundle or its packages in your bundle.