googleapis / googleapis/google-cloud-java

[sdk-platform-java] Provide a version that doesn't build upon old javax libraries

Open
#12,363 1 comment 0 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
157

Description

**Is your feature request related to a problem? Please describe.**

In version 1.39 a dependency to api-common was introduced.
[Commit](https://github.com/googleapis/google-auth-library-java/commit/e7d4380ce94bbdd5a879591e0652945262e896aa)

api-common still references javax.annotations a dependency that has moved to jakarta.annotations years ago. This can cause a headache for projects that already moved to jakarta.

**Describe the solution you'd like**
Update to the jakarta namespace or remove the api-common dependency because it is only used for one annotation anyway.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the sdk-platform-java dependency introduced in version 1.39 and the linked commit, then trace its use of api-common and javax.annotations. Done means providing a version that avoids the old javax dependency, either by using jakarta.annotations or removing api-common as proposed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.