Module has plugin

Apache 2.0

Searches for Maven modules that have a plugin matching the specified groupId and artifactId. Places a SearchResult marker on all sources within a module with a matching plugin. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that apply the spring boot plugin, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) file applying the plugin, use the FindPlugins recipe instead.

org.openrewrite.maven.search.ModuleHasPlugin

Required

The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

mod run . --recipe=org.openrewrite.maven.search.ModuleHasPlugin \ -P groupId=org.openrewrite.maven \ -P artifactId=rewrite-maven-plugin

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