You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/java/README.mustache
+30-55Lines changed: 30 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
-
# {{artifactId}}
2
-
3
-
{{appName}}
1
+
# STACKIT Java SDK for {{appName}}
4
2
5
3
- API version: {{appVersion}}
6
4
@@ -12,28 +10,9 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
12
10
13
11
This package is part of the STACKIT Java SDK. For additional information, please visit the [GitHub repository](https://{{gitHost}}/{{{gitUserId}}}/{{{gitRepoId}}}) of the SDK.
14
12
13
+
## Installation from Maven Central (recommended)
15
14
16
-
## Requirements
17
-
18
-
Building the API client library requires:
19
-
1. Java SDK (version 11 to 21 should be supported) installed on your system
20
-
21
-
## Installation
22
-
23
-
To install the API client library to your local Maven repository, simply execute:
24
-
25
-
```shell
26
-
./gradlew publishToMavenLocal
27
-
```
28
-
29
-
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
30
-
31
-
```shell
32
-
# TODO: follow up story
33
-
# ./gradlew publishToMavenCentral
34
-
```
35
-
36
-
Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
15
+
The release artifacts for this SDK submodule are available on [Maven Central](https://central.sonatype.com/artifact/{{groupId}}/{{artifactId}}).
37
16
38
17
### Maven users
39
18
@@ -54,59 +33,55 @@ Add this dependency to your project's build file:
54
33
55
34
```groovy
56
35
repositories {
57
-
mavenCentral() // Needed if the '{{{artifactId}}}' jar has been published to maven central.
58
-
mavenLocal() // Needed if the '{{{artifactId}}}' jar has been published to the local maven repo.
0 commit comments