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

Configure Surefire plugin to generate coverage with custom arguments #361

Merged
merged 4 commits into from
Feb 19, 2024

Conversation

sleberknight
Copy link
Member

@sleberknight sleberknight commented Feb 18, 2024

This ensures the Jacoco agent VM arguments and the custom argument to set timezone are both passed to Surefire.

This ensures the Jacoco agent VM arguments are appended to the
custom Surefire argument to set timezone.
@sleberknight sleberknight added the investigation Something that needs to be investigated before implementation can proceed label Feb 18, 2024
@sleberknight sleberknight self-assigned this Feb 18, 2024
Add <argLine /> in properties section to see if that makes the
build work when not running jacoco, i.e., just a ,mvn test.
The build worked so don't need the customization of jacoco plugin.
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sleberknight sleberknight changed the title Configure Jacoco and Surefire plugins so the argLine is appended Configure Jacoco and Surefire plugins so coverage is correctly generated with custom Surefire arguments Feb 19, 2024
@sleberknight sleberknight changed the title Configure Jacoco and Surefire plugins so coverage is correctly generated with custom Surefire arguments Configure Surefire plugin to generate coverage with custom arguments Feb 19, 2024
@sleberknight sleberknight merged commit 53aac10 into master Feb 19, 2024
5 checks passed
@sleberknight sleberknight deleted the fix-jacoco-with-custom-surefire-argLine branch February 19, 2024 15:27
@sleberknight sleberknight added this to the 2.1.2 milestone Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Something that needs to be investigated before implementation can proceed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant