You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by pi...@apache.org on 2021/02/18 01:19:46 UTC
[submarine] branch master updated: SUBMARINE-736. Use Maven Wrapper
to avoid dependencies problem about Maven version
This is an automated email from the ASF dual-hosted git repository.
pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git
The following commit(s) were added to refs/heads/master by this push:
new 3270361 SUBMARINE-736. Use Maven Wrapper to avoid dependencies problem about Maven version
3270361 is described below
commit 32703611fc3be861d48343b15eb697f1afa4d79e
Author: Kai-Hsun Chen <b0...@ntu.edu.tw>
AuthorDate: Sat Feb 13 14:36:48 2021 +0800
SUBMARINE-736. Use Maven Wrapper to avoid dependencies problem about Maven version
### What is this PR for?
Use Maven Wrapper to avoid dependencies problem about Maven version
### What type of PR is it?
[Improvement]
### Todos
### What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-736
### How should this be tested?
* Use Maven Wrapper to build Submarine
```
# Setup Maven Wrapper (Maven 3.6.1)
mvn -N io.takari:maven:0.7.7:wrapper -Dmaven=3.6.1
# Check Maven Wrapper
./mvnw -version
# Replace 'mvn' with 'mvnw'. Example:
./mvnw clean package -DskipTests
```
### Screenshots (if appropriate)
<img width="599" alt="ζͺε 2021-02-13 δΈε2 40 52" src="https://user-images.githubusercontent.com/20109646/107843862-82041a00-6e09-11eb-8b70-3075bff588d1.png">
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Kai-Hsun Chen <b0...@ntu.edu.tw>
Signed-off-by: Kevin <pi...@apache.org>
Closes #512 from kevin85421/SUBMARINE-736 and squashes the following commits:
b13b45bb [Kai-Hsun Chen] SUBMARINE-736. Use Maven Wrapper to avoid dependencies problem about Maven version
---
website/docs/devDocs/BuildFromCode.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/website/docs/devDocs/BuildFromCode.md b/website/docs/devDocs/BuildFromCode.md
index 1529b1e..f9eb0aa 100644
--- a/website/docs/devDocs/BuildFromCode.md
+++ b/website/docs/devDocs/BuildFromCode.md
@@ -91,6 +91,19 @@ mvn clean package -DskipTests -Phadoop-3.2
mvn clean package -DskipTests -Psrc
```
+### Building source code / binary distribution with Maven Wrapper
++ Maven Wrapper (Optional): Maven Wrapper can help you avoid dependencies problem about Maven version.
+```
+# Setup Maven Wrapper (Maven 3.6.1)
+mvn -N io.takari:maven:0.7.7:wrapper -Dmaven=3.6.1
+
+# Check Maven Wrapper
+./mvnw -version
+
+# Replace 'mvn' with 'mvnw'. Example:
+./mvnw clean package -DskipTests
+```
+
## TonY code modification
If it is needed to make modifications to TonY project, please make a PR
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org