You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2021/02/14 19:55:10 UTC

[pulsar] branch master updated: Disable looking up snapshot versions in public repositories (#9336)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 71eeccc  Disable looking up snapshot versions in public repositories (#9336)
71eeccc is described below

commit 71eeccc2f9d5abd4f90224518c20c9f41eb62273
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Sun Feb 14 21:54:44 2021 +0200

    Disable looking up snapshot versions in public repositories (#9336)
    
    - 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 <si...@apache.org>
---
 pom.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index b7a3920..e00c862 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>