Skip to content

Commit a667872

Browse files
committed
Updating JReleaser for OSSRH sunset
1 parent bf9c756 commit a667872

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ jobs:
135135
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
136136
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
137137
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
138-
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_DEPLOY_MAVEN_NEXUS2_USERNAME }}
139-
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_DEPLOY_MAVEN_NEXUS2_PASSWORD }}
138+
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVENCENTRAL_USERNAME }}
139+
JRELEASER_MAVENCENTRAL_TOKEN: ${{ secrets.JRELEASER_MAVENCENTRAL_TOKEN }}
140140
# Upload JRelease debug log
141141
- name: JReleaser output
142142
uses: actions/upload-artifact@v4

jreleaser.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ project:
88
- Matt Coley
99
license: MIT
1010
inceptionYear: 2022
11-
stereotype: none
12-
java:
13-
version: 22
14-
groupId: software.coley
15-
artifactId: lljzip
11+
languages:
12+
java:
13+
version: 22
14+
groupId: software.coley
15+
artifactId: lljzip
1616

1717
release:
1818
github:
@@ -39,14 +39,13 @@ signing:
3939
checksums: true
4040
files: false
4141

42+
4243
deploy:
4344
maven:
44-
nexus2:
45-
maven-central:
45+
mavenCentral:
46+
sonatype:
47+
url: https://central.sonatype.com/api/v1/publisher
4648
active: RELEASE
47-
url: https://s01.oss.sonatype.org/service/local
4849
applyMavenCentralRules: true
4950
stagingRepositories:
50-
- target/staging-deploy
51-
closeRepository: true
52-
releaseRepository: true
51+
- target/staging-deploy

0 commit comments

Comments
 (0)