This commit is contained in:
parent
bcb4e32499
commit
6d072e9215
@ -6,7 +6,7 @@ diff -urEbwB org.eclipse.tycho-tycho-1.6.0.orig/tycho-packaging-plugin/src/main/
|
||||
@Override
|
||||
public Date getTimestamp(MavenSession session, MavenProject project, MojoExecution execution) {
|
||||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) {
|
||||
+ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))));
|
||||
+ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
|
||||
+ }
|
||||
return session.getStartTime();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user