-
Notifications
You must be signed in to change notification settings - Fork 0
feat(docs): add maven central usage guide and contribution guide #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rubenhoenle
merged 2 commits into
main
from
feat/docs-add-contribution-guide-and-maven-central-usage-docs
Sep 9, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # Contribute to the STACKIT Java SDK | ||
|
|
||
| Your contribution is welcome! Thank you for your interest in contributing to the STACKIT Java SDK. | ||
| We greatly value your feedback, feature requests, additions to the code, bug reports or documentation extensions. | ||
|
|
||
| ## Table of contents | ||
|
|
||
| - [Developer Guide](#developer-guide) | ||
| - [Repository structure](#repository-structure) | ||
| - [Code Contributions](#code-contributions) | ||
| - [Bug Reports](#bug-reports) | ||
|
|
||
| ## Developer Guide | ||
|
|
||
| Building the STACKIT Java SDK requires: | ||
| 1. Java SDK (version 11 to 21 should be supported) installed on your system | ||
|
|
||
| In case you want to open the project in your preferred IDE, run `./gradlew idea` or `./gradlew eclipse` beforehand. | ||
|
|
||
| #### Useful Make commands | ||
|
|
||
| These commands can be executed from the project root: | ||
|
|
||
| - `make fmt` or `./gradlew spotlessApply`: apply code format. | ||
| - `make test` or `./gradlew test`: run unit tests. | ||
|
|
||
| #### Installation | ||
|
|
||
| To install the API client library to your local Maven repository, simply execute: | ||
|
|
||
| ```bash | ||
| ./gradlew publishToMavenLocal | ||
| ``` | ||
|
|
||
| ### Repository structure | ||
|
|
||
| The STACKIT Java SDK service submodules are located under `services`. | ||
| The files located in `services/[service]` are automatically generated from the [REST API specs](https://github.com/stackitcloud/stackit-api-specifications), whereas the ones located in subfolders (like `wait`) are manually maintained. Therefore, changes to files located in `services/[service]` will not be accepted. Instead, consider proposing changes to the generation process in the [Generator repository](https://github.com/stackitcloud/stackit-sdk-generator). | ||
|
|
||
| Inside the `core` submodule you can find several classes that are used by all service modules. Examples of usage of the SDK are located in the `examples` directory. | ||
|
|
||
| ## Code Contributions | ||
|
|
||
| To make your contribution, follow these steps: | ||
|
|
||
| 1. Check open or recently closed [Pull Requests](https://github.com/stackitcloud/stackit-sdk-java/pulls) and [Issues](https://github.com/stackitcloud/stackit-sdk-java/issues) to make sure the contribution you are making has not been already tackled by someone else. | ||
| 2. Fork the repo. | ||
| 3. Make your changes in a branch that is up-to-date with the original repo's `main` branch. | ||
| 4. Commit your changes including a descriptive message. | ||
| 5. Create a pull request with your changes. | ||
| 6. The pull request will be reviewed by the repo maintainers. If you need to make further changes, make additional commits to keep commit history. When the PR is merged, commits will be squashed. | ||
|
|
||
| ## Bug Reports | ||
|
|
||
| If you would like to report a bug, please open a [GitHub issue](https://github.com/stackitcloud/stackit-sdk-java/issues/new). | ||
|
|
||
| To ensure we can provide the best support to your issue, follow these guidelines: | ||
|
|
||
| 1. Go through the existing issues to check if your issue has already been reported. | ||
| 2. Make sure you are using the latest version of the SDK modules, we will not provide bug fixes for older versions. Also, latest versions may have the fix for your bug. | ||
| 3. Please provide as much information as you can about your environment, e.g. your version of Java, your version of the SDK modules, which operating system you are using and the corresponding version. | ||
| 4. Include in your issue the steps to reproduce it, along with code snippets and/or information about your specific use case. This will make the support process much easier and efficient. | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.