GoogleCloudPlatform / GoogleCloudPlatform/spring-cloud-gcp

Transitive org.json:json dependency is not compatible with Spring Boot

Open
#3,770 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: enhancement
Dominant language
Java
Stars
551
Forks
349
Avg merge
1d 13h
Merged PRs (30d)
14

Description

Hi,

Module `spring-cloud-gcp-bigquery` has a transitive dependency on `org.json:json` (through [here](https://github.com/googleapis/java-bigquerystorage/blob/main/google-cloud-bigquerystorage/pom.xml#L160)). Unfortunately, this causes compatibility issues with Spring Boot (see [here](https://github.com/spring-projects/spring-boot/issues/45504)).

Although Spring Boot is planning to move away from the conflicting library in 4.0.x, it would be nice if this compatibility issue could be fixed before that.

Contributor guide

Open the contributing guide

Research direction

Start with the spring-cloud-gcp-bigquery module and inspect the linked google-cloud-bigquerystorage pom.xml around line 160. Read the referenced Spring Boot compatibility issue, then trace the dependency tree to determine the affected transitive dependency. Done means the module no longer introduces the incompatible org.json:json dependency while its build remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.