Convert auto-configuration exclude to excludeName
MSALRewrite a class literal in the exclude attribute of @SpringBootApplication or @EnableAutoConfiguration to a string literal in the excludeName attribute. Useful when the excluded auto-configuration is not on the compile classpath (for example because it became package-private in a newer version of its library). If the target was the last entry in exclude, that attribute is removed. If excludeName already contains the value, no duplicate is added.
org. openrewrite. java. spring. ConvertAutoConfigurationExcludeToExcludeNameRequired
The fully qualified name of the auto-configuration class to move from the exclude attribute (as a class literal) to the excludeName attribute (as a string literal).
mod run . --recipe= org. openrewrite. java. spring. ConvertAutoConfigurationExcludeToExcludeName \
-P fullyQualifiedName= org. springframework. boot. autoconfigure. solr. SolrAutoConfigurationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.