We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fdd60f commit 6c38a97Copy full SHA for 6c38a97
.github/workflows/maven-publish-ossrh.yml
@@ -15,12 +15,12 @@ jobs:
15
with:
16
java-version: '21'
17
distribution: 'corretto'
18
- server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
+ server-id: central # Value of the distributionManagement/repository/id field of the pom.xml
19
server-username: MAVEN_USERNAME
20
server-password: MAVEN_PASSWORD
21
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
22
gpg-passphrase: MAVEN_GPG_PASSPHRASE
23
- - name: Publish to OSSRH
+ - name: Publish to Central
24
run: mvn --batch-mode deploy -Prelease
25
env:
26
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
0 commit comments