Drop prefixless expressions in POM

Apache 2.0

MNG-7404 drops support for prefixless in POMs. This recipe will add the project. prefix where missing.

org.openrewrite.maven.cleanup.PrefixlessExpressions
mod run . --recipe=org.openrewrite.maven.cleanup.PrefixlessExpressions

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. Rename Maven property key basedir to project.basedir
  2. Rename Maven property key build.timestamp to project.build.timestamp
  3. Rename Maven property key groupId to project.groupId
  4. Rename Maven property key artifactId to project.artifactId
  5. Rename Maven property key version to project.version
  6. Rename Maven property key pom.version to project.version