Class UpToDatePropertyMojo

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

    @Mojo(name="uptodate-property",
          defaultPhase=VALIDATE,
          threadSafe=true)
    public class UpToDatePropertyMojo
    extends AbstractDefinePropertyMojo
    Sets a property according to whether one set of resources is up to date with respect to another.
    Since:
    1.12
    Author:
    Adrian Price demonfiddler@virginmedia.com
    • Constructor Detail

      • UpToDatePropertyMojo

        public UpToDatePropertyMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • execute

        protected void execute​(UpToDatePropertySetting config)
                        throws org.apache.maven.plugin.MojoExecutionException,
                               org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException