Community
Participate
Working Groups
BuildQualifierMojo currently maintains its own reactor build timestamp. Although insignificant from performance and amount of code standpoint, this causes confusion when the same reactor build uses both Tycho and standard Maven timestamps and the two disagree. It is also impossible to access Tycho reactor build timestamp as ${property}, when filtering resources, for example. Unfortunately, Maven timestamp formatter uses current timezone, which will need to be fixed in Maven core before both Maven and Tycho can produce identical build timestamps.
(In reply to comment #0) > Unfortunately, Maven timestamp formatter uses current timezone, which will need > to be fixed in Maven core before both Maven and Tycho can produce identical > build timestamps. Is there a chance that this is happening any time soon? Unfortunately, I haven't seen any activity on the Maven project lately (seen from a quite remote viewpoint...)
(In reply to comment #1) > (In reply to comment #0) > > Unfortunately, Maven timestamp formatter uses current timezone, which will need > > to be fixed in Maven core before both Maven and Tycho can produce identical > > build timestamps. > Is there a chance that this is happening any time soon? Unfortunately, I > haven't seen any activity on the Maven project lately (seen from a quite remote > viewpoint...) Yes, there is a chance. Why?
I was just a bit worried that Maven doesn't move forward any more. Good to hear that this is not the case.
move all open bugs to post 0.14.0
Just had the same idea, i.e. wanted to use UTC timestamps. Well, there is at least a Maven bug now that links to this one. https://jira.codehaus.org/browse/MNG-5452
This has now been fixed on Maven master (Fixed on 2a4d172600a6252da662edb450e9513067d6ef9e) and will be released in the up coming Maven 3.2.2. https://jira.codehaus.org/browse/MNG-5452
I have spun of another issue for that (https://jira.codehaus.org/browse/MNG-5647) just to make sure that the build timestamp is a parsable ISO 8601 string and denotes the UTC time zone.
Any change to fix it?
New Gerrit change created: https://git.eclipse.org/r/84339
Gerrit change https://git.eclipse.org/r/84339 was merged to [master]. Commit: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=a1e59ea63821e7693b8eccf1c765494f4e2d4d31
Now the ${maven.build.timestamp} is returned within the Default Build Timestamp Provider as build timestamp. If you run a build in a mixed reactor (Maven and Tycho projects) now both projects with have the same build qualifier.