Class RewriteDryRunMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="dryRun",
          requiresDependencyResolution=TEST,
          threadSafe=true,
          defaultPhase=PROCESS_TEST_CLASSES)
    @Execute(phase=PROCESS_TEST_CLASSES)
    public class RewriteDryRunMojo
    extends AbstractRewriteMojo
    Generate warnings to the console for any recipe that would make changes, but do not make changes.
    • Constructor Detail

      • RewriteDryRunMojo

        public RewriteDryRunMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException