Update project URL with Git origin

Apache 2.0

Updates the Maven project <url> based on the Git remote origin. Only POMs whose parent is not in the same repository are updated, as modules typically inherit or extend the parent's URL.

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

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