pom.artifactId changed to project.artifactId, throw new Exception changes to throw new RuntimeException