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

Downgraded the artifact "jakarta.ws.rs:jakarta.ws.rs-api" for compatibility with Java 11. #492

Closed

Conversation

PeJetuz
Copy link

@PeJetuz PeJetuz commented Jul 18, 2024

@yegor256
The artifact "jakarta.ws.rs:jakarta.ws.rs-api:4.0.0" is not compatible with JDK 11, only with 17 and later.
Jakarta EE 11:
This specification requires that containers support execution in a Java™ runtime environment, as defined by the Java Platform, Standard Edition specification, v17 or later (Java SE 17 or later).
I rolled back the version of this artifact to 3.1.0.
If this is not needed, please close this PR.

@yegor256
Copy link
Member

@PeJetuz we can, of course, downgrade it. However, dependabot will try to increase it again, and we won't be able to stop him. If you really need to keep this version lower than the latest one in Maven Central, you have to add some test to the project, preventing the upgrade.

@PeJetuz
Copy link
Author

PeJetuz commented Jul 18, 2024

@yegor256 thank you!
I don't think this should really be done. I can’t yet say how this might affect other projects.
The pull request to the takes project has version 3.1.0 of this artifact, which is exactly compatible with Java 11.

@PeJetuz PeJetuz closed this Jul 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

Successfully merging this pull request may close these issues.

2 participants