-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Milestone
Description
As discussed in #603 CI-Friendly-Versions might be of high value for ease building consistent versions.
We should add support for automatically setting the following items:
{revision}initialized with what currently is theDefaultBuildTimestampProvider{sha1}initialized with what currently is theJGitBuildTimestampProvider
this could be done in the following way:
- We add a new LifeCycleParticipant
- We read from a
tycho.configfile two properties:cifriendly.revisionandcifriendly.sha1if they aretruewe set the corresponding value in the maven session properties inafterSessionStarts - Everything else stays as is, with the exception that we skip generation of new qualifiers in
BuildQualifierMojoif there is already a value - For Tycho 3.x we can try to overhaul the concept of
BuildTimestampProviderso it could be used more flexible, e.g. one might want to havecifriendly.revisionnot true/false but having a hint for a specific provider to lookup in the PlexusContainer (would require changing theBuildTimestampProviderinterface) passing config values and so on
Metadata
Metadata
Assignees
Labels
No labels