Build does not declare a provided API dependency

MSAL

Find build files without an explicitly provided or compile-only API, so adding a compile dependency does not promote a container-provided API to runtime scope.

org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency

Required

Legacy and Jakarta groupId:artifactId coordinates whose provided scope must be preserved. Separate values with commas.

mod run . --recipe=org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency \ -P coordinates='javax.enterprise:cdi-api, jakarta.enterprise:jakarta.enterprise.cdi-api'

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