Hi all,
I encountered following warnings when I ran mvn site-deploy on multi module maven project. This occurs while performing check goal.
Warning:
[WARNING] has test file source dir = true
[WARNING] test file source dir =
My maven configuration looks like this:
"<configuration>
<jdk>${project.java.version}</jdk>
<targetPercentage>${clover.target.percentage}</targetPercentage>
<generateHistorical>false</generateHistorical>
<includesTestSourceRoots>false</includesTestSourceRoots>
<licenseLocation>${licenseLocation}</licenseLocation>
</configuration>"
Can someone please let me know when would we encounter those warnings and a fix for it. Thanks.
Hi. This warning is generated when you use check goal and you don't have any test sources instrumented. In the snippet you provided that's the case:
<includesTestSourceRoots>false</includesTestSourceRoots>
It's not harmful for the production code coverage calculation as long as all tests are passing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.