eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

Can't include jaxws-rt 2.2.10 using gradle #611

Closed Tomas-Kraus closed 2 years ago

Tomas-Kraus commented 2 years ago

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: https://github.com/javaee/metro-jax-ws/issues/1255 Author: niclarcipretti

lukasj commented 2 years ago

it's there https://search.maven.org/artifact/org.glassfish.ha/ha-api/3.1.9/hk2-jar