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 30
30
distribution : ' temurin'
31
31
java-version : ${{ matrix.java_version }}
32
32
cache : ' maven'
33
- server-id : sonatype-nexus -snapshots
33
+ server-id : central -snapshots
34
34
server-username : CI_DEPLOY_USERNAME
35
35
server-password : CI_DEPLOY_PASSWORD
36
36
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
44
44
- name : Deploy snapshot
45
45
if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
46
46
env :
47
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
48
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
47
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
48
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
49
49
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
50
50
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
51
51
- name : Generate code coverage
Original file line number Diff line number Diff line change @@ -198,13 +198,13 @@ alternative support for serializing POJOs as XML and deserializing XML as pojos.
198
198
</plugins >
199
199
</build >
200
200
201
- <!-- Alas, need to include snapshot reference since otherwise can not find
202
- snapshot of parent... -->
201
+ <!-- Need to include snapshot reference to find snapshot of parent -->
203
202
<repositories >
203
+ <!-- 13-May-2025, tatu: now access snapshots via Central Portal -->
204
204
<repository >
205
- <id >sonatype-nexus -snapshots</id >
206
- <name >Sonatype Nexus Snapshots </name >
207
- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
205
+ <id >central -snapshots</id >
206
+ <name >Sonatype Central Portal (snapshots) </name >
207
+ <url >https://central .sonatype.com/repository/maven- snapshots</url >
208
208
<releases ><enabled >false</enabled ></releases >
209
209
<snapshots ><enabled >true</enabled ></snapshots >
210
210
</repository >
You can’t perform that action at this time.
0 commit comments