Skip to content

Commit 65c1dfb

Browse files
authored
prefer central repo for releases; limit apache-snapshots to snapshots (#94)
1 parent 17c94a8 commit 65c1dfb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,28 @@ under the License.
321321
<profile>
322322
<id>apache-build</id>
323323
<repositories>
324+
<repository>
325+
<id>central</id>
326+
<url>https://repo.maven.apache.org/maven2</url>
327+
<snapshots>
328+
<enabled>false</enabled>
329+
</snapshots>
330+
</repository>
324331
<repository>
325332
<id>apache-releases</id>
326333
<name>apache releases</name>
327334
<url>https://repository.apache.org/content/repositories/releases/</url>
335+
<snapshots>
336+
<enabled>false</enabled>
337+
</snapshots>
328338
</repository>
329339
<repository>
330340
<id>apache-snapshots</id>
331341
<name>apache snapshots</name>
332342
<url>https://repository.apache.org/content/repositories/snapshots/</url>
343+
<releases>
344+
<enabled>false</enabled>
345+
</releases>
333346
</repository>
334347
</repositories>
335348
</profile>

0 commit comments

Comments
 (0)