Package org.eclipse.tycho.buildversion
Class DefaultBuildTimestampProvider
- java.lang.Object
-
- org.eclipse.tycho.buildversion.DefaultBuildTimestampProvider
-
- All Implemented Interfaces:
BuildTimestampProvider
@Component(role=BuildTimestampProvider.class, hint="default") public class DefaultBuildTimestampProvider extends Object implements BuildTimestampProvider
Build timestamp provider that returns the same timestamp for all projects, the ${maven.build.timestamp}.
-
-
Constructor Summary
Constructors Constructor Description DefaultBuildTimestampProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
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.
-
-
-
Method Detail
-
getTimestamp
public Date getTimestamp(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project, org.apache.maven.plugin.MojoExecution execution)
Description copied from interface:BuildTimestampProvider
Returns build timestamp of the current project.- Specified by:
getTimestamp
in interfaceBuildTimestampProvider
-
-