Maven build error: “Caused by: Incompatible version 1007”

I was encountering this error in Jenkins when it tried to build a project I was working on:

Caused by: Incompatible version 1007.
at org.sonar.plugins.jacoco.AbstractAnalyzer.readExecutionData(
at org.sonar.plugins.jacoco.AbstractAnalyzer.analyse(

The problem was due to a breakage/bug in the jacoco-maven-plugin. To fix, simply add a version in your pom.xml, like so:


That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.