Modernize obsolete Maven poms

Apache 2.0

Very old Maven poms are no longer supported by current versions of Maven. This recipe updates poms with <pomVersion>3</pomVersion> to <modelVersion>4.0.0</modelVersion> of the Maven pom schema. This does not attempt to upgrade old dependencies or plugins and is best regarded as the starting point of a migration rather than an end-point.

org.openrewrite.maven.ModernizeObsoletePoms
mod run . --recipe=org.openrewrite.maven.ModernizeObsoletePoms

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