-
Notifications
You must be signed in to change notification settings - Fork 1
08 Contributing
github-actions[bot] edited this page Nov 13, 2024
·
1 revision
We use a Git merge-based workflow. To get started, please refer to the Git Pull Request Model document.
- To maintain consistent code quality, we use the Maven Checkstyle plugin. Learn more about it here.
- For code inspection and defect analysis, we use the PMD plugin to enforce best practices and remove common coding issues. More information is available here.
- Generate PMD, Checkstyle, and Copy/Paste Detector (CPD) reports by running:
Reports will be generated in the
mvn checkstyle:checkstyle pmd:pmd pmd:cpd
./target/site
folder. - To expedite Checkstyle issue resolution, install one of the following IDE plugins (for IntelliJ):
The git commit
command is used to save staged changes in the local repository.
To stage files:
git add <file>
To commit changes:
git commit -m "<subject>" -m "<description>"
- Keep the subject to 50 characters or less.
- Use imperative tone (e.g.,
Change query
instead ofChanges made in the query
orChanged the query
) to improve clarity and consistency. - Use a short tag at the beginning to indicate the purpose:
[feat, fix, style, refactor, test, docs, chore]
.
- Provide a clear and concise description, ideally no more than 72 characters.
- End punctuation is optional.
- Reference issues or pull requests when applicable.