Skip to content

Fail the build when a non-existent main class is declared #34

Open

Description

@gselzer

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

Activity

  1. self-assigned this