Skip to content

Commit 0a68347

Browse files
author
Jacek Gębal
committed
Fixing issue with maven snapshot builds after recent changes to maven version on github.
1 parent 12d24f2 commit 0a68347

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
java-version: '21'
5151
distribution: 'temurin'
52-
server-id: central
52+
server-id: central-snapshots
5353
server-username: MAVEN_USERNAME
5454
server-password: MAVEN_PASSWORD
5555
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

‎pom.xml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,8 @@
305305

306306
<distributionManagement>
307307
<snapshotRepository>
308-
<id>central</id>
308+
<id>central-snapshots</id>
309309
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
310310
</snapshotRepository>
311-
<repository>
312-
<id>central</id>
313-
<url>https://central.sonatype.com</url>
314-
</repository>
315311
</distributionManagement>
316312
</project>

0 commit comments

Comments
 (0)