org.codehaus.plexus:plexus-i18n (inheriting the plexus parent) looks up localised messages from
ResourceBundles with a default bundle and locale so callers need not pass them each time; Maven
reporting plugins use it to localise generated report text. It is a thin convenience layer over
java.util.ResourceBundle, not a translation framework, and its API is small, stable and finished.
mvn verifybuilds. CI calls the sharedcodehaus-plexus/.githubbuild workflow (defaultmvn verify javadoc:javadoc, on the shared JDK and operating system matrix) and then the shared deploy workflow.- Main code targets Java 8 (
javaVersion8 from theplexusparent), and the JAR setsAutomatic-Module-Name: org.codehaus.plexus.i18n; keep that name stable. - Run
mvn spotless:applyon JDK 17 to 21 before pushing, or the formatting check fails. - Unit tests use JUnit 5. The bundles under
src/test/resourcesare test fixtures that the tests read by name. - Dependencies are deliberately minimal:
javax.injectand the SLF4J API, whose version is theslf4jVersionproperty (a deliberate 1.7.x pin). Avoid pulling a framework into this small component.
A change that users or contributors can notice ships with the documentation it affects, in the same pull request. A refactor with no visible effect needs none.
- There are no
src/sitepages: the published site is generated from the POM and the Javadoc, and the README is the user guide. A change to theI18NAPI or to how bundles and locales are resolved: the Javadoc, and the usage example inREADME.md. - The Java requirement, or how to build and release:
README.md. - A change to the project description: the
<description>in the POM and the opening ofREADME.md. - A new convention, build gate or test fixture: this file.