-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MNG-8230] Rewrite CI friendly versions #1710
Conversation
668da63
to
970bf26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR seems mixed with DI?
Yes, it requires a session scope which is not well supported by the sisu/di bridge. I'll rebase once #1722 is merged. |
8685029
to
3581881
Compare
IMO, the proper way of working for CFV is:
Or I miss something? |
This role is supposed to be hold by the |
fcf7337
to
4805dbe
Compare
CI Friendly versions are now fully opened, so not limited anymore to the 3 predefined properties which were
sha1
,changelist
andrevision
.So expression on version and parent version are interpolated with their proper values, taken from the session user properties and from the session's root project properties (uninterpolated).
An additional validation check after computing this file model to ensure that no expression is used in version at this point. This ensures that during the next step (raw model build), all the full GAV are known, as they will be used to infer missing dependency information. It allows remove possible problems with plugins, not being fully aware of those versions.
JIRA issue: https://issues.apache.org/jira/browse/MNG-8230
IT PR: apache/maven-integration-testing#366