File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 27
27
distribution : ' temurin'
28
28
java-version : ${{ matrix.java_version }}
29
29
cache : ' maven'
30
- server-id : sonatype-nexus -snapshots
30
+ server-id : central -snapshots
31
31
server-username : CI_DEPLOY_USERNAME
32
32
server-password : CI_DEPLOY_PASSWORD
33
33
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
41
41
- name : Deploy snapshot
42
42
if : ${{ github.event_name != 'pull_request' && matrix.java_version == '11' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
43
43
env :
44
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
45
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
44
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
45
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
46
46
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
47
47
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
Original file line number Diff line number Diff line change @@ -136,17 +136,17 @@ https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injecti
136
136
</dependency >
137
137
</dependencies >
138
138
139
- <!-- Alas, need to include snapshot reference since otherwise can not find
140
- snapshot of parent... -->
139
+ <!-- Need to include snapshot reference to find snapshot of parent -->
141
140
<repositories >
141
+ <!-- 13-May-2025, tatu: now access snapshots via Central Portal -->
142
142
<repository >
143
- <id >sonatype-nexus -snapshots</id >
144
- <name >Sonatype Nexus Snapshots </name >
145
- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
143
+ <id >central -snapshots</id >
144
+ <name >Sonatype Central Portal (snapshots) </name >
145
+ <url >https://central .sonatype.com/repository/maven- snapshots</url >
146
146
<releases ><enabled >false</enabled ></releases >
147
147
<snapshots ><enabled >true</enabled ></snapshots >
148
148
</repository >
149
- </repositories >
149
+ </repositories >
150
150
151
151
<build >
152
152
<pluginManagement >
You can’t perform that action at this time.
0 commit comments