Open marioja opened 1 year ago
I am working on a pull request.
I think we can use an existing pull request for this.
What annotation does JaCoCo expect?
JaCoCo requires a runtime retention policy annotation. What existing pull request are you talking about?
Have a look at PR #1499 and let me know if you need anything.
Hi @joelittlejohn, is there any issue with my PR #1499? You might have been waiting until I was done and I think I am and just need your review.
@joelittlejohn Could this PR #1499 be merged or do you require something more from me? I would like to use it in our builds and would appreciate if this could be accepted. Thanks
@joelittlejohn gentle ping. Do you think PR #1499 could be merged? @billkoch is this something you would use? I have been using the artifact from my repo for a number of months with no issues and I would like to switch to @joelittlejohn's artifact.
@marioja this is definitely something I would use! Without this feature, I've been adding the generated classes to a JaCoCo ignore list.
Thank you for taking the time to report the issue and open a PR for it! ❤️
@billkoch Well I pinged joelittlejohn, so all we can do is wait for him to respond on the PR.
The javax.annotation.Generated or javax.annotation.processing.Generated annotation all use SOURCE retention policy which is not compatible with JaCoCo code coverage which works at the byte code level. We need to have the ability to use a custom generated annotation instead of or in addition to the javax annotation.