mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Minor POM fix to ensure Maven central is only contacted once (id MUST be "central") & never for snapshots
This commit is contained in:
8
pom.xml
8
pom.xml
@@ -1909,8 +1909,11 @@
|
|||||||
<repositories>
|
<repositories>
|
||||||
<!-- Check Maven Central first (before other repos below) -->
|
<!-- Check Maven Central first (before other repos below) -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven-central</id>
|
<id>central</id>
|
||||||
<url>https://repo.maven.apache.org/maven2</url>
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
<!-- Enable access to artifacts in Sonatype's snapshot repo for Snapshots ONLY -->
|
<!-- Enable access to artifacts in Sonatype's snapshot repo for Snapshots ONLY -->
|
||||||
<repository>
|
<repository>
|
||||||
@@ -1928,6 +1931,9 @@
|
|||||||
<repository>
|
<repository>
|
||||||
<id>handle.net</id>
|
<id>handle.net</id>
|
||||||
<url>https://handle.net/maven</url>
|
<url>https://handle.net/maven</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
</project>
|
</project>
|
||||||
|
Reference in New Issue
Block a user