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 29
29
distribution : ' temurin'
30
30
java-version : ${{ matrix.java_version }}
31
31
cache : ' maven'
32
- server-id : sonatype-nexus- snapshots-new
32
+ server-id : central- snapshots
33
33
server-username : CI_DEPLOY_USERNAME
34
34
server-password : CI_DEPLOY_PASSWORD
35
35
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
43
43
- name : Deploy snapshot
44
44
if : ${{ matrix.snapshot && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
45
45
env :
46
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
47
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
46
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
47
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
48
48
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
49
49
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
Original file line number Diff line number Diff line change @@ -140,10 +140,11 @@ https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injecti
140
140
because "jackson-annotations" is published via "old"
141
141
-->
142
142
<repositories >
143
+ <!-- 13-May-2025, tatu: and now moving to Central Portal -->
143
144
<repository >
144
- <id >sonatype-nexus- snapshots-new </id >
145
- <name >Sonatype Nexus Snapshots (new )</name >
146
- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
145
+ <id >central- snapshots</id >
146
+ <name >Sonatype Central Portal (snapshots )</name >
147
+ <url >https://central. sonatype.com/repository/maven- snapshots</url >
147
148
<releases ><enabled >false</enabled ></releases >
148
149
<snapshots ><enabled >true</enabled ></snapshots >
149
150
</repository >
You can’t perform that action at this time.
0 commit comments