Skip to content

Commit

Permalink
Disable looking up snapshot versions in public repositories (apache#9336
Browse files Browse the repository at this point in the history
)

- there isn't a need to lookup snapshots in public repositories
- this improves the Pulsar maven build since currently the build will attempt to lookup the snapshot versions of Pulsar modules from public repositories, for example:
Downloading from confluent: http://packages.confluent.io/maven/org/apache/pulsar/pulsar-client-original/2.8.0-SNAPSHOT/maven-metadata.xml
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-original/2.8.0-SNAPSHOT/maven-metadata.xml
...

Co-authored-by: Sijie Guo <[email protected]>
  • Loading branch information
lhotari and sijie authored Feb 14, 2021
1 parent 6be7e15 commit 71eeccc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1922,18 +1922,24 @@ flexible messaging model and an intuitive client API.</description>
<id>central</id>
<layout>default</layout>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>bintray-yahoo-maven</id>
<name>bintray</name>
<url>https://yahoo.bintray.com/maven</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>confluent</id>
<url>http://packages.confluent.io/maven/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

Expand Down

0 comments on commit 71eeccc

Please sign in to comment.