There is a clash over the transitive dependency on json-smart between spring-security-oauth2-client:5.3.3 and spring-boot-starter-test:2.3.1. The issue was addressed in spring-security-oauth2-client, but spring-boot-dependencies is still causing this to clash.
As this is now an issue with the dependency declaration in spring-boot-dependencies, and because the corresponding ticket has already been closed in spring-security, I'll reopen it here with updated Spring version numbers. (Not sure which ticket queue it should be on.)
Full details are here: spring-projects/spring-security#8608 (comment)
[INFO] +- org.springframework.security:spring-security-oauth2-client:jar:5.3.3.RELEASE:compile
[INFO] | +- com.nimbusds:oauth2-oidc-sdk:jar:7.1.1:compile (version managed from 7.5)
[INFO] | | +- net.minidev:json-smart:jar:1.3.1:compile
Version 1.3.1 doesn't seem to support JSON Path (sufficiently).
Version 2.3 isn't pulled in because of spring-boot-dependenciesimporting an older version of com.nimbusds:oauth2-oidc-sdk:
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.3.1.RELEASE:test
[INFO] | +- (org.springframework.boot:spring-boot-starter:jar:2.3.1.RELEASE:test - omitted for duplicate)
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | +- (net.minidev:json-smart:jar:2.3:test - omitted for conflict with 1.3.1)
Can com.nimbusds:oauth2-oidc-sdk be updated to 7.5 (or 7.+, as in spring-security-oauth2-client)?
management "com.nimbusds:nimbus-jose-jwt:8.+"
management "com.nimbusds:oauth2-oidc-sdk:7.+"