maven-rbc-plugin
Posted on July 23rd, 2009 by mm
The resource bundle check (rbc) plugin runs some checks on your resource files for consistency. It wraps the existing Ant based rscbundlecheck target in a maven plugin and prints the check results stdout.
In short words, it good for
- Find missing translations
- Detect missing resource files
- Detect invalid charactes
- … and several more, check out the wrapped rscbundlecheck
Check out the plugin documentation for details.
Example output:
[INFO] [rbc:check {execution: rbccheck}]
[INFO] Found 12 bundles
[INFO] Checking bundle net/metacube/example/AbstractBasePage ...
[WARNING] Missing resource for bundle net/metacube/example/AbstractBasePage and locale de
Including example/src/main/resources/net/metacube/example/AbstractBasePage.properties
Enabled checks: [empty key check, duplicate key check, empty value check, cross bundle check, line end check, unicode check]
[INFO] Checking bundle net/metacube/example/AbstractAuthenticatedPage ...
Including example/src/main/resources/net/metacube/example/AbstractAuthenticatedPage.properties
Including example/src/main/resources/net/metacube/example/AbstractAuthenticatedPage_de.properties
Enabled checks: [empty key check, duplicate key check, empty value check, cross bundle check, line end check, unicode check]
[INFO] Checking bundle net/metacube/example/SearchPage ...
Including example/src/main/resources/net/metacube/example/SearchPage.properties
Including example/src/main/resources/net/metacube/example/SearchPage_de.properties
Enabled checks: [empty key check, duplicate key check, empty value check, cross bundle check, line end check, unicode check]
cross bundle check: Missing key(s) [error.wrong.page.params] (example/src/main/resources/net/metacube/example/SearchPage_de.properties:null)
...
I welcome any feedback sent to maven-rbc-plugin at metacube dot net!

