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 AbstractRewriteDryRunMojo
    Generate warnings to the console for any recipe that would make changes, but do not make changes. This variant of rewrite:dryRun will fork the maven life cycle and can be run as a "stand-alone" goal. It will execute the maven build up to the process-test-classes phase.
    • Constructor Detail

      • RewriteDryRunMojo

        public RewriteDryRunMojo()