--- Maven Plugin-IT Plugin: Usage --- John Casey --- 05 December 2006 --- Maven Plugin-IT Plugin Usage * <<>> The <<>> mojo is quite simple to use; for many cases, the simplest POM configuration is sufficient: --- [...] [...] maven-plug-it-plugin stage-plugin stage --- In this case, the <<>> mojo will simply install your plugin - with its version changed to <<>> - into <<<$\{project.build.directory\}/local-repository>>>. By default, it will skip the unit tests for the plugin during this operation, since unit testing is meant to happen in a different part of the main build. ** Customizing the test-time version of your plugin If you'd like to use a test-time version other than <<>> in your integration-test builds, simply specify the <<>> parameter: --- [...] [...] maven-plug-it-plugin stage-plugin it stage --- Now, your integration-test builds should specify a version of <<>> for your plugin under test. ** Using the <<>> mojo with unit-test builds If, for some reason, you're running Maven builds as part of your plugin's unit testing strategy (not sure why, but OK), you can bind the <<>> mojo to a lifecycle phase that executes earlier than <<>>, as follows: --- [...] [...] maven-plug-it-plugin stage-plugin process-test-classes stage --- >> phase instead.>