You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As can be seen in the action logs (here's an example, see under "Deposit Code Coverage"), the Coveralls plugin cannot find sources for classed generated by QueryDSL.
Usually these should be ignored by JaCoCo, but they are present as the default annotation javax.annotation.processing.Generated has retention scope SOURCE and is no longer visible to JaCoCo.
Classed generated by QueryDSL are included in the JaCoCo report
because of not using an `@Generated` annotation that is of retention
scope "runtime" or "class".
This commit moves the APT dependency for QueryDSL to the Maven compiler
plugin configuration and annotation processor, which makes it
configurable.
Switching the annotation to be used with QueryDSL generated classes
fixes the code coverage reporting problem.
See also: querydsl/querydsl#3131 (comment)
See also: https://querydsl.com/static/querydsl/latest/reference/html/ch03s03.html
As can be seen in the action logs (here's an example, see under "Deposit Code Coverage"), the Coveralls plugin cannot find sources for classed generated by QueryDSL.
Usually these should be ignored by JaCoCo, but they are present as the default annotation
javax.annotation.processing.Generated
has retention scopeSOURCE
and is no longer visible to JaCoCo.CoverAll Maven plugin doc says: do not include generated sources. (Which makes sense - why would we count that...)
The text was updated successfully, but these errors were encountered: