Class TimestampPropertyMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.TimestampPropertyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="timestamp-property", defaultPhase=VALIDATE, threadSafe=true) public class TimestampPropertyMojo extends AbstractDefinePropertyMojo
Sets a property based on the current date and time.
Since:
1.7
Author:
Stephen Connolly
  • Constructor Details

    • TimestampPropertyMojo

      public TimestampPropertyMojo()
  • Method Details

    • 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