File tree 2 files changed +12
-4
lines changed 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 38
38
distribution : ' temurin'
39
39
java-version : ${{ matrix.java_version }}
40
40
cache : ' maven'
41
- server-id : sonatype-nexus- snapshots-new
41
+ server-id : central- snapshots
42
42
server-username : CI_DEPLOY_USERNAME
43
43
server-password : CI_DEPLOY_PASSWORD
44
44
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
57
57
- name : Deploy snapshot
58
58
if : ${{ matrix.release_build && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
59
59
env :
60
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
61
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
60
+ CI_DEPLOY_USERNAME : ${{ secrets.CENTRAL_DEPLOY_USERNAME }}
61
+ CI_DEPLOY_PASSWORD : ${{ secrets.CENTRAL_DEPLOY_PASSWORD }}
62
62
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
63
63
run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
64
64
- name : Generate code coverage
Original file line number Diff line number Diff line change @@ -66,13 +66,21 @@ tools.jackson.core.*;version=${project.version}
66
66
<!-- Alas, need to include snapshot reference since otherwise can not find
67
67
snapshot of parent... -->
68
68
<repositories >
69
+ <!-- 13-May-2025, tatu: and now moving to Central Portal -->
69
70
<repository >
71
+ <id >central-snapshots</id >
72
+ <name >Sonatype Central Portal (snapshots)</name >
73
+ <url >https://central.sonatype.com/repository/maven-snapshots</url >
74
+ <releases ><enabled >false</enabled ></releases >
75
+ <snapshots ><enabled >true</enabled ></snapshots >
76
+ </repository >
77
+ <!-- repository>
70
78
<id>sonatype-nexus-snapshots-new</id>
71
79
<name>Sonatype Nexus Snapshots (new)</name>
72
80
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
73
81
<releases><enabled>false</enabled></releases>
74
82
<snapshots><enabled>true</enabled></snapshots>
75
- </repository >
83
+ </repository -- >
76
84
</repositories >
77
85
78
86
<build >
You can’t perform that action at this time.
0 commit comments