Class DiffMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.scm.plugin.AbstractScmMojo
org.apache.maven.scm.plugin.DiffMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="diff", aggregator=true) public class DiffMojo extends AbstractScmMojo
Display the difference of the working copy with the latest copy in the configured scm url.
  • Field Details

    • startScmVersionType

      @Parameter(property="startScmVersionType") private String startScmVersionType
      The version type (branch/tag/revision) of scmVersion.
    • startScmVersion

      @Parameter(property="startScmVersion") private String startScmVersion
      The version (revision number/branch name/tag name).
    • endScmVersionType

      @Parameter(property="endScmVersionType") private String endScmVersionType
      The version type (branch/tag/revision) of scmVersion.
    • endScmVersion

      @Parameter(property="endScmVersion") private String endScmVersion
      The version (revision number/branch name/tag name).
    • outputFile

      @Parameter(property="outputFile", defaultValue="${project.artifactId}.diff") private File outputFile
      Output file name.
  • Constructor Details

    • DiffMojo

      public DiffMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractScmMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException