Skip to content

Commit

Permalink
prefer central repo for releases; limit apache-snapshots to snapshots (
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Dec 17, 2024
1 parent 17c94a8 commit 65c1dfb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -321,15 +321,28 @@ under the License.
<profile>
<id>apache-build</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>apache-releases</id>
<name>apache releases</name>
<url>https://repository.apache.org/content/repositories/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>apache-snapshots</id>
<name>apache snapshots</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
Expand Down

0 comments on commit 65c1dfb

Please sign in to comment.