Upgrade maven-plugin-plugin to a version that reads the dependencies of plexus-sec-dispatcher 2.0

MSAL

org.codehaus.plexus:plexus-sec-dispatcher 2.0 depends on org.codehaus.plexus:plexus-utils 3.4.1, a multi-release jar with classes for Java 10. maven-plugin-plugin before 3.5 fails with an IllegalArgumentException when it reads them, as it scans the dependencies of a Maven plugin for mojos. In a repository where a pom declares org.sonatype.plexus:plexus-sec-dispatcher, which moves to 2.0, this upgrades an older maven-plugin-plugin to 3.5.

org.openrewrite.codehaus.plexus.UpgradeMavenPluginPluginForPlexusSecDispatcher2
mod run . --recipe=org.openrewrite.codehaus.plexus.UpgradeMavenPluginPluginForPlexusSecDispatcher2

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