In my case adding
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>common-java5</artifactId>
<version>${maven-surefire-plugin.version}</version>
<scope>test</scope>
</dependency>
helped avoiding this error