Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robtimus/i18n-maven-plugin
A Maven plugin for generating accessor classes for I18N resources
https://github.com/robtimus/i18n-maven-plugin
i18n java maven maven-plugin
Last synced: about 5 hours ago
JSON representation
A Maven plugin for generating accessor classes for I18N resources
- Host: GitHub
- URL: https://github.com/robtimus/i18n-maven-plugin
- Owner: robtimus
- License: apache-2.0
- Created: 2017-08-27T16:04:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-20T12:42:09.000Z (10 months ago)
- Last Synced: 2024-01-20T13:35:43.520Z (10 months ago)
- Topics: i18n, java, maven, maven-plugin
- Language: Java
- Homepage: https://robtimus.github.io/i18n-maven-plugin/
- Size: 618 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# I18N Maven Plugin
[![Maven Central](https://img.shields.io/maven-central/v/com.github.robtimus/i18n-maven-plugin)](https://search.maven.org/artifact/com.github.robtimus/i18n-maven-plugin)
[![Build Status](https://github.com/robtimus/i18n-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/robtimus/i18n-maven-plugin/actions/workflows/build.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.github.robtimus%3Ai18n-maven-plugin&metric=alert_status)](https://sonarcloud.io/summary/overall?id=com.github.robtimus%3Ai18n-maven-plugin)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.github.robtimus%3Ai18n-maven-plugin&metric=coverage)](https://sonarcloud.io/summary/overall?id=com.github.robtimus%3Ai18n-maven-plugin)
[![Known Vulnerabilities](https://snyk.io/test/github/robtimus/i18n-maven-plugin/badge.svg)](https://snyk.io/test/github/robtimus/i18n-maven-plugin)The I18N Maven Plugin allows you to generate I18N classes from I18N resource files. Such I18N classes provides easy and safe access to the keys in their backing I18N resource files, without risking any [MissingResourceExceptions](https://docs.oracle.com/javase/8/docs/api/java/util/MissingResourceException.html) or getting the number of place holders wrong.
### Goals Overview
* [i18n:generate](https://robtimus.github.io/i18n-maven-plugin/generate-mojo.html) generate an I18N class from an I18N resource file.
### Usage
Instructions on how to use the I18N Plugin can be found on the [usage page](https://robtimus.github.io/i18n-maven-plugin/usage.html).
### Examples
* [Specify a custom class name](https://robtimus.github.io/i18n-maven-plugin/examples/custom-class-name.html)
* [Add a license](https://robtimus.github.io/i18n-maven-plugin/examples/license.html)
* [Make generated classes package-private](https://robtimus.github.io/i18n-maven-plugin/examples/package-private.html)
* [Suppress warnings](https://robtimus.github.io/i18n-maven-plugin/examples/suppress-warnings.html)
* [Use MessageFormat for formatting messages](https://robtimus.github.io/i18n-maven-plugin/examples/use-message-format.html)