-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[MNG-8437] mvnsh #1982
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-8437] mvnsh #1982
Conversation
Now it all depends HOW the context is created.
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.
Awesome ! Really nice work !
| .build(); | ||
|
|
||
| customizeSettingsRequest(context, settingsRequest); | ||
| if (context.eventSpyDispatcher != null) { |
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.
Our regression tests fail because the SettingsBuilderRequest event no longer fires after this PR has been merged. Would that be because eventSpyDispatcher is now somehow null at this point?
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 method is called twice, once (very early) when loading up extensions, then spy is null. The 2nd invocation is when "maven boots" and then spy should not be null...
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.
Here's a reproducer https://github.com/alextu/maven4-reproducer
|
Resolve #9418 |
The beginning
https://asciinema.org/a/KxFoz2NUyI0joa4kM4ZRRCJgD
Changes:
-o(offline) option to "generic" Options from MavenOptionsRelated PRs:
https://issues.apache.org/jira/browse/MNG-8437