This is an automated email from the ASF dual-hosted git repository.
lingmiao pushed a commit to branch branch-0.13
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/branch-0.13 by this push:
new 350a7bf [Compile] Add pluginRepository for java-cup-plugins (#4636)
350a7bf is described below
commit 350a7bf11845c10f9dd4b26b27d48223a78a23c9
Author: Mingyu Chen <[email protected]>
AuthorDate: Mon Sep 21 12:38:28 2020 +0800
[Compile] Add pluginRepository for java-cup-plugins (#4636)
the cup-maven-plugin of net.sourceforge.czt.dev is missing in maven central
repo.
It has been moved to https://repository.cloudera.com/content/groups/public/
Co-authored-by: morningman <[email protected]>
---
docs/en/installing/compilation.md | 8 +++++---
docs/zh-CN/installing/compilation.md | 8 +++++---
fe/pom.xml | 6 +++++-
3 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/docs/en/installing/compilation.md
b/docs/en/installing/compilation.md
index 172a52f..0d4d2c7 100644
--- a/docs/en/installing/compilation.md
+++ b/docs/en/installing/compilation.md
@@ -56,10 +56,12 @@ Note: For different versions of Oris, you need to download
the corresponding mir
`$ docker run -it apachedoris/doris-dev:build-env`
- If you want to compile the local Doris source code, you can mount the
path:
+ It is recommended to run the container by mounting the local Doris source
directory, so that the compiled binary file will be stored in the host machine
and will not disappear because the container exits.
+
+ At the same time, it is recommended to mount the maven `.m2` directory in
the mirror to the host directory at the same time to prevent repeated
downloading of maven's dependent libraries each time the compilation is started.
```
- $ docker run -it -v
/your/local/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/
apachedoris/doris-dev:build-env
+ $ docker run -it -v /your/local/.m2:/root/.m2 -v
/your/local/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/
apachedoris/doris-dev:build-env
```
3. Download source code
@@ -123,4 +125,4 @@ WITH_MYSQL=1 WITH_LZO=1 sh build.sh
Note that when users rely on these two third-party libraries, Doris is not
used under the Apache License 2.0 by default. Please pay attention to the GPL
related agreements.
* [1] mysql-5.7.18
-* [2] lzo-2.10
\ No newline at end of file
+* [2] lzo-2.10
diff --git a/docs/zh-CN/installing/compilation.md
b/docs/zh-CN/installing/compilation.md
index 4dfc571..0df6b0e 100644
--- a/docs/zh-CN/installing/compilation.md
+++ b/docs/zh-CN/installing/compilation.md
@@ -56,10 +56,12 @@ under the License.
`$ docker run -it apachedoris/doris-dev:build-env`
- 如果你希望编译本地 Doris 源码,则可以挂载路径:
-
+ 建议以挂载本地 Doris 源码目录的方式运行镜像,这样编译的产出二进制文件会存储在宿主机中,不会因为镜像退出而消失。
+
+ 同时,建议同时将镜像中 maven 的 `.m2` 目录挂载到宿主机目录,以防止每次启动镜像编译时,重复下载 maven 的依赖库。
+
```
- $ docker run -it -v
/your/local/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/
apachedoris/doris-dev:build-env
+ $ docker run -it -v /your/local/.m2:/root/.m2 -v
/your/local/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/
apachedoris/doris-dev:build-env
```
3. 下载源码
diff --git a/fe/pom.xml b/fe/pom.xml
index 6ca26cb..cfe0c0a 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -99,11 +99,15 @@ under the License.
</repositories>
<pluginRepositories>
- <!-- for cup-maven-plugin -->
<pluginRepository>
<id>spring-plugins</id>
<url>https://repo.spring.io/plugins-release/</url>
</pluginRepository>
+ <!-- for cup-maven-plugin -->
+ <pluginRepository>
+ <id>cloudera-plugins</id>
+
<url>https://repository.cloudera.com/content/groups/public/</url>
+ </pluginRepository>
</pluginRepositories>
</profile>
</profiles>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]