Remove Maven wrapper

Apache 2.0

Remove Maven wrapper files from a project. This includes the mvnw and mvnw.cmd scripts, and the .mvn/wrapper directory.

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

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

Recipe list

It runs these recipes, in this order.

  1. Delete files **/mvnw
  2. Delete files **/mvnw.cmd
  3. Delete files **/.mvn/wrapper/**