Rename the package name from com.nimbusds.jose.shaded.json to net.minidev.json

MSAL

Rename the package name from com.nimbusds.jose.shaded.json to net.minidev.json.

org.openrewrite.java.spring.security5.RenameNimbusdsJsonObjectPackageName
mod run . --recipe=org.openrewrite.java.spring.security5.RenameNimbusdsJsonObjectPackageName

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Rename package name com.nimbusds.jose.shaded.json to net.minidev.json
  2. Add Gradle or Maven dependency net.minidev:json-smart:2.x