Skip to content

Commit 001c2dd

Browse files
committed
Disable snapshot artifacts for Google Mirror
1 parent c9a63d0 commit 001c2dd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/mvn-settings.xml

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<settings>
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
23
<profiles>
34
<profile>
45
<id>google-mirror</id>
@@ -7,13 +8,25 @@
78
<id>google-maven-central</id>
89
<name>GCS Maven Central mirror</name>
910
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
11+
<releases>
12+
<enabled>true</enabled>
13+
</releases>
14+
<snapshots>
15+
<enabled>false</enabled>
16+
</snapshots>
1017
</repository>
1118
</repositories>
1219
<pluginRepositories>
1320
<pluginRepository>
1421
<id>google-maven-central</id>
1522
<name>GCS Maven Central mirror</name>
1623
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
24+
<releases>
25+
<enabled>true</enabled>
26+
</releases>
27+
<snapshots>
28+
<enabled>false</enabled>
29+
</snapshots>
1730
</pluginRepository>
1831
</pluginRepositories>
1932
</profile>

0 commit comments

Comments
 (0)