Minor POM fix to ensure Maven central is only contacted once (id MUST be "central") & never for snapshots

This commit is contained in:
Tim Donohue
2024-01-11 15:06:14 -06:00
parent 48d3b7fb56
commit 20e8b0f146

View File

@@ -1909,8 +1909,11 @@
<repositories>
<!-- Check Maven Central first (before other repos below) -->
<repository>
<id>maven-central</id>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Enable access to artifacts in Sonatype's snapshot repo for Snapshots ONLY -->
<repository>
@@ -1928,6 +1931,9 @@
<repository>
<id>handle.net</id>
<url>https://handle.net/maven</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>