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

czweng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d0ff1638 [pom] Comment the repositories tag in pom.xml to speed up 
maven build (#927)
9d0ff1638 is described below

commit 9d0ff163895448caf070db1a544f2519e9637d9c
Author: tsreaper <[email protected]>
AuthorDate: Mon Apr 17 20:54:45 2023 +0800

    [pom] Comment the repositories tag in pom.xml to speed up maven build (#927)
---
 README.md | 2 ++
 pom.xml   | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 22ceba8c2..b19d1b5f0 100644
--- a/README.md
+++ b/README.md
@@ -74,6 +74,8 @@ JDK 8/11 is required for building the project.
 - Run the `mvn spotless:apply` to format the project (both Java and Scala).
 - IDE: Mark `paimon-common/target/generated-sources/antlr4` as Sources Root.
 
+If you fail to download paimon-bundle snapshot files during the build, it is 
likely that your maven settings file does not include a snapshot repository. 
Uncomment the "repositories" tag in [pom.xml](pom.xml) file for a workaround.
+
 ## License
 
 The code in this repository is licensed under the [Apache Software License 
2](LICENSE).
diff --git a/pom.xml b/pom.xml
index dd0117120..263d87d1d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -927,6 +927,12 @@ under the License.
         </pluginManagement>
     </build>
 
+    <!--
+    Uncomment the following "repositories" tag if your maven fails to download 
paimon-bundle snapshot files.
+    We comment these tags by default because downloading from apache 
repositories is very slow for both github and developers.
+    -->
+
+    <!--
     <repositories>
         <repository>
             <id>apache-releases</id>
@@ -939,4 +945,5 @@ under the License.
             
<url>https://repository.apache.org/content/repositories/snapshots/</url>
         </repository>
     </repositories>
+    -->
 </project>

Reply via email to