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

replace standard maven properties imported from surefire #1309

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Feb 9, 2024

In the last release pitest was updated to read argLine arguments from the surefire config, including support for surefire's late parsing of fields using the '@' symbol.

Unfortunately standard fields using the maven '$' syntax were being brought through unreplaced when read from surefire, causing errors when launching processes.

This change resolves this issues, and also moves the parsing of surefire arglines under the control of a new parseSurefireArgLine parameter. This is enabled by default, but can be set to false if attempting to read the surefire argline causes an issue for a particular project.

Surefire argLine parsing now controlled by a flag to allow easy disable if it causes problems.
@hcoles hcoles merged commit 0c79a82 into master Feb 12, 2024
7 checks passed
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.

1 participant