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 29
29
distribution : ' temurin'
30
30
java-version : ${{ matrix.java_version }}
31
31
cache : ' maven'
32
- server-id : sonatype-nexus -snapshots
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 : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
45
45
env :
46
- CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
47
- CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
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
50
50
- name : Generate code coverage
Original file line number Diff line number Diff line change 48
48
</dependency >
49
49
</dependencies >
50
50
51
- <!-- Alas, need to include snapshot reference since otherwise can not find
52
- snapshot of parent... -->
51
+ <!-- Need to include snapshot reference to find snapshot of parent -->
53
52
<repositories >
53
+ <!-- 13-May-2025, tatu: now access snapshots via Central Portal -->
54
54
<repository >
55
- <id >sonatype-nexus -snapshots</id >
56
- <name >Sonatype Nexus Snapshots </name >
57
- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
55
+ <id >central -snapshots</id >
56
+ <name >Sonatype Central Portal (snapshots) </name >
57
+ <url >https://central .sonatype.com/repository/maven- snapshots</url >
58
58
<releases ><enabled >false</enabled ></releases >
59
59
<snapshots ><enabled >true</enabled ></snapshots >
60
60
</repository >
You can’t perform that action at this time.
0 commit comments