Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 1.6 KB

File metadata and controls

81 lines (55 loc) · 1.6 KB

Contributing to i18n

Thank you for your interest in contributing! This guide covers how to build, test, and submit changes.

Prerequisites

  • Java 17 or later
  • Maven (included with Apache NetBeans, or install separately)

Building

mvn clean package

Running Tests

Classpath mode (default):

mvn test

Module mode:

mvn test -Ptest-modulepath

Release build (includes javadoc verification):

mvn -Prelease clean package javadoc:jar

All three must pass before submitting a pull request.

Code Style

The project follows these conventions:

  • Allman brace style — opening brace on its own line:

    if (condition)
    {
        doSomething();
    }
  • Apache License 2.0 header on every source file

  • Javadoc on all public and protected membersdoclint all must produce zero warnings

  • Yoda-style null checksnull == x rather than x == null

  • No wildcard imports — always use explicit imports

  • 4-space indentation, no tabs

Adding Dependencies

  • Keep Jackson on the 3.x line
  • Keep JUnit on the 6.x line
  • Check for the latest patch version of any dependency before submitting

Submitting Changes

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Ensure tests pass in both classpath and module mode
  5. Ensure javadoc builds with zero warnings
  6. Open a pull request

Reporting Issues

Please use GitHub Issues to report bugs or request features.

License

All contributions are licensed under the Apache License 2.0.