Run Main method with maven.