Closed mwanji closed 9 years ago
I'm seeing the same issue; had to move the output directory back to the default location despite setting it in the configuration.
@mwanji
Got mine working, based on the code just looks like we needed to fully reference the jacoco.xml file, not just the base directory
A bit late answer but as @chrisbennight said you need to reference the actual report file, not just directory. This is because some tools actually provide reports that are compatible with for example cobertura format. So you can use tools like scoverage but actually use them as cobertura reports.
I'll improve the documentation for this part. @mwanji could you try adding the full path to the jacoco.xml file and try again.
I made the change and it works. Thanks for the help, @chrisbennight and @trautonen .
In my pom.xml, I set JaCoCo reports to be generated in a custom location:
I also configured coveralls-maven-plugin to add the report in the same custom location:
I get the following error:
I am working around it by generating the JaCoCo report in the default location, but it would be great if non-default locations worked, too.