Class RewriteDryRunNoForkMojo

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

@Mojo(name="dryRunNoFork", requiresDependencyResolution=TEST, threadSafe=true, defaultPhase=PROCESS_TEST_CLASSES) public class RewriteDryRunNoForkMojo 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 not fork the maven life cycle and can be used (along with other goals) without triggering repeated life-cycle events. It will execute the maven build up to the process-test-classes phase.

  • Constructor Details

    • RewriteDryRunNoForkMojo

      public RewriteDryRunNoForkMojo()