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