Set the Java version of Maven builds that rely on the compiler plugin's default

Proprietary

A Maven build that sets no Java version compiles for the default of its maven-compiler-plugin, which is Java 5 before version 3.8 of the plugin and which recent JDKs no longer compile for. Sets the maven.compiler.source and maven.compiler.target properties in each POM that sets no Java version itself, inherits none from its parent and whose parent is not part of the same build.

io.moderne.vertx.AddMavenCompilerJavaVersion

Optional

The Java version to compile for. Defaults to 11, the version Vert.x 5 requires.

mod run . --recipe=io.moderne.vertx.AddMavenCompilerJavaVersion

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