Skip to content

Commit

Permalink
[pom] Comment the repositories tag in pom.xml to speed up maven build (
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper authored Apr 17, 2023
1 parent a0a3c65 commit 9d0ff16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -939,4 +945,5 @@ under the License.
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</repository>
</repositories>
-->
</project>

0 comments on commit 9d0ff16

Please sign in to comment.