Class UpToDatePropertiesMojo

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

    @Mojo(name="uptodate-properties",
          defaultPhase=VALIDATE,
          threadSafe=true)
    public class UpToDatePropertiesMojo
    extends AbstractUpToDatePropertyMojo
    Sets multiple properties according to whether multiple sets of source and target resources are respectively up to date.
    Since:
    1.12
    • Field Detail

      • upToDatePropertySettings

        @Parameter(required=false)
        private java.util.List<UpToDatePropertySetting> upToDatePropertySettings
        List of UpToDatePropertySettings to apply.
      • skip

        @Parameter(property="buildhelper.uptodateproperties.skip",
                   defaultValue="false")
        private boolean skip
        Disables the plug-in execution.
    • Constructor Detail

      • UpToDatePropertiesMojo

        public UpToDatePropertiesMojo()
    • 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