I am trying to use Hibernate in an Eclipse RCP/RAP environment with Eclipse Tycho and Maven. So I added all the Hibernate depencies to my target platform and Tycho is trying to find out, if these are OSGI bundles or not. Because the Manifest contains several OSGI attributes like 'Bundle-Name' Tycho thinks the Hibernate bundles are already OSGI bundles. But when I’m trying to build the whole project I get an error that the 'Bundle-Version' is missing:
In this context it could be an idea to think about using the gradle bnd plugin (https://plugins.gradle.org/plugin/biz.aQute.bnd) for the build - this will generate the necessary Manifest file. |