I had the same problem, and it was just my JAVA_HOME variable that was set to Java 1.8. Apparently, Maven was using this JDK to run the plugin. I just set it to a more recent version and rebooted my PC.