I am using the following dependency in my project
<dependency>
<groupId>org.jvnet.hyperjaxb3</groupId>
<artifactId>hyperjaxb3-ejb-runtime</artifactId>
<version>0.6.0</version>
<scope>runtime</scope>
</dependency>
and I see the package org.jvnet.hyperjaxb3.item under the jar hyperjaxb3-ejb-runtime-060.jar in my maven dependencies for the project. My problem is that Maven complains that the package is not there while building the project. I have removed the jar and tried to rebuild, with no change though. Any help, I am stuck!
Author of Hyperjaxb3 here.
You need
hyperjaxb3-ejb-runtimein thecompilescope as well. In some cases JAXB structures are not directly compatible with JPA, so HJ3 has to wrap them or otherwise work around incompatibilities. In these cases you may needhyperjaxb3-ejb-runtime. Maybe not, if your schema is 100% JPA-compilant. Just use thecompilescope. Theruntimein the artifact name has nothing to do with Maven scopes.