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 32
32
distribution : ' temurin'
33
33
java-version : ${{ matrix.java_version }}
34
34
cache : ' maven'
35
- server-id : sonatype-nexus- snapshots-new
35
+ server-id : central- snapshots
36
36
server-username : CI_DEPLOY_USERNAME
37
37
server-password : CI_DEPLOY_PASSWORD
38
38
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
46
46
- name : Deploy snapshot
47
47
if : ${{ matrix.release_build && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
48
48
env :
49
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
50
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
49
+ CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
50
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
51
51
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
52
52
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
53
53
- name : Generate code coverage
Original file line number Diff line number Diff line change 86
86
because "jackson-annotations" is published via "old"
87
87
-->
88
88
<repositories >
89
+ <!-- 13-May-2025, tatu: and now moving to Central Portal -->
89
90
<repository >
90
- <id >sonatype-nexus- snapshots-new </id >
91
- <name >Sonatype Nexus Snapshots (new )</name >
92
- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
91
+ <id >central- snapshots</id >
92
+ <name >Sonatype Central Portal (snapshots )</name >
93
+ <url >https://central. sonatype.com/repository/maven- snapshots</url >
93
94
<releases ><enabled >false</enabled ></releases >
94
95
<snapshots ><enabled >true</enabled ></snapshots >
95
96
</repository >
You can’t perform that action at this time.
0 commit comments