Skip to content

Commit 3d1f94b

Browse files
committed
update snapshots repository
1 parent 93cb891 commit 3d1f94b

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: actions/setup-java@v4
4545
with:
4646
java-version: ${{ env.JDK_CURRENT }}
47-
server-id: sonatype-nexus-snapshots
47+
server-id: central-portal-snapshots
4848
server-username: MAVEN_USERNAME
4949
server-password: MAVEN_PASSWORD
5050
distribution: ${{ env.DISTRIBUTION }}

pom.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@
1616
<description>Security library for Spring Webflux based on pac4j</description>
1717
<url>https://github.com/pac4j/spring-webflux-pac4j</url>
1818

19+
<distributionManagement>
20+
<snapshotRepository>
21+
<name>Central Portal Snapshots</name>
22+
<id>central-portal-snapshots</id>
23+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
24+
</snapshotRepository>
25+
</distributionManagement>
26+
1927
<repositories>
2028
<repository>
21-
<id>sonatype-nexus-snapshots</id>
22-
<name>Sonatype Nexus Snapshots</name>
23-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
29+
<name>Central Portal Snapshots</name>
30+
<id>central-portal-snapshots</id>
31+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
2432
<releases>
2533
<enabled>false</enabled>
2634
</releases>

0 commit comments

Comments
 (0)