Skip to content

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

@gselzer

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions