Skip to content

Commit f583546

Browse files
authored
Merge pull request #109 from FasterXML/tatu/2.16/ossrh-to-central
Try to fix 2.16 CI/snapshots
2 parents 78fc05f + 907e2d9 commit f583546

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,17 @@ permissions:
1313

1414
jobs:
1515
build:
16-
runs-on: ${{ matrix.os }}
16+
runs-on: 'ubuntu-latest'
1717
strategy:
1818
fail-fast: false
1919
matrix:
2020
java_version: ['8', '11', '17']
21-
os: ['ubuntu-20.04']
2221
env:
2322
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2423
steps:
25-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2625
- name: Set up JDK
27-
uses: actions/setup-java@v3
26+
uses: actions/setup-java@v4
2827
with:
2928
distribution: 'temurin'
3029
java-version: ${{ matrix.java_version }}

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,11 @@ of Jackson components maintained by FasterXML.com
440440
<!-- Alas, need to include snapshot reference since otherwise can not find
441441
snapshot of parent... -->
442442
<repositories>
443+
<!-- 13-May-2025, tatu: now access snapshots via Central Portal -->
443444
<repository>
444-
<id>sonatype-nexus-snapshots</id>
445-
<name>Sonatype Nexus Snapshots</name>
446-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
445+
<id>central-snapshots</id>
446+
<name>Sonatype Central Portal (snapshots)</name>
447+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
447448
<releases><enabled>false</enabled></releases>
448449
<snapshots><enabled>true</enabled></snapshots>
449450
</repository>

0 commit comments

Comments
 (0)