rquinio / l10n-maven-plugin

:abcd: Maven plugin to validate localization resources in Java properties files
MIT License
3 stars 1 forks source link

Ability to include/exclude filenames by name patterns #15

Open seanf opened 9 years ago

seanf commented 9 years ago

Java projects often have other .properties files under src/main/resources besides resource bundles. These properties files tend to lead to lots of warnings (or perhaps errors) from l10n:validate. In many cases, these warnings could be simply eliminated with an option to set file inclusion patterns like **/messages*.properties, or a exclusion patterns like **/eventservice.properties.

rquinio commented 9 years ago

Definitely make sense for a plugin that processes files. I believe the maven "standard" is:

<includes>
  <include>**/messages*.properties</include>
</includes>
<excludes>
  <exclude>**/eventservice.properties</exclude>
</excludes>