Add -parameters compiler flag for Spring in Maven

MSAL

Sets the maven.compiler.parameters property to true and, when kotlin-maven-plugin is declared, configures its javaParameters option. Spring uses parameter name retention for dependency injection. Projects whose effective build already decides parameter name retention — through their own configuration or any parent such as spring-boot-starter-parent — are not modified.

org.openrewrite.maven.spring.AddParametersCompilerFlagToMaven
mod run . --recipe=org.openrewrite.maven.spring.AddParametersCompilerFlagToMaven

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