Interface BuildTimestampProvider


public interface BuildTimestampProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getTimestamp(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project, org.apache.maven.plugin.MojoExecution execution)
    Returns build timestamp of the current project.
    void
    setQuiet(boolean quiet)
    ask the provider to be as quiet as possible (e.g. not emit any message at INFO / WARNING)
  • Method Details

    • getTimestamp

      Date getTimestamp(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project, org.apache.maven.plugin.MojoExecution execution) throws org.apache.maven.plugin.MojoExecutionException
      Returns build timestamp of the current project.
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • setQuiet

      void setQuiet(boolean quiet)
      ask the provider to be as quiet as possible (e.g. not emit any message at INFO / WARNING)
      Parameters:
      quiet -