I'm having some trouble importing jaxws-rt with gradle. Appearently, jaxws-rt has an internal dependency with glassfish's ha-api:3.1.9, and this one should have a hk2-jar file that does not exists (even in Maven's central repository). The error I get is:
Execution` failed for task ':compileJava'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not determine artifacts for org.glassfish.ha:ha-api:3.1.9
> Could not get resource 'http://myartifactory.com/org/glassfish/ha/ha-api/3.1.9/ha-api-3.1.9.hk2-jar'.
> Could not HEAD 'http://myartifactory.com/org/glassfish/ha/ha-api/3.1.9/ha-api-3.1.9.hk2-jar'.
Can someone give me a hand with this? The only workaround I found was to exclude ha-api from jaxws-rt dependency (not properly tested for side effects).
I'm having some trouble importing jaxws-rt with gradle. Appearently, jaxws-rt has an internal dependency with glassfish's ha-api:3.1.9, and this one should have a hk2-jar file that does not exists (even in Maven's central repository). The error I get is:
Can someone give me a hand with this? The only workaround I found was to exclude ha-api from jaxws-rt dependency (not properly tested for side effects).
Cheers
Nikao
Source: https://github.com/javaee/metro-jax-ws/issues/1255 Author: niclarcipretti