Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tomas-Kraus opened this issue Jun 2, 2022 · 1 comment
Closed

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

Tomas-Kraus opened this issue Jun 2, 2022 · 1 comment

Comments

@Tomas-Kraus
Copy link
Member

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
Copy link
Member

lukasj commented Jun 3, 2022

@lukasj lukasj closed this as completed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants