Class 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 Detail

      • startScmVersionType

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

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

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

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

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

      • DiffMojo

        public DiffMojo()
    • Method Detail

      • 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