Use scala-maven-plugin and fix some but not all compile errors