Fix scala language feature compiler warnings
Newer scala-maven-plugin