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

Tolerate JAX-RS 2.2 in swagger-core so that it can be deployed in Liberty alongside features which use 2.2 #4590

Closed
JDUNNIN opened this issue Jan 9, 2024 · 1 comment
Assignees

Comments

@JDUNNIN
Copy link

JDUNNIN commented Jan 9, 2024

When using a Liberty container image such as icr.io/appcafe/websphere-liberty:23.0.0.9-full-java11-openj9-ubi and trying to use the swagger-core library we get a conflict due to two implementations of javax.xml.bind being available.

The features we need to use within Liberty only supply the 2.2 implementation.

Looking at swagger-core 2.2.9 we can see it has compile dependencies on jakarta.xml.bind-api 2.3.2 and so provides an implementation at 2.3. This then causes the conflict.

This issue is to request that swagger-core be updated in some way to change the toleration that ends up in the /META-INF/MANIFEST.MF file to be javax.xml.bind.annotation;version="[2.2,3)" instead of what it has today: javax.xml.bind.annotation;version="[2.3,3)".

Thanks.

@micryc
Copy link
Contributor

micryc commented Jan 18, 2024

Fixed by #4595

@micryc micryc closed this as completed Jan 18, 2024
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