File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 3636 distribution : ' temurin'
3737 java-version : ${{ matrix.java_version }}
3838 cache : ' maven'
39- server-id : sonatype-nexus- snapshots-new
39+ server-id : central- snapshots
4040 server-username : CI_DEPLOY_USERNAME
4141 server-password : CI_DEPLOY_PASSWORD
4242 # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-
5555 - name : Deploy snapshot
5656 if : ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5757 env :
58- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
59- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
58+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
59+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
6060 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6161 run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
Original file line number Diff line number Diff line change 279279 <!-- Alas, need to include snapshot reference since otherwise can not find
280280 snapshot of parent... -->
281281 <repositories >
282+ <!-- 13-May-2025, tatu: and now moving to Central Portal -->
282283 <repository >
283- <id >sonatype-nexus- snapshots-new </id >
284- <name >Sonatype Nexus Snapshots (new )</name >
285- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
284+ <id >central- snapshots</id >
285+ <name >Sonatype Central Portal (snapshots )</name >
286+ <url >https://central. sonatype.com/repository/maven- snapshots</url >
286287 <releases ><enabled >false</enabled ></releases >
287288 <snapshots ><enabled >true</enabled ></snapshots >
288289 </repository >
You can’t perform that action at this time.
0 commit comments