Remove main.java from pom.xml classpath.
No need to specify true on a boolean method.