Validate filename conventions with Maven Enforcer plugin

Update: This post is now available at a new location:
https://blog.ngeor.com/2017/04/17/validate-filename-conventions-with-maven-enforcer-plugin.html

In this post I’m using the Maven Enforcer plugin to break the build when certain files don’t follow the expected naming convention. It’s always a good idea to take the time and implement these checks inside the build pipeline. The alternative is hoping that code reviewers will spot the problems, which is a manual, tedious and error prone approach. Automate all the things! Continue reading Validate filename conventions with Maven Enforcer plugin

Advertisements