There is a nice check in Checkstyle that allows you to keep your localized resource bundles in sync.
In its current state maven-checkstyle-plugin cannot make use of this check, for two reasons:
- maven-checkstyle-plugin only recognizes **/*.java files. This can be re-configured with the <includes> parameter.
- maven-checkstyle-plugin supports only one source directory, which is configured with the <sourceDirectory> parameter.
We need to be able to add a resource directory (/src/main/resources by default) that is searched for **/*.properties files by default.