Update SCM with Git origin
Apache 2.0Updates or adds the Maven <scm> tag based on the Git remote origin. By default, only existing Source Control Management (SCM) sections are updated. Set addIfMissing to true to also add missing SCM sections to root POMs (POMs without a parent element).
org. openrewrite. maven. UpdateScmFromGitOriginOptional
addIfMissingBoolean
If set to true, the recipe will add a <scm> section if it is missing. If set to false (default), the recipe will only update existing <scm> sections.
mod run . --recipe= org. openrewrite. maven. UpdateScmFromGitOriginInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.