To prevent creating of this directory and the Main class, uncheck the box for "Add sample code" in the New Project wizard. This is just above the GroupId and ArtifactId in your first picture.