View Javadoc

1   package org.sonatype.plugins.munge;
2   
3   import org.apache.maven.plugin.AbstractMojo;
4   import org.apache.maven.plugin.MojoExecutionException;
5   
6   /**
7    * Forks a new build that compiles and runs tests using the munged source in place of the original.
8    * 
9    * @goal munge-fork
10   * @execute lifecycle=munge phase=prepare-package
11   */
12  public class MungeForkMojo
13      extends AbstractMojo
14  {
15      public void execute()
16          throws MojoExecutionException
17      {
18          // this mojo only exists to launch the forked build
19      }
20  }