We love contributions! Feel free to contribute in any way you like: docs, suggestions, features, fixes tests!
To make both your and our life easier here are some tips:
To make sure that regardless of IDE/editor everyone uses the same settings we use editorconfig
.
Just make sure that you have the editorconfig
plugin for your editor installed.
- use the
editorconfig
- on the root level
mvn package
which also generates all sources and domains - add
target/generated-sources/annotations
as source in all projects where theio.dekorate.application.config
domain classes are needed (e.g. all annotation projects, some test projects etc)
Keep your pull requests as small as possible. Please, avoid combining code with indentation changes.
Please use semantic commit messages.
- All pull requests must contain unit tests so don't forget to include tests in your pull requests. The unit tests should be added in the corresponding
src/test
folder of the modified module. - When fixing an issue a test case should be added in the tests folder. Navigate to the
tests
folder and add a new folder named as follows:feat/issue-github_issue_number-issue_description
, then add the code inside it. - Check if some of the examples should be modified.
- Also don't forget the documentation (reference documentation, javadoc...).
- IntelliJ fails to compile dekorate with
Cannot resolve method 'withName(java.lang.String)'
and this kind of errors. In order to get dekorate built on IntelliJ you need to manually add generated sources as module sources.