coveralls-maven-plugin
coveralls-maven-plugin copied to clipboard
fails to parse cobertura xml
Hello, I am trying to integrate the plugin with my application(https://github.com/shekhargulati/milestogo) but getting this exception. The TravisCI build https://travis-ci.org/shekhargulati/milestogo/jobs/20308559
[ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:2.1.0:cobertura (default-cli) on project milestogo: Processing of input or output data failed: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
Most likely the Coveralls API was down when the report submission happened. The error message from the plugin was not good at all and the error messages were improved in the 2.2.0 version. See discussion in #31.
The other issue you had with JaCoCo is that it is not Java 8 compliant. You cannot run JaCoCo without instrumenting the tests, and it seems that the instrumentation does not work with Java 8. See https://github.com/jacoco/jacoco/issues/74.