Skip to content

Commit

Permalink
HDDS-11872. Disable Apache snapshots repo
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Dec 6, 2024
1 parent 8526f2e commit 4bb3513
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
12 changes: 0 additions & 12 deletions hadoop-hdds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<module>rocks-native</module>
</modules>

<repositories>
<repository>
<id>apache.snapshots.https</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots.https</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>

Expand Down
7 changes: 0 additions & 7 deletions hadoop-ozone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@
<module>s3-secret-store</module>
</modules>

<repositories>
<repository>
<id>apache.snapshots.https</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</repository>
</repositories>

<dependencyManagement>

<dependencies>
Expand Down
26 changes: 25 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,36 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs

<repositories>
<repository>
<id>${distMgmtSnapshotsId}</id>
<id>apache.snapshots</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>${distMgmtSnapshotsId}</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand Down

0 comments on commit 4bb3513

Please sign in to comment.