It's easy to copy over main-class property into a pom when you're making a new project. If this class doesn't exist, then we should fail the build (via a new enforcer plugin), and suggest that the developer either add the main class or delete the property from the pom.
Example offender