File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 37
37
distribution : ' temurin'
38
38
java-version : ${{ matrix.java_version }}
39
39
cache : ' maven'
40
- server-id : sonatype-nexus -snapshots
40
+ server-id : central -snapshots
41
41
server-username : CI_DEPLOY_USERNAME
42
42
server-password : CI_DEPLOY_PASSWORD
43
43
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
56
56
- name : Deploy snapshot
57
57
if : ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
58
58
env :
59
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
60
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
59
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
60
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
61
61
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
62
62
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
63
63
- name : Generate code coverage
Original file line number Diff line number Diff line change @@ -63,10 +63,11 @@ com.fasterxml.jackson.core.*;version=${project.version}
63
63
<!-- Alas, need to include snapshot reference since otherwise can not find
64
64
snapshot of parent... -->
65
65
<repositories >
66
+ <!-- 26-May-2025, tatu: Using Sonatype Central Portal, will need this -->
66
67
<repository >
67
- <id >sonatype-nexus -snapshots</id >
68
- <name >Sonatype Nexus Snapshots </name >
69
- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
68
+ <id >central -snapshots</id >
69
+ <name >Sonatype Central Portal (snapshots) </name >
70
+ <url >https://central .sonatype.com/repository/maven- snapshots</url >
70
71
<releases ><enabled >false</enabled ></releases >
71
72
<snapshots ><enabled >true</enabled ></snapshots >
72
73
</repository >
You can’t perform that action at this time.
0 commit comments