Update Maven Java project properties
MSALThe Java version is determined by several project properties, including:
java.versionjdk.versionjavaVersionjdkVersionmaven.compiler.sourcemaven.compiler.targetmaven.compiler.releaserelease.version
If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the maven.compiler.release property.
org. openrewrite. java. migrate. maven. UpdateMavenProjectPropertyJavaVersionRequired
The Java version to upgrade to.
mod run . --recipe= org. openrewrite. java. migrate. maven. UpdateMavenProjectPropertyJavaVersion \
-P version=11Install 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.