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
#53 Remove the description ofMAven Central staging
Since we use MAven instead ofGradle, this manual step is not
necessary anymore. TheMaven release plugin does the whole staging
proces automatically.
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
Copy file name to clipboardexpand all lines: docs/release.md
+1-21
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@ Here we describe all the ceremonial stuff necessary to publish a Java library to
4
4
5
5
## How to Perform a Release
6
6
7
-
The release process consists of two main tasks:
7
+
The release process consists of one main tasks:
8
8
9
9
1. Build the release on GitHub
10
-
2. Release the published artifacts on Maven Central.
11
10
12
11
### Build the Release on GitHub
13
12
@@ -22,25 +21,6 @@ The release process consists of two main tasks:
22
21
- or else "Set as the latest release"
23
22
5. Click "Publish release"
24
23
25
-
### Release the published artifacts on Maven Central.
26
-
27
-
Hint: You need to hit the "Refresh" button from time to ime, to see changes.
28
-
29
-
1. Login to the [Nexus Repository Manager](https://oss.sonatype.org/).
30
-
2. On the left site navigate to "Staging Repositories"
31
-
3. You will see an entry for each unpublished release (usually there is only one):<br>
32
-

33
-
4. Select the release (in the "Content" tab you can verify the files contained in the release):<br>
34
-

35
-
5. Close the repository (this triggers the validation of [requirements][ossrh-requirements]):<br>
36
-

37
-
6. You can see if all validation rules passed in the "Activity" tab:<br>
38
-

39
-
7. Then either click "Release" or "Drop":
40
-
- Release: This will publish and sync the artifact to Maven Central. (This can't be undone, there is no way to delete a published artifact!). After syncing the staging repo is dropped automatically.
41
-
- Drop: Does not publish the artifact. Use this if something is broken and ypu want to publish a new release with the same version.
42
-
8. After some time (see below) you can find it on Maven Central: <https://central.sonatype.com/artifact/io.securecodebox/defectdojo-client/>
43
-
44
24
After the first release a [bot created the Maven Central sync][ossrh-jira-issue]:
45
25
46
26
> Central sync is activated for io.securecodebox. After you successfully release, your component will be available to the public on Central https://repo1.maven.org/maven2/, typically within 30 minutes, though updates to https://search.maven.org can take up to four hours.
0 commit comments