Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Test arguments passed to surefire plugin override Jacoco agent arguments #20

Closed
massdosage opened this issue Jul 26, 2018 · 0 comments
Closed
Assignees

Comments

@massdosage
Copy link
Contributor

This has more details (and lots of discussions on various possible ways to solve the issue):

https://stackoverflow.com/questions/23190107/cannot-use-jacoco-jvm-args-and-surefire-jvm-args-together-in-maven

Basically, we currently set the arguments passed to the surefire plugin to only be the test.arguments property which means any arguments set (e.g. by the Jacoco plugin in this case) are lost.

Acceptance Criteria

  • Surefire plugin allows additional command line arguments to be passed in
  • Above is tested on a downstream project which sets test.arguments and is also using Jacoco (this is current failing with Jacoco not generating any .exec files)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant