Skip to content

Commit b90b5ee

Browse files
use different server id for snapshots
1 parent c513947 commit b90b5ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,12 @@ limitations under the License.
314314
<distributionManagement>
315315
<repository>
316316
<id>sonatype-central-portal</id>
317+
<name>Sonatype Central Portal</name>
317318
<url>https://repo.maven.apache.org/maven2</url>
318319
</repository>
319320
<snapshotRepository>
320-
<id>sonatype-central-portal</id>
321+
<id>${plexusDistMgmtSnapshotsId}</id>
322+
<name>${plexusDistMgmtSnapshotsName}</name>
321323
<url>${plexusDistMgmtSnapshotsUrl}</url>
322324
</snapshotRepository>
323325
<!-- site distribution management must be override in child projects -->
@@ -338,7 +340,12 @@ limitations under the License.
338340
<maven.compiler.proc>none</maven.compiler.proc>
339341
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
340342
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
343+
344+
345+
<plexusDistMgmtSnapshotsId>sonatype-central-snapshots</plexusDistMgmtSnapshotsId>
346+
<plexusDistMgmtSnapshotsName>Sonatype Central Snapshots</plexusDistMgmtSnapshotsName>
341347
<plexusDistMgmtSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots</plexusDistMgmtSnapshotsUrl>
348+
342349
<project.build.outputTimestamp>2025-05-23T18:11:49Z</project.build.outputTimestamp>
343350
<gpg.useagent>true</gpg.useagent>
344351
<spotless-maven-plugin.version>2.44.4</spotless-maven-plugin.version>

0 commit comments

Comments
 (0)