File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2929 distribution : ' temurin'
3030 java-version : ${{ matrix.java_version }}
3131 cache : ' maven'
32- server-id : sonatype-nexus -snapshots
32+ server-id : central -snapshots
3333 server-username : CI_DEPLOY_USERNAME
3434 server-password : CI_DEPLOY_PASSWORD
3535 # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
4343 - name : Deploy snapshot
4444 if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
4545 env :
46- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
47- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
46+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
47+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
4848 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4949 run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
5050 - name : Generate code coverage
Original file line number Diff line number Diff line change 7070 </dependency >
7171 </dependencies >
7272
73- <!-- Alas, need to include snapshot reference since otherwise can not find
74- snapshot of parent... -->
73+ <!-- Need to include snapshot reference to find snapshot of parent -->
7574 <repositories >
75+ <!-- 13-May-2025, tatu: now access snapshots via Central Portal -->
7676 <repository >
77- <id >sonatype-nexus -snapshots</id >
78- <name >Sonatype Nexus Snapshots </name >
79- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
77+ <id >central -snapshots</id >
78+ <name >Sonatype Central Portal (snapshots) </name >
79+ <url >https://central .sonatype.com/repository/maven- snapshots</url >
8080 <releases ><enabled >false</enabled ></releases >
8181 <snapshots ><enabled >true</enabled ></snapshots >
8282 </repository >
You can’t perform that action at this time.
0 commit comments