Skip to content

Commit 24ec79a

Browse files
WeltraumschafZero3141
authored andcommitted
#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>
1 parent 0577e93 commit 24ec79a

5 files changed

+1
-21
lines changed

docs/release.md

+1-21
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ Here we describe all the ceremonial stuff necessary to publish a Java library to
44

55
## How to Perform a Release
66

7-
The release process consists of two main tasks:
7+
The release process consists of one main tasks:
88

99
1. Build the release on GitHub
10-
2. Release the published artifacts on Maven Central.
1110

1211
### Build the Release on GitHub
1312

@@ -22,25 +21,6 @@ The release process consists of two main tasks:
2221
- or else "Set as the latest release"
2322
5. Click "Publish release"
2423

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-
![](./release_staging_1.png)
33-
4. Select the release (in the "Content" tab you can verify the files contained in the release):<br>
34-
![](./release_staging_2.png)
35-
5. Close the repository (this triggers the validation of [requirements][ossrh-requirements]):<br>
36-
![](./release_staging_3.png)
37-
6. You can see if all validation rules passed in the "Activity" tab:<br>
38-
![](./release_staging_4.png)
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-
4424
After the first release a [bot created the Maven Central sync][ossrh-jira-issue]:
4525

4626
> 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.

docs/release_staging_1.png

-22.5 KB
Binary file not shown.

docs/release_staging_2.png

-67.1 KB
Binary file not shown.

docs/release_staging_3.png

-25.6 KB
Binary file not shown.

docs/release_staging_4.png

-86.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)