Can't include jaxws-rt 2.2.10 using gradle
Closed this issue · 1 comments
Tomas-Kraus commented
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).
Cheers
Nikao
Source: javaee/metro-jax-ws#1255
Author: niclarcipretti
lukasj commented