Skip to content

Commit

Permalink
override both apache.snapshots and apache.snapshots.https
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Dec 9, 2024
1 parent 04bdb18 commit 71275c1
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<repositories>
<repository>
<id>apache.snapshots</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
Expand All @@ -56,13 +55,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
<repository>
<id>apache.snapshots.https</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
Expand All @@ -71,8 +66,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</repository>
</repositories>

<licenses>
<license>
Expand Down

0 comments on commit 71275c1

Please sign in to comment.