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 () for the build - this will generate the necessary Manifest file.
Activity
Show:
Christian Beikov October 21, 2022 at 3:02 PM
We dropped the hibernate-osgi module in 6 because nobody wanted to maintain all this metadata and tests. If you want Hibernate to work in an OSGi environment, please provide a pull request with the necessary fix.
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 () for the build - this will generate the necessary Manifest file.