Skip to content

Commit a04d014

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Update server-id for the migration from maven-deploy-plugin to central-publishing-maven-plugin:
- `maven-deploy-plugin` at least used to look for `sonatype-nexus-snapshots` (probably based on [configuration I removed last week](https://github.com/google/truth/pull/1586/files)). - `central-publishing-maven-plugin` looks for `central`, even for snapshots. See google/auto#1965 (comment). RELNOTES=n/a PiperOrigin-RevId: 807794922
1 parent fc57e07 commit a04d014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
java-version: 11
5454
distribution: 'zulu'
5555
cache: 'maven'
56-
server-id: sonatype-nexus-snapshots
56+
server-id: central
5757
server-username: CI_DEPLOY_USERNAME
5858
server-password: CI_DEPLOY_PASSWORD
5959
- name: 'Publish'

0 commit comments

Comments
 (0)