Skip to content
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

Reset system properties after calling event syps #729

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

oehme
Copy link
Contributor

@oehme oehme commented Oct 30, 2022

Event spies may want to read system properties, which will fail if they are reset too early. This change makes the behavior consistent with regular Maven.

Event spies may want to read system properties, which will fail if they are reset
too early. This change makes the behavior consistent with regular Maven.
@oehme
Copy link
Contributor Author

oehme commented Dec 7, 2022

We have put a hacky workaround into our extension (capturing the system properties early in the build), but it would be great if you could merge this fix.

@gnodet gnodet added this to the 1.0.0-m1 milestone Dec 7, 2022
@gnodet gnodet merged commit eedcb77 into apache:master Dec 7, 2022
@ppalaga
Copy link
Contributor

ppalaga commented Dec 8, 2022

You meant this one @guylabs?

@guylabs
Copy link

guylabs commented Dec 8, 2022

@ppalaga Yes exactly :) All done already. Thanks for checking back on this!

gnodet pushed a commit that referenced this pull request Jan 6, 2023
Event spies may want to read system properties, which will fail if they are reset
too early. This change makes the behavior consistent with regular Maven.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants