I used this artifact to generate equals and hashcode to my JAXB generated Java files:
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>${jaxb2-basics.version}</version>
</dependency>
The result works very well in non-OSGI environments. However, the artifact that is created from my project is used with OSGI. It seems like this artifact is not OSGI compatible, so I reverted my work.
We are using org.apache.felix / maven-bundle-plugin to generate the needed OSGI meta files, but when I try to export the custom packages, it fails because the artifact being used is not OSGI ready.
Are there OSGI - ready artifacts for this? Or should I create one for myself? Thanks!